[ http://jira.codehaus.org/browse/MECLIPSE-37?page=comments#action_76857 ] 
            
Kenney Westerhof commented on MECLIPSE-37:
------------------------------------------

First - only the generate-* phases should add (test)compileSourceRoots.

The problem is that the generate-test* phases are after the compile phase.

Possible solution: let the eclipse:eclipse mojo specify a custom lifecycle that 
reorders the phases, or even drops the compile/test phases
altogether.

> eclipse:eclipse should execute in a later phase than "generate-sources"
> -----------------------------------------------------------------------
>
>                 Key: MECLIPSE-37
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-37
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Mark Donszelmann
>         Assigned To: fabrizio giustina
>
> the eclipse:eclipse goal should run in a later phase than it currently does 
> (generate-sources)
> as user defined plugins may add to the compileSourceRoots and 
> testCompileSourceRoots.
> If it runs later, added paths will be written correctly to the .classpath.
> Suggested phase is "test"

-- 
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

        

Reply via email to