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]

Reply via email to