[ http://jira.codehaus.org/browse/MPECLIPSE-71?page=comments#action_52840 ] 

Max Rudman commented on MPECLIPSE-71:
-------------------------------------

I had the same need and created my own version. Submitted patch is actually 
more robust than what I did so I am not submitting mine. However, I have a 
couple of suggestions:

1) Generated sources dir for nested projects should be obtained with something 
like this:

<j:set var="nestedContext" value="${reactorProject.context}"/>
<j:invoke var="genSrc" on="${nestedContext}" method="getVariable">
    <j:arg value="maven.gen.src"/>
</j:invoke>

This way nested project's potentially different setting is respected. Same 
should be done for maven.build.dir

2) I put multiproject handling into a separate "multiclasspath.jelly" file and 
included it in the main classpath.jelly. I like smaller files as I feel they 
are easier to work with/find things in.

> Better support for multiproject with eclipse plugin
> ---------------------------------------------------
>
>          Key: MPECLIPSE-71
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-71
>      Project: maven-eclipse-plugin
>         Type: New Feature
>     Reporter: Yujin Kim
>     Priority: Minor
>  Attachments: classpath.jelly.MPECLIPSE-71.zip, classpath.jelly.patch, 
> maven-eclipse-plugin-test.zip
>
>
> Currently when eclipse generates .classpath file, the subprojects' target 
> paths default to the parent project's target path.
> for example if you have a POM A which is a parent project, and POM B and C 
> that are subprojects of A, generated classpath will have :
> src/java -> target/classes
> src/test -> target/test-classes
> B/src/java -> target/classes
> B/src/test -> target/test-classes
> C/src/java -> target/classes
> C/src/test -> target/test-classes
> If I get a chance, I'll post a patch.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to