Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0.6
-
None
-
None
Description
I have profile specified in pom.xml (attached). And I try to specify it in settings.xml's <activeProfile> (attache as nonworking-settings.xml) Accordng to help:active-profiles I get:
mvn help:active-profiles Active Profiles for Project 'test:test:jar:1.0-SNAPSHOT': There are no active profiles.
When I specify the same profile name in settings.xml (attached as working-settings.xml) maven see both profiles (from pom.xml and from settings.xml):
mvn help:active-profiles Active Profiles for Project 'test:test:jar:1.0-SNAPSHOT': The following profiles are active: - env-test (source: pom) - env-test (source: settings.xml)
Attachments
Attachments
Issue Links
- duplicates
-
MNG-2234 activeProfile in ~/.m2/settings.xml is ignored when profiles section is missing or empty
- Closed