You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Allan G. Ramirez (JIRA)" <ji...@codehaus.org> on 2008/04/08 05:35:58 UTC
[jira] Created: (MPH-38) mvn help:active-profiles won't show the
active profiles in settings.xml
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
[jira] Updated: (MPH-38) mvn help:active-profiles won't show the
active profiles in settings.xml
Posted by "Allan G. Ramirez (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Commented: (MPH-38) mvn help:active-profiles won't show the
active profiles in settings.xml
Posted by "Julie Pitt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPH-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=133354#action_133354 ]
Julie Pitt commented on MPH-38:
-------------------------------
I am having the exact same issue on windows with JDK 1.5.0_14
> 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
[jira] Commented: (MPH-38) mvn help:active-profiles won't show the
active profiles in settings.xml
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Commented: (MPH-38) mvn help:active-profiles won't show the
active profiles in settings.xml
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPH-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146283#action_146283 ]
Vincent Siveton commented on MPH-38:
------------------------------------
Since it works with mvn 2.0.9, I guess it is a regression in mvn 2.1
> 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
> Fix For: 2.2
>
> 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
[jira] Updated: (MPH-38) mvn help:active-profiles won't show the
active profiles in settings.xml
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPH-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vincent Siveton updated MPH-38:
-------------------------------
Fix Version/s: 2.2
> 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
> Fix For: 2.2
>
> 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
[jira] Closed: (MPH-38) mvn help:active-profiles won't show the
active profiles in settings.xml
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPH-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MPH-38.
---------------------------
Resolution: Duplicate
Fix Version/s: (was: 2.2)
Assignee: Brett Porter
no longer an issue due to the linked fix
> 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
> Assignee: Brett Porter
> 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