-
Notifications
You must be signed in to change notification settings - Fork 11
Home
Mikko Tommila edited this page Feb 22, 2024
·
5 revisions
- The Maven
settings.xml
must contain the correct snapshot and staging servers with username and (encrypted) password - Also gpg must be installed and the pgp keys must be set up
Quick snapshot deploy without running tests:
mvn -am clean install javadoc:javadoc javadoc:jar source:jar deploy -DskipTests=true
mvn release:clean
mvn -Darguments=-DskipTests release:prepare
mvn -Darguments=-DskipTests release:perform
- Notice next version, is it the default or next major release
- Change the tag label to be the same as the plain release number
- See https://github.com/ndpar/gitmaven
- Then push main branch
git checkout main
git push
git push --tags
- Create maintenance branch (optional) e.g.
checkout -b 1.8.3 1.8.3
git push
git push --tags
- Release see
- Push release commits as described above
- Reset to previous commit (the release)
mvn -DskipTests=true clean package source:test-jar source:aggregate javadoc:aggregate
mvn -N antrun:run@release
- Make sure GraalVM bin directory is in the path
native-image --static org.apfloat.php.CalculatorWrapper calculator -cp classes:applet.jar:apfloat.jar:calc.jar --no-fallback