Hi,

activeByDefault always meant that this profile is only active if none other
is. If you e.g. have added a profile for M3's site plugin to use the POM for
M2 or M3, well, then you have now an active one ;-)
This is sorry to say simply wrong, cause if that would be true using activeByDefault would prevent activating more than one profile...

Based on mvn help:active-profiles i get the following output:

The following profiles are active:

 - maven-3 (source: pom)
 - snapshots (source: settings.xml)
 - dev-1 (source: settings.xml)
 - dev-2 (source: settings.xml)

whereas dev-1 and dev-2 are profiles which have been activated simply

       <profile>
         <id>dev-1</id>
         <activation>
           <activeByDefault>true</activeByDefault>
         </activation>
       </profile>
       <profile>
         <id>dev-2</id>
         <activation>
           <activeByDefault>true</activeByDefault>
         </activation>
       </profile>

furthermore the maven-3 profile contradicts exactly your statements.

Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to