Hi, 

I'd like to link different profiles by using "activation on properties" and
defining an "activeProfiles". Something like: 

    <profile>
      <id>prof1</id>
      <properties>
        <prof1>true</prof1>       ... should activate prof2 !
      </properties>
    </profile>    

    <profile>
      <id>prof2</id>
       </properties>
       <activation>
        <property>
          <name>prof1</name>
        </property>
      </activation>
    </profile>    

  <activeProfiles>
        <activeProfile>prof1</activeProfile>
  </activeProfiles>

By activating the "prof1" I expect to have the "prof1" property set and then
to activate the prof2 automatically. Unfortunately it does not work !?

Does someone face same needs and issues ? 

I know that entering "mvn -Dprof1=true" dos the work but what is the point
of having an "active profile" if we need to enter system properties to have
it running ?

Thanks a lot for your help !

Michel Allenou
-- 
View this message in context: 
http://www.nabble.com/How-to-link-profiles-tf2083385.html#a5740261
Sent from the Apache Maven Developers List forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to