Perhaps they overwrite each other (the inside of the profiles). What's inside 
the profiles. If for example, you have two ant-run plugins, without id's I 
think it will go wrong.

With regards,

Nick S.


-----Original Message-----
From: Yann Davin [mailto:[EMAIL PROTECTED]
Sent: Tue 3/11/2008 19:03
To: [email protected]
Subject: problem with multi profiles activation
 
Hi all,

I've a strange problem when I try to activate more than one profile
simultaneously, maven seems
to activate only the last one.

For example, I've two profiles one named ant-archive, and one other named
ant-common-archive.
If I type "mvn -Pant-archive package" or "mvn -Pant-common-archive package"
it works. But if I type "mvn -Pant-archive,ant-common-archive package"
only ant-common-archive is executed.

If I try to activate the two profiles by default and type mvn
help::active-profiles, it tells me that both are activated, but also
in this case only one is executed.

Any of you has any idea ?

Thanks

Yann.

Reply via email to