I'll give it a try.  Is there a way to control the
order of the report links if some are specified in
this manner, while others are listed in the POM?

--- Brett Porter <[EMAIL PROTECTED]> wrote:

> script in the POM is strongly discouraged.
> 
> How about:
> <postGoal name="xdoc:register-reports">
>   <j:if test="${includes_tests}">
>      <attainGoal
> name="maven-junit-report-plugin:register" />
>   </j:if>
> </postGoal>
> in maven.xml?
> 
> - Brett
> 
> 
> On Tue, 25 Jan 2005 13:51:06 -0800 (PST), Doug
> Knesek
> <[EMAIL PROTECTED]> wrote:
> > I want to conditionally turn things on and off in
> my
> > project.xml based on the value of a custom
> property.
> > 
> > For example, in my project.properties I defined a
> > property as follows:
> > 
> > include_tests = true
> > 
> > In my project.xml, I sould like to do something
> like
> > this:
> > 
> > ...
> > <reports>
> >    ...
> >    <j:if test="${includes_tests=='true'}">
> >       <report>maven-junit-report-plugin</report>
> >    </j:if>
> >    ...
> > </reports>
> > 
> > It doesn't seem to work.  Any ideas?
> > 
> > - Doug
> > 
> >
>
---------------------------------------------------------------------
> > 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