
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
1.
my-app.zip (3 kB)
|
|
Environment:
|
windows 2000
|
|
Issue Links:
|
Duplicate
|
|
|
|
This issue is duplicated by:
|
|
MNG-3788
Profiles in profiles.xml not activated properly
|
|
|
|
|
|
|
Profile specification on command line is ignored and all profiles are active.
How to reproduce:
- open attachment
- extract to folder
- type: cd my-app
- type: mvn help:active-profiles -Pproduction
- you get the following:
The following profiles are active:
- skipunittest (source: profiles.xml)
- test (source: profiles.xml)
- production (source: profiles.xml)
The following profiles are active:
- production (source: profiles.xml)
thanks,
Attila
|
|
Description
|
Profile specification on command line is ignored and all profiles are active.
How to reproduce:
- open attachment
- extract to folder
- type: cd my-app
- type: mvn help:active-profiles -Pproduction
- you get the following:
The following profiles are active:
- skipunittest (source: profiles.xml)
- test (source: profiles.xml)
- production (source: profiles.xml)
The following profiles are active:
- production (source: profiles.xml)
thanks,
Attila |
Show » |
Sort Order:
|
Profiles in profiles.xml seem to always be "active by default" unless other <activation> is present.
Workaround: Move the profiles into pom.xml and it will work the way you expect.