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.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.24.0
    • Fix Version/s: 0.23.2
    • Component/s: build
    • Labels:
    • Target Version/s:
    • Tags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: