[JIRA] (JMVN-4) Need to have configurable extension garnish
Rod Widdowson (Jira)
jira at shibboleth.atlassian.net
Sat Nov 20 11:18:15 UTC 2021
Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *created* an issue
Maven Enforcer ( https://shibboleth.atlassian.net/browse/JMVN?atlOrigin=eyJpIjoiNGY1NTExZGQzZDQyNGIyYjk2MDRhMWMyNTI3MDE5Y2YiLCJwIjoiaiJ9 ) / Task ( https://shibboleth.atlassian.net/browse/JMVN-4?atlOrigin=eyJpIjoiNGY1NTExZGQzZDQyNGIyYjk2MDRhMWMyNTI3MDE5Y2YiLCJwIjoiaiJ9 ) JMVN-4 ( https://shibboleth.atlassian.net/browse/JMVN-4?atlOrigin=eyJpIjoiNGY1NTExZGQzZDQyNGIyYjk2MDRhMWMyNTI3MDE5Y2YiLCJwIjoiaiJ9 ) Need to have configurable extension garnish ( https://shibboleth.atlassian.net/browse/JMVN-4?atlOrigin=eyJpIjoiNGY1NTExZGQzZDQyNGIyYjk2MDRhMWMyNTI3MDE5Y2YiLCJwIjoiaiJ9 )
Issue Type: Task Affects Versions: 2.1 Assignee: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) Created: 20/Nov/21 6:18 AM Fix Versions: 2.2, 3.0 Priority: Trivial Reporter: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 )
Currently the enforcer reverse engineers for artifact version by counting back for '-' characters.
Some releases carry a garnish to the version. Currently this is hardwired as
private static final List< String > EXTENSION_GARNISH =
List.of( "-SNAPSHOT" , "-GA" , "-jre" , "-empty-to-avoid-conflict-with-guava" );
This needs to be configurable so we do not need a new version of the enforcer if we discover a new extension garnish
( https://shibboleth.atlassian.net/browse/JMVN-4#add-comment?atlOrigin=eyJpIjoiNGY1NTExZGQzZDQyNGIyYjk2MDRhMWMyNTI3MDE5Y2YiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JMVN-4#add-comment?atlOrigin=eyJpIjoiNGY1NTExZGQzZDQyNGIyYjk2MDRhMWMyNTI3MDE5Y2YiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100183- sha1:697b886 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20211120/d117e5a9/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-1ffadf83-57cd-4a10-9bd8-1fc4ea1e5546
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211120/d117e5a9/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-be792872-e4b2-4e8e-a76c-bd1514357582
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211120/d117e5a9/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-b7b1b01a-3c87-4a0a-8ed2-15ed6bd952c8
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211120/d117e5a9/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-449d9b24-ee57-4e9b-b114-c898da05d311
Type: image/png
Size: 468 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211120/d117e5a9/attachment-0007.png>
More information about the commits
mailing list