Just tried it but it does not work.

It uses the pom.url of the master project, not of the subprojects. Any
idea on how I can access those?

regards,

Wim

On 5/12/05, Vincent Massol <[EMAIL PROTECTED]> wrote:
> Hi Wim,
> 
> Yes, this is a known limitation (I've only used aggregate multiprojects and
> thus have only implemented this one...).
> 
> If you can submit a patch with a test (through JIRA) I could apply it.
> 
> Thanks
> -Vincent
> 
> > -----Original Message-----
> > From: Wim Deblauwe [mailto:[EMAIL PROTECTED]
> > Sent: jeudi 12 mai 2005 11:08
> > To: Maven Users List
> > Subject: Dashboard plugin with multiproject independent navigation
> >
> > Hi,
> >
> > the Dashboard plugin seems to assume that the
> > maven.multiproject.navigation property is set to 'aggregate', becuase
> > the links that are generated are like this:
> >
> >     <j:if test="${shallDisplay == 'true'}">
> >       <tr>
> >         <x:set var="projecturl1" select="string(@artifactId)"/>
> >         <j:set var="projecturl"
> > value="${maven.multiproject.aggregateDir}${projecturl1}/index.html"/>
> >         <td><a href="${projecturl}"><x:expr select="@name"/></a></td>
> >         <jsl:applyTemplates select="aggregator"/>
> >       </tr>
> >     </j:if>
> >
> > Notice the use of maven.multiproject.aggregateDir. But when
> > 'independent' navigation is used the plugin should look at the
> > 'pom.url' property.
> >
> > Is this a bug or am I missing something?
> >
> > This would probably be a better solution (untested):
> >
> >
> >     <j:if test="${shallDisplay == 'true'}">
> >       <tr>
> >         <!-- url not defined in POM -->
> >         <j:if test="${empty(pom.url)}">
> >         <x:set var="projecturl1" select="string(@artifactId)"/>
> >         <j:set var="projecturl"
> > value="${maven.multiproject.aggregateDir}${projecturl1}/index.html"/>
> >         <td><a href="${projecturl}"><x:expr select="@name"/></a></td>
> >         </j:if>
> >
> >         <!-- url defined in POM -->
> >         <j:if test="${!empty(pom.url)}">
> >             <td><a href="${pom.url}"><x:expr select="@name"/></a></td>
> >          </j:if>
> >         <jsl:applyTemplates select="aggregator"/>
> >       </tr>
> >     </j:if>
> >
> > regards,
> >
> > Wim
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to