Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-355

Maven Import of Olingo 4.0. code in Eclipse Kepler fails using M2E plugin fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • (Java) V4 4.0.0-beta-01
    • (Java) V4 4.0.0-beta-01
    • odata4-server
    • Eclipse Kepler
      M2E plugin antlr connector version 0.5
      Windows

    Description

      following are the steps observed
      1. Git clone
      2. Use eclipse "Import Maven project feature" with Lifecycle mapping added as below
      <pluginExecution>
      <pluginExecutionFilter>
      <groupId>org.antlr</groupId>
      <artifactId>antlr4-maven-plugin</artifactId>
      <goals>
      <goal>antlr4</goal>
      </goals>
      <versionRange>[4.1,)</versionRange>
      </pluginExecutionFilter>
      <action>
      <execute>
      <runOnIncremental>false</runOnIncremental>
      </execute>
      </action>
      </pluginExecution>
      3. Eclipse import is successfull. But we see compilation issues in classes
      eg org.apache.olingo.server.core.uri.parser.Parser
      4. It appears antlr code has been generated but not added to Build path leading to compilation errors.

      Attachments

        Activity

          People

            mirbo mibo
            vikram.pancholi Vikram Pancholi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified