>From your reply, I don't think what I though was good.. Here was what I was
having in mind :
<profiles>
<profile>
<id>site</id>
<modules>
<module>module1</module>
<module>module2</module>
</modules>
</profile>
<profile>
<id>compile</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>module1</module>
<module>module2</module>
<module>module3</module>
</modules>
</profile>
</profiles>
And then using the compile profile to compile and the site profile to build
the report. On all module in the same command.
But anyway, this is a possibility that I should not ignore.
The other possibility that I think can work is to have a different parent
for the packaging module than all the other. Then, they could have
different report.
What I don't understand is why I can't overwrite the properties of a parent
pom. Like, if I rmake the report section, should it not override everything
from the parent?
Anyway, I'm stuck in this module/parent relationship that I'm not sure
anymore I have planned it right from the begining.
Thanks again.
Marc
Rémy Sanlaville wrote:
>
>> 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.
>
>
> I don't think that it's a problem to integrate this with a continuous
> integration system.
> If you can do it with your console (like DOS) you can generally do it with
> your continuous integration system (like hudson).
>
> 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
>
>
> I haven't try it, but I think it should work :
> mvn deploy site site:deploy -Pcompile,site
> or even better
> mvn clean deploy site-deploy -Pcompile,site
>
> Rémy
>
>
--
View this message in context:
http://www.nabble.com/Removing-a-report-in-a-child-project-tf4474762s177.html#a12777793
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]