hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7660) Maven generated .classpath doesnot includes "target/generated-test-source/java" as source directory.
Date Tue, 20 Sep 2011 16:38:08 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108817#comment-13108817
] 

Alejandro Abdelnur commented on HADOOP-7660:
--------------------------------------------

Would you try Bobby's approach first?


bq. It said that we can manually add in the target/generated-test-source/java directory as
a source directory with something like
bq. <sourceIncludes>target/generated-test-source/java/**/*.java</sourceIncludes>
bq. I have no idea if it will work, but it looked cleaner to me.



> 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.24.0, HA Branch (HDFS-1623)
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message