maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Theussl (JIRA)" <>
Subject [jira] Closed: (MPMULTIPROJECT-64) goal multiproject:create-nav seems to have lost
Date Wed, 07 Jun 2006 22:29:43 GMT
     [ ]
Lukas Theussl closed MPMULTIPROJECT-64:

     Assign To: Lukas Theussl
    Resolution: Cannot Reproduce

Closing as I still can't reproduce it and there is no user feedback anymore. Please re-open
with a reproducible test case if you still have troubles.

> goal multiproject:create-nav seems to have lost
> ------------------------------------------------------
>          Key: MPMULTIPROJECT-64
>          URL:
>      Project: maven-multiproject-plugin
>         Type: Bug

>     Versions: 1.4.1
>  Environment: maven 1.0.2 but with a couple of plugins upgraded to latest HEAD.
>     Reporter: Benoit Xhenseval
>     Assignee: Lukas Theussl

> Today I have upgraded the checkstyle plugin to 3.0 from 2.6
> This seems to have downloaded a couple of libraries and I now have a strange behaviour
for multiproject.
> I have also upgraded PMD to 1.8-SNAPSHOT but the following issue appeared before:
> When I run "maven multiproject:site", the reactor goes through all sub-projects ok BUT
when it reaches the call to <attainGoal name="multiproject:create-nav"/>, it seems to
lose the and declares that I must exclude the XXXX (the top level project" (see line
140 in th eplugin.jelly).
> XXXX, which is the, is replaced by the LAST project contained in the variable
> the seems to have changed between the line just BEFORE the call to multiproject:create-nav
and the FIRST line inside create-nav.
> If I modify the code to add some log:
>     <echo> before calling create-nav ${}</echo>
>     <attainGoal name="multiproject:create-nav"/>
> ...
>   <goal name="multiproject:create-nav"
>         prereqs="multiproject:site-init">
>     <echo> INSIDE create-nav ${} and multi ${multiprojects}</echo>
>     <j:forEach var="reactorProject" items="${multiprojects}">
>     <echo> INSIDE LOOP create-nav ${} and current ${}</echo>
>       <j:if test="${ ==}">
>         <fail message="You must exclude ${} (the top level project) from the
subproject set"/>
>       </j:if>
>     </j:forEach>
> The has changed between the first 2 echos.  it then matches the last
and th ewhole process fails.
> I do not understand why the is changed somewhere in multiproject:site-init...
> My current workaround is to change the <fail to a simple <echo so that the process
can finish (but it does not generate a proper navigation.xml)
> There is obviously something wrong introduced by the latest download of a couple of plugin,
I still have maven 1.0.2
> Is there a way I could list all plugins and version?  I would post it here...
> Thanks for looking into it.
> Benoit

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message