Details
Description
The following profile does not activate on MacosX:
<profile>
<id>activate-mac</id>
<activation>
<os>
<name>Mac OS X</name>
</os>
</activation>
</profile>
"Mac OS X" matches the value returned when querying $
{os.name}.If you lowercase the name, the profile is activated:
<profile>
<id>activate-mac</id>
<activation>
<os>
<name>mac os x</name>
</os>
</activation>
</profile>
This is counter intuitive, as one would expect the exact cut and pasted (capitalised) ${os.name}
value to work as an OS name in a profile.
Issue Links
- depends upon
-
PLXUTILS-3
Case issue in Os.isOs(). Creates hard to identify maven profile activation failures (Patch attached)
-
Activity
Jason van Zyl
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | Reviewed [ 13555 ] |
Vincent Siveton
made changes -
| Resolution | Cannot Reproduce [ 5 ] | |
| Assignee | Vincent Siveton [ siveton ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
Brett Porter
made changes -
| Fix Version/s | Reviewed Pending Version Assignment [ 13555 ] |
Benjamin Bentmann
made changes -
| Link |
This issue depends upon |
Benjamin Bentmann
made changes -
| Status | Closed [ 6 ] | Reopened [ 4 ] |
| Resolution | Cannot Reproduce [ 5 ] |
Benjamin Bentmann
made changes -
| Fix Version/s | 2.0.6 [ 13010 ] | |
| Resolution | Fixed [ 1 ] | |
| Status | Reopened [ 4 ] | Closed [ 6 ] |
Already fixed by
PLXUTILS-3for Maven >= 2.0.6