@@ -15,8 +15,8 @@ mvn -f aggregate install
15
15
16
16
echo
17
17
echo 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.
20
20
21
21
echo
22
22
echo Check https://central.sonatype.org/pages/apache-maven.html#nexus-staging-maven-plugin-for-deployment-and-release
@@ -46,10 +46,11 @@ cd "$RELEASE_CLONE"
46
46
# mvn release:update-versions puts -SNAPSHOT on the end no matter what
47
47
# so this is a two step process.
48
48
export 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
50
51
mvn -f " $project " /pom.xml install
51
52
done
52
- for project in parent aggregate empiricism ; do
53
+ for project in $POM_DIRS ; do
53
54
mvn -f " $project " /pom.xml \
54
55
release:update-versions \
55
56
-DautoVersionSubmodules=true \
@@ -71,7 +72,7 @@ perl -i.bak \
71
72
$EDITOR change_log.md
72
73
73
74
# 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 \
75
76
-DperformRelease=true
76
77
77
78
# Commit and tag
@@ -80,7 +81,7 @@ git tag -m "Release $NEW_VERSION" -s "release-$NEW_VERSION"
80
81
git push origin " release-$NEW_VERSION "
81
82
82
83
# 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 \
84
85
-DperformRelease=true
85
86
86
87
# Bump the development version.
0 commit comments