@@ -88,11 +88,11 @@ if [ ! -d "$ALT_DEPLOY_DIR" ] ; then
88
88
fi
89
89
90
90
# DEPLOY_OPTS="-Dmaven.test.failure.ignore=true"
91
- DEPLOY_OPTS=" -DskipTests -Dtest=None "
91
+ DEPLOY_OPTS=" -DskipTests"
92
92
# DEPLOY_OPTS="$DEPLOY_OPTS -DaltDeploymentRepository=intarget::default::file://$ALT_DEPLOY_DIR/"
93
93
94
94
# Uncomment for Java 1.7
95
- export MAVEN_OPTS=" -Xmx1g -XX:MaxPermSize=128m "
95
+ export MAVEN_OPTS=" -Xmx2g "
96
96
97
97
echo " "
98
98
echo " -----------------------------------------------"
@@ -131,19 +131,13 @@ reportMavenTestFailures() {
131
131
132
132
echo " "
133
133
if proceedyn " Are you sure you want to release using above? (y/N)" n; then
134
+ mvn clean install -pl build-resources
134
135
echo " "
135
136
if proceedyn " Update VERSION.txt for $VER_RELEASE ? (Y/n)" y; then
136
- # Uncomment alternate JVM for jetty 9.2 builds
137
- # JAVA_HOME_ORIG=$JAVA_HOME
138
- # PATH_ORIG=$PATH
139
- # JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home
140
- # PATH=$JAVA_HOME/bin:$PATH
141
- mvn --debug -N -Pupdate-version generate-resources
137
+ mvn -N -Pupdate-version generate-resources
142
138
cp VERSION.txt VERSION.txt.backup
143
139
cat VERSION.txt.backup | sed -e " s/$VER_CURRENT /$VER_RELEASE /" > VERSION.txt
144
140
rm VERSION.txt.backup
145
- # JAVA_HOME=$JAVA_HOME_ORIG
146
- # PATH=$PATH_ORIG
147
141
echo " VERIFY the following files (in a different console window) before continuing."
148
142
echo " VERSION.txt - top section"
149
143
echo " target/version-tag.txt - for the tag commit message"
0 commit comments