You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2008/08/23 23:28:27 UTC

[jira] Commented: (MPH-38) mvn help:active-profiles won't show the active profiles in settings.xml

    [ http://jira.codehaus.org/browse/MPH-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=145811#action_145811 ] 

Vincent Siveton commented on MPH-38:
------------------------------------

It is a normal way since appserverConfig is not a profile defined in your settings. You should activate an existing profile.

> 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