Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7660

Maven generated .classpath doesnot includes "target/generated-test-source/java" as source directory.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.24.0
    • 0.23.2
    • build
    • maven, eclipse

    Description

      I can see lot of compilation issues after setting up my development environment using "mvn eclipse:eclipse". All these compilation issues are resolved after adding "target/generated-test-sources" as a source folder to the common project.

      When verified the "pom.xml", it's noticed that these are included under "generate-test-sources" phase. This seems to be a problem occurred because of incorrect understanding/usage of "build-helper-maven-plugin" in Common project.

      All these compilation issues are resolved after changing the phase to "generate-sources".

      I found similar issue here.
      https://issues.sonatype.org/browse/MNGECLIPSE-2387

      Attachments

        1. HADOOP-7660.patch
          0.5 kB
          Laxman

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lakshman Laxman
            lakshman Laxman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment