[JIRA] (JMVN-24) Enforcer plugin prevents maven-deploy plugin from uploading artifacts
Philip Smart (Jira)
jira at shibboleth.atlassian.net
Mon Feb 21 14:20:06 UTC 2022
Philip Smart ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5afecdc1eb3ffa0c596652c4 ) *commented* on JMVN-24 ( https://shibboleth.atlassian.net/browse/JMVN-24?atlOrigin=eyJpIjoiNWFjZTQxNzNkZGRhNGYxMGIwYzM4N2EwNDY0OWY4MzYiLCJwIjoiaiJ9 )
Re: Enforcer plugin prevents maven-deploy plugin from uploading artifacts ( https://shibboleth.atlassian.net/browse/JMVN-24?atlOrigin=eyJpIjoiNWFjZTQxNzNkZGRhNGYxMGIwYzM4N2EwNDY0OWY4MzYiLCJwIjoiaiJ9 )
These are the minimal Maven steps are required to reproduce this error:
export REPO=/tmp/repo
cd /tmp
git clone git at git.shibboleth.net:java-identity-provider
cd java-identity-provider/idp-parent
git checkout 4.1.5
mvn -Dmaven.repo.local=$REPO -DskipTests -DdeployAtEnd=true -Prelease,sign deploy
Note this is *not* the current mainline branch, but the tag the original error occurred on. The assumption is it would occur on 4.2 as well, but I guess you could try a local 4.2.0 tag instead of or as well.
I was going to test against a local Nexus Docker image https://hub.docker.com/r/sonatype/nexus3/. But the issue occurs before the upload, so you could just air gap your machine once you have collected all the Maven deps locally and if it breaks because it fails to actually upload, that might be a sign it is working.
( https://shibboleth.atlassian.net/browse/JMVN-24#add-comment?atlOrigin=eyJpIjoiNWFjZTQxNzNkZGRhNGYxMGIwYzM4N2EwNDY0OWY4MzYiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JMVN-24#add-comment?atlOrigin=eyJpIjoiNWFjZTQxNzNkZGRhNGYxMGIwYzM4N2EwNDY0OWY4MzYiLCJwIjoiaiJ9 )
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:d5e627e )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220221/e6e8a4b3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-215e1954-bd84-4892-a456-c066c98230b6
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220221/e6e8a4b3/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-6b555a7a-2a30-4ac5-abd8-8d53cec0b9d0
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220221/e6e8a4b3/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-bdabb1a2-2a56-4363-bb94-2a3f2dabc41c
Type: image/png
Size: 468 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220221/e6e8a4b3/attachment-0005.png>
More information about the commits
mailing list