[ http://jira.codehaus.org/browse/MECLIPSE-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_116936 ]
nicolas de loof commented on MECLIPSE-37: ----------------------------------------- Just a comment about "Kenney Westerhof - 06/oct./06 07:51 PM First - only the generate-* phases should add (test)compileSourceRoots. " I had to create a plugin to run the castor MappingTool. This one process class file to generate XML mappings. It then fit naturaly in the process-classes phase, and REQUIRE the sources to be compiled prior to execution > 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 > Components: Dependencies resolution and build path > Affects Versions: 2.0 > Reporter: Mark Donszelmann > Assignee: 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