Basics
Logistics
Basics
Logistics
Description
None
Environment
None
Activity
Rod Widdowson
April 20, 2023 at 12:58 PM
Rod Widdowson
April 19, 2023 at 6:19 PM
Release Jetty base
# for interactive passphrase entry (maybe not required for others)
export GPG_TTY=$(tty)
# somewhere to store a tmp maven repo
export REPO=/tmp/rodsrepo
export JETTY_VERSION=11.0.15
export JETTY_VERSION_NEXT=11.0.16
cd /tmp
git clone git@git.shibboleth.net:java-idp-jetty-base
#######################
cd java-idp-jetty-base
git checkout -b 10-windows --track origin/10-windows
mvn -Dmaven.repo.local=$REPO -Prelease clean verify
mvn -Dmaven.repo.local=$REPO -DgenerateBackupPoms=false -DnewVersion=${JETTY_VERSION}-WINDOWS versions:set
# Edit pom.xml, bump dependency versions to release
# vi 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 -Prelease clean verify
git add -A
git commit -m 'Update files to be tagged for release'
git tag -s -m "Tag ${JETTY_VERSION}-WINDOWS release" ${JETTY_VERSION}-WINDOWS
#################################################
mvn -Dmaven.repo.local=$REPO -DgenerateBackupPoms=false -DnewVersion=${JETTY_VERSION_NEXT}-WINDOWS-SNAPSHOT versions:set
# 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 checkout ${JETTY_VERSION}-WINDOWS
mvn -Dmaven.repo.local=$REPO -Prelease,sign clean verify
#################################################
## commit the work
ssh -L 1581:127.0.0.1:1581 -N build.shibboleth.net -f
mvn -Dmaven.repo.local=$REPO -DskipTests -DdeployAtEnd=true -Prelease,sign deploy
git checkout 10-windows
git push origin 10-windows
#################################################
git push origin ${JETTY_VERSION}-WINDOWS
#################################################
Rod Widdowson
April 19, 2023 at 6:04 PM
(edited)
Smoke test works (including all logging). I’ll cut a release of the jetty-base next
Rod Widdowson
April 19, 2023 at 3:22 PM
This look important enough to warrant a release and a patch to the IdP. I'll use this case for that.
Rod Widdowson
April 17, 2023 at 1:17 PM
Logback Version
bump version to 1.3.6
SLF4J Version
unchanged
jetty-ssl-context.xml,
unchanged (since at least x.0.12)
SslContextFactory.java
unchanged
jetty-requestlog.xml
jetty-server\src\main\java\org\eclipse\jetty\server\Slf4jRequestLogWriter.java
unchanged
jetty-server/src/main/java/org/eclipse/jetty/server/CustomRequestLog.java
extra information added to two throw
statements
All done