You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Robert Joseph Evans (Updated) (JIRA)" <ji...@apache.org> on 2012/02/22 21:03:54 UTC
[jira] [Updated] (HADOOP-7660) Maven generated .classpath doesnot
includes "target/generated-test-source/java" as source directory.
[ https://issues.apache.org/jira/browse/HADOOP-7660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Joseph Evans updated HADOOP-7660:
----------------------------------------
Resolution: Fixed
Fix Version/s: (was: 0.24.0)
(was: HA Branch (HDFS-1623))
0.23.2
Status: Resolved (was: Patch Available)
+1 I tested this and it works great. I just committed this to trunk and branch-0.23. It should get pulled into HA, as they pull from trunk regularly.
> Maven generated .classpath doesnot includes "target/generated-test-source/java" as source directory.
> ----------------------------------------------------------------------------------------------------
>
> Key: HADOOP-7660
> URL: https://issues.apache.org/jira/browse/HADOOP-7660
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.24.0
> Reporter: Laxman
> Priority: Minor
> Labels: eclipse, maven
> Fix For: 0.23.2
>
> Attachments: HADOOP-7660.patch
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira