@@ -15,8 +15,8 @@ mvn -f aggregate install
1515
1616echo
1717echo Browse to
18- echo " file://$PWD /target/site"
19- echo and check the spotbugs and jacoco reports.
18+ echo " file://$PWD /owasp-java-html-sanitizer/ target/site/jacoco/index.html "
19+ echo and check the jacoco reports.
2020
2121echo
2222echo Check https://central.sonatype.org/pages/apache-maven.html#nexus-staging-maven-plugin-for-deployment-and-release
@@ -46,10 +46,11 @@ cd "$RELEASE_CLONE"
4646# mvn release:update-versions puts -SNAPSHOT on the end no matter what
4747# so this is a two step process.
4848export VERSION_PLACEHOLDER=99999999999999-SNAPSHOT
49- for project in parent aggregate empiricism; do
49+ POM_DIRS=" . aggregate empiricism java8-shim java10-shim owasp-java-html-sanitizer"
50+ for project in $POM_DIRS ; do
5051 mvn -f " $project " /pom.xml install
5152done
52- for project in parent aggregate empiricism ; do
53+ for project in $POM_DIRS ; do
5354 mvn -f " $project " /pom.xml \
5455 release:update-versions \
5556 -DautoVersionSubmodules=true \
@@ -71,7 +72,7 @@ perl -i.bak \
7172$EDITOR change_log.md
7273
7374# A dry run.
74- mvn -f aggregate/ pom.xml clean source:jar javadoc:jar verify \
75+ mvn -f pom.xml clean source:jar javadoc:jar verify \
7576 -DperformRelease=true
7677
7778# Commit and tag
@@ -80,7 +81,7 @@ git tag -m "Release $NEW_VERSION" -s "release-$NEW_VERSION"
8081git push origin " release-$NEW_VERSION "
8182
8283# Actually deploy.
83- mvn -f aggregate/ pom.xml clean source:jar javadoc:jar verify deploy:deploy \
84+ mvn -f pom.xml clean source:jar javadoc:jar verify deploy:deploy \
8485 -DperformRelease=true
8586
8687# Bump the development version.
0 commit comments