You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kenney Westerhof (JIRA)" <ji...@codehaus.org> on 2006/12/20 16:59:41 UTC

[jira] Commented: (MNG-2565) plugin version aren't taken from pluginManagement in a sub-sub-modules

    [ http://jira.codehaus.org/browse/MNG-2565?page=comments#action_83054 ] 
            
Kenney Westerhof commented on MNG-2565:
---------------------------------------

I didn't find that - running mvn eclipse:eclipse in maven-trunks/continuum works,
but running mvn eclipse:eclipse in maven-trunks (where I added a grouping pom with <module>continuum</module)
yields this:

{noformat}
[INFO] Building Continuum Model
[INFO]    task-segment: [eclipse:clean, eclipse:eclipse]
[INFO] ----------------------------------------------------------------------------
[INFO] [eclipse:clean]
[INFO] Deleting .project file...
[INFO] Deleting .classpath file...
[INFO] Deleting .wtpmodules file...
[INFO] Deleting .component file...
[INFO] Deleting org.eclipse.wst.common.project.facet.core.xml file...
[INFO] Preparing eclipse:eclipse
Downloading: http://repo1.maven.org/maven2/org/codehaus/modello/modello-maven-plugin/1.0-alpha-13/modello-maven-plugin-1.0-alpha-13.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/modello/modello/1.0-alpha-13/modello-1.0-alpha-13.pom
9K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/modello/modello-maven-plugin/1.0-alpha-13/modello-maven-plugin-1.0-alpha-13.jar
13K downloaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Goal 'jpox-metadata-class' was specified in an execution, but not found in plugin org.codehaus.modello:modello-maven-plugin:1.0-alpha-8
{noformat}

Note the alpha-13 is downloaded but alpha-8 is used.

This is because the wrong parent-pom is used from the local repo. When i remove continuum-parent from the local repo,
and run from:

* continuum:  works.
* continuum/continuum-security: (leaf) works
* continuum/continuum-notifiers: (packaging pom, has modules) fails during scanning for projects; cannot find continuum-parent (for one of continuum/continuum-notifiers' children, but the error doesn't say which one)
* . (maven-trunks, packaging pom, modules): reactor construction works, but build fails on eclipse:eclipse while creating a forked lifecycle for generate-sources (i think, logs don't say).




> plugin version aren't taken from pluginManagement in a sub-sub-modules
> ----------------------------------------------------------------------
>
>                 Key: MNG-2565
>                 URL: http://jira.codehaus.org/browse/MNG-2565
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 2.0.5
>            Reporter: Emmanuel Venisse
>            Priority: Critical
>
> It works only for the first inheritence level

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