[JIRA] (JMVN-20) Release maven IdP distribution enforcer rule 3.1.0

Philip Smart (Jira) jira at shibboleth.atlassian.net
Mon Jan 17 14:47:51 UTC 2022


Philip Smart ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5afecdc1eb3ffa0c596652c4 ) *commented* on JMVN-20 ( https://shibboleth.atlassian.net/browse/JMVN-20?atlOrigin=eyJpIjoiMGU3Y2Y2ODk5NTlmNDRlZDk1NDIyYThiYTA1MWViYjUiLCJwIjoiaiJ9 )

Re: Release maven IdP distribution enforcer rule 3.1.0 ( https://shibboleth.atlassian.net/browse/JMVN-20?atlOrigin=eyJpIjoiMGU3Y2Y2ODk5NTlmNDRlZDk1NDIyYThiYTA1MWViYjUiLCJwIjoiaiJ9 )

Release and deploy 3.1.0

# for interactive passphrase entry (maybe not required for others)
export GPG_TTY=$(tty) 
# somewhere to store a tmp maven repo
export REPO=/tmp/philsrepo
cd /tmp
git clone git at git.shibboleth.net:java-mvn-enforcer
cd java-mvn-enforcer
git checkout main

mvn -Dmaven.repo.local=$REPO -Pcentral-disabled,release clean verify

mvn -Dmaven.repo.local=$REPO -DgenerateBackupPoms=false -DnewVersion=3.1.0 -Pcentral-disabled versions:set

# Edit pom.xml, bump dependency versions to release
vim pom.xml

# Be sure there are not SNAPSHOT deps in any pom (from base dir).
find . -name 'pom.xml' -exec grep SNAPSHOT {} \;
# If the output contains SNAPSHOTs change to release

mvn -Dmaven.repo.local=$REPO -Pcentral-disabled,release clean verify
git add -A
git commit -m 'Update files to be tagged for release'
git tag -s -m 'Tag 3.1.0 release' 3.1.0

mvn -Dmaven.repo.local=$REPO -DgenerateBackupPoms=false -DnewVersion=3.1.1-SNAPSHOT -Pcentral-disabled versions:set
# Do not bump or unlocked dependency versions

# Be sure there are SNAPSHOTs in the right places.
find . -name 'pom.xml' -exec grep SNAPSHOT {} \;

git add -A
git commit -m 'Bump version after release'

git push
git push origin 3.1.0

git checkout 3.1.0
mvn -Dmaven.repo.local=$REPO -Pcentral-disabled,release,sign clean verify

mvn -Dmaven.repo.local=$REPO -DskipTests -DdeployAtEnd=true -Pcentral-disabled,release,sign deploy

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

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#100188- sha1:935ca08 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220117/e9a962bc/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-4d6a0921-870c-4279-9bc8-f695f3360694
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220117/e9a962bc/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-82f9065e-e18a-4194-ad62-e7040a6b01cc
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220117/e9a962bc/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-e5a4d40f-f5b9-4d49-a6ec-8f60782505f9
Type: image/png
Size: 468 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220117/e9a962bc/attachment-0005.png>


More information about the commits mailing list