[BUILD-201] Expose parsed version properties for project.version and javaVersion Created: 16/Mar/15 Updated: 07/May/15 Resolved: 16/Mar/15 |
|
| Status: | Closed |
| Project: | Build |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | POMs 31 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Magnolia International | Assignee: | Magnolia International |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
This is useful to configure other plugins or resource filtering. |
| Comments |
| Comment by Magnolia International [ 04/May/15 ] |
|
pmundt that's completely unrelated; the new feature makes parsedVersion and javaVersion available as "parsed versions", e.g you can do javaVersion.major or parsedVersion.major to get 1 and 5, respectively. See example use in
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java${javaVersion.majorVersion}${javaVersion.minorVersion}</artifactId>
<version>1.0</version>
</signature>
|