mvn help:active-profiles  won't show the active profiles in settings.xml
------------------------------------------------------------------------

                 Key: MPH-38
                 URL: http://jira.codehaus.org/browse/MPH-38
             Project: Maven 2.x Help Plugin
          Issue Type: Bug
    Affects Versions: 2.1
         Environment: linux (never tried it in windows), sun's jdk 1.5.0_12
            Reporter: Allan G. Ramirez


settings.xml has this

  <activeProfiles>
    <activeProfile>appserverConfig</activeProfile>
  </activeProfiles>


pom.xml of MavenProject2 project has this

    <profile>
      <id>appserverConfig-dev-2</id>
      <activation>
        <activeByDefault>true</activeByDefault>
        <property>
          <name>env</name>
          <value>dev-2</value>
        </property>
      </activation>
      <properties>
        <appserver.home>/path/to/another/dev/appserver2</appserver.home>
      </properties>
    </profile>


I tried mvn help:active-profiles using the maven 2.1-SNAPSHOT  I only got 

 - appserverConfig-dev-2 (source: pom)


appserverConfig defined in settings.xml is not shown

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to