Work to ship Jetty 10 with the IdP Installer
Description
Environment
Confluence content
mentioned on
Activity
All done
After 5 or 6 attempts…
# for interactive passphrase entry (maybe not required for others)
export GPG_TTY=$(tty)
# somewhere to store a tmp maven repo
export REPO=/tmp/rodsrepo
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=10.0.0.8-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 10.0.0.8-WINDOWS release' 10.0.0.8-WINDOWS
mvn -Dmaven.repo.local=$REPO -DgenerateBackupPoms=false -DnewVersion=10.0.0.9-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 10.0.0.8-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 10.0.0.8-WINDOWS
I'm going to do a real release of the artifact.
Reopening to capture the work.
I'll be doing this in advance of the 4.2 release (to avoid any CP issues) which means winding back to an earlier version of the parent pom.
Documentation is complete https://shibboleth.atlassian.net/wiki/spaces/DEV/pages/2937454597/JettyBase10ForWindows
https://shibboleth.atlassian.net/browse/IDP-1916 was closed with a “lets not skin the cat this way, lets just upload the file into
src\resources\
I’m going to close this
I have
Modified the
jetty.bat
command to handle ajetty-home
distributionsForked the
10-windows
branch from the10
branch of idp-jetty-base and made the requisite changestested an install
Documentation pending
Completion is pending IDP-1916
It would probably be really good to ship IdP 4.2 with Jetty 10. This case is about the work needed.
The jetty distribution module is no more and so the entire way in which the jetty merge module is built needs to be revisited
It will probably need a jetty-base of its own. Although finalising this depends on having documentation for jetty 10 completed I am bett8ing that I’ll get most of the way by hacking the 9.4 one. I just hope that they haven’t changed property names again.