maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allan G. Ramirez (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MPH-38) mvn help:active-profiles won't show the active profiles in settings.xml
Date Sun, 24 Aug 2008 01:32:27 GMT

     [ http://jira.codehaus.org/browse/MPH-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allan G. Ramirez updated MPH-38:
--------------------------------

    Attachment: apache-maven-2.1-659801-bin.zip

Sorry for not posting the whole settings.xml of mine. But appserverConfig is defined or existed
in my settings when I tested it.

I'm attaching the maven cli that I used for testing.

> 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
>         Attachments: apache-maven-2.1-659801-bin.zip
>
>
> 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

        

Mime
View raw message