[JIRA] (JMVN-24) Enforcer plugin prevents maven-deploy plugin from uploading artifacts

Rod Widdowson (Jira) jira at shibboleth.atlassian.net
Fri Feb 25 15:44:37 UTC 2022


Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *commented* on JMVN-24 ( https://shibboleth.atlassian.net/browse/JMVN-24?atlOrigin=eyJpIjoiYTVjYTY4MDE4MzhmNDZmZjhhOWY0NWVjZGQwYjAxYTIiLCJwIjoiaiJ9 )

Re: Enforcer plugin prevents maven-deploy plugin from uploading artifacts ( https://shibboleth.atlassian.net/browse/JMVN-24?atlOrigin=eyJpIjoiYTVjYTY4MDE4MzhmNDZmZjhhOWY0NWVjZGQwYjAxYTIiLCJwIjoiaiJ9 )

So…. That's ‘interesting’

I didn some random walk debugging by changing poms to

* Add the dependency that the maven enforcer mojo has on the (shibboleth) enforcer plugin to the idp parent pom (no difference)
* Added the enforcer stanza to other projects to see if could reproduce the bug there (I have build a version of the deploy plugin with extra logging so I know whether this is a different classpath MOJO. (No difference)
* *Entirely Removed* the enforcer stanza from the distribution pom (No difference)

The error is still being provoked from the idp-distribution build but AFAICS in the version I am looking at (maint-4.1) it isn’t the enforcer.

Until I am certain of that I am going to keep on investigating this under the guise of this being an enforcer bug.

I think I might try mainline next,

for the record the command line I am now down to is

H:\Perforce\Juno\V3\java-identity-provider\idp-parent [maint-4.1 ≡ +3 ~1 -0 !]> mvn -D deployAtEnd=true deploy -D skipTests

( https://shibboleth.atlassian.net/browse/JMVN-24#add-comment?atlOrigin=eyJpIjoiYTVjYTY4MDE4MzhmNDZmZjhhOWY0NWVjZGQwYjAxYTIiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JMVN-24#add-comment?atlOrigin=eyJpIjoiYTVjYTY4MDE4MzhmNDZmZjhhOWY0NWVjZGQwYjAxYTIiLCJwIjoiaiJ9 )

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#100192- sha1:2947bec )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220225/82e7f4fe/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-843cd94f-b2a5-40cb-9cd1-3d1d71be83ab
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220225/82e7f4fe/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-f1084638-2fe3-4604-9a41-3e76068d6667
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220225/82e7f4fe/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-4de06f8f-6990-49d0-80be-affed504f539
Type: image/png
Size: 468 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220225/82e7f4fe/attachment-0005.png>


More information about the commits mailing list