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 "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2012/02/22 21:39:48 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13213989#comment-13213989 ] 

Hudson commented on HADOOP-7660:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1837 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1837/])
    HADOOP-7660 Maven generated .classpath doesnot includes "target/generated-test-source/java" as source directory. (Laxman via bobby) (Revision 1292483)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1292483
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml

                
> 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