Hi, 

I have a profile defined in the settings.xml (not actived by default). I
would like to have it enabled when a variable is defined a pom.xml ? How can
i do ?
I tried this, but it does not work :

(settings.xml) : 

<profile>
        <id>p1</id>
        <activation>
            <property>
                <name>env</name>
                <value>xyz</value>
            </property>
        </activation>
</profile>    

(pom.xml) :
<project>
    ...
    <properties>
         <env>xyz</env>
    </properties>


Can you help me ? tx !
-- 
View this message in context: 
http://www.nabble.com/How-to-enable-profile-defined-in-settings-from-pom---tp17508989p17508989.html
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