It look like a something interesting, the problem is to integrate this with
our continuous integration system.  Since we use Hudson, maybe I can trigger
a new build that will make the site, but that is not a perfect fit.

Is it possible, on the same command line, to use a profile to make something
and use another profile to do something else?
 e.g. : mvn -Pcompile deploy -Psite site site:deploy 

Could this work?

Thanks, really, I appreciate.  I'm new to the maven building system and
still in a learning phase.  If the answer is somewhere, I haven't found it
yet.

Marc


Rémy Sanlaville wrote:
> 
>> It seem's that the only thing this flag is doing is to disable the html
>> report exporting.  All the other step for the report are done (Javadoc is
>> still trying to instrument generated java code (which I don't really
>> want!)
> 
> 
> If you specify to add the modules in the menu via your site.xml file, you
> also
> have a reference of the child module (with a false link) that have no html
> report.
> So it's not very nice.
> 
> For the moment, I use a profile in order to filter the modules to take
> into
> account
> for the generation of the web site.
> For instance :
> <project>
> 
>    [...]
> 
>    <reporting>
>    </reporting>
> 
>     <profiles>
>         <profile>
>             <id>site</id>
>             <modules>
>                 <module>module1</module>
>                 <module>module2</module>
>             </modules>
>         </profile>
> 
>         <profile>
>             <id>default</id>
>             <activation>
>                 <activeByDefault>true</activeByDefault>
>             </activation>
>             <modules>
>                 <module>module1</module>
>                 <module>module2</module>
>                 <module>module3</module>
>             </modules>
>         </profile>
>     </profiles>
> </project>
> 
> And I run
>> mvn clean site -Psite
> 
> It works great but you have to not forget the profile (-Psite)
> 
> Rémy
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Removing-a-report-in-a-child-project-tf4474762s177.html#a12777181
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to