You can use:
mvn help:active-profiles to see what profiles are injected for which
projects. If you feel this is not working according to the profiles you've
specified explicitly (and you're not using <activation/> anywhere), then
please file a MNG issue:
http://jira.codehaus.org/browse/MNG
and attach a sample project hierarchy to illustrate your problem. If you
reply with a MNG id, I'll take a look.
Thanks,
John
On 10/12/06, Attila Mezei-Horvati <[EMAIL PROTECTED]> wrote:
I have a multi-module project:
main/pom.xml
main/profile.xml
main/code1/pom.xml
main/code2/pom.xml
main/webapp/pom.xml
As you can see, I have a profile.xml in the main folder. I have about 5
profiles defined in it such as:
<profile>
<id>skipunittest</id>
<properties>
<maven.test.skip>true</maven.test.skip>
</properties>
</profile>
....
Whenever I try to run maven, such as: mvn clean package -P
profile1,profile2 the profile selection is ignored and *all* profiles are
used.
For example, skipunittest will be enabled even though I had not selected
it and tests will be skipped.
What is causing this? I just don't get it. -e is not giving me any help
either.
Attila
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]