[JIRA] (JMVN-9) Enforcer incorrectly reports "No <jarsDirs/> provided"
Ian Young (Jira)
jira at shibboleth.atlassian.net
Thu Dec 9 15:33:56 UTC 2021
Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 ) *created* an issue
Maven Enforcer ( https://shibboleth.atlassian.net/browse/JMVN?atlOrigin=eyJpIjoiOTUwZDlhMTJiNmQ2NDNlYWFkMGM0MDE2NjUwOGY5YjgiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/JMVN-9?atlOrigin=eyJpIjoiOTUwZDlhMTJiNmQ2NDNlYWFkMGM0MDE2NjUwOGY5YjgiLCJwIjoiaiJ9 ) JMVN-9 ( https://shibboleth.atlassian.net/browse/JMVN-9?atlOrigin=eyJpIjoiOTUwZDlhMTJiNmQ2NDNlYWFkMGM0MDE2NjUwOGY5YjgiLCJwIjoiaiJ9 ) Enforcer incorrectly reports "No <jarsDirs/> provided" ( https://shibboleth.atlassian.net/browse/JMVN-9?atlOrigin=eyJpIjoiOTUwZDlhMTJiNmQ2NDNlYWFkMGM0MDE2NjUwOGY5YjgiLCJwIjoiaiJ9 )
Issue Type: Bug Affects Versions: 2.1 Assignee: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) Created: 09/Dec/21 10:33 AM Priority: Trivial Reporter: Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 )
If you fat-finger the value of jarsDirs and end up typing something that doesn't exist, you get this message:
[WARNING] Rule 0: net.shibboleth.mvn.enforcer.impl.JarEnforcer failed with message:
No <jarsDirs/> provided
In this case it would be better if it complained about the non-existence of the location, not imply that the value is missing.
( https://shibboleth.atlassian.net/browse/JMVN-9#add-comment?atlOrigin=eyJpIjoiOTUwZDlhMTJiNmQ2NDNlYWFkMGM0MDE2NjUwOGY5YjgiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JMVN-9#add-comment?atlOrigin=eyJpIjoiOTUwZDlhMTJiNmQ2NDNlYWFkMGM0MDE2NjUwOGY5YjgiLCJwIjoiaiJ9 )
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:f6eba4b )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20211209/cbb919da/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-0f0eba55-07b5-4021-9264-65159b59eb05
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211209/cbb919da/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-fd4fd5fd-7a65-4b05-a748-7967461994d6
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211209/cbb919da/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-e5995427-6715-4a4d-958a-d8952f47e463
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211209/cbb919da/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-05da974b-9d33-42fb-a7d5-3aad185d1376
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211209/cbb919da/attachment-0007.png>
More information about the commits
mailing list