You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Barrie Treloar (JIRA)" <ji...@codehaus.org> on 2008/12/01 04:38:19 UTC

[jira] Commented: (MECLIPSE-414) Not beeing @aggregator, eclipse plugin does not require executedProject

    [ http://jira.codehaus.org/browse/MECLIPSE-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=155948#action_155948 ] 

Barrie Treloar commented on MECLIPSE-414:
-----------------------------------------

After splattering in some debug code:

[ERROR] executedProject.getCompileSourceRoots=[D:\ide\maven\maven-eclipse-plugin\target\test-classes\projects\project-11\src\main\java, D:\ide\maven\maven-eclipse-plugin\target\test-classes\projects\project-11\target\generated-sources\modello]

[ERROR] project.getCompileSourceRoots=[D:\ide\maven\maven-eclipse-plugin\target\test-classes\projects\project-11\src\main\java]

So you can see that the executeProject has additional targets.

m-eclipse-p is not in a reactor and my limited understanding is that other plugins run prior to m-eclipse-p *contribute* to the current project.  So not sure why executedProject is being set and/or updated.

> Not beeing @aggregator, eclipse plugin does not require executedProject
> -----------------------------------------------------------------------
>
>                 Key: MECLIPSE-414
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-414
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: nicolas de loof
>            Assignee: Barrie Treloar
>             Fix For: 2.6
>
>
> The eclispe plugin uses both ${executedProject} and ${project}. 
> Not beeing an aggregator plugin, ${project} is allways tghe currently executed project, and the projectDirectory is project.getBasedir().
> Having two attributes for same target makes the plugin harder to understand

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