File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ rm -f resources/brepl_client.js
1515
1616POM_TEMPLATE=" pom.template.xml"
1717POM_FILE=" pom.xml"
18- CLJS_SCRIPT_MVN_OPTS=${CLJS_SCRIPT_MVN_OPTS:- " " }
18+
19+ CLJS_SCRIPT_MVN_OPTS=(${CLJS_SCRIPT_MVN_OPTS:- } " -DargLine=--add-opens java.base/java.util=ALL-UNNAMED" )
1920
2021# The command `git describe --match v0.0` will return a string like
2122#
@@ -64,15 +65,15 @@ mv $AOT_CACHE_FILE src/main/cljs/cljs/core.cljs.cache.aot.edn
6465
6566# For Hudson server
6667if [ " $HUDSON " = " true" ]; then
67- mvn -B -ntp --fail-at-end -Psonatype-oss-release $ CLJS_SCRIPT_MVN_OPTS \
68+ mvn -B -ntp --fail-at-end -Psonatype-oss-release " ${ CLJS_SCRIPT_MVN_OPTS[@]} " \
6869 clean deploy nexus-staging:release
6970
7071 echo " Creating tag $TAG "
7172 git tag -f " $TAG "
7273 git push origin " $TAG "
7374else
7475 echo " Skipping remote deployment and Git tag because we are not on Hudson."
75- mvn -B -ntp $ CLJS_SCRIPT_MVN_OPTS clean install
76+ mvn -B -ntp " ${ CLJS_SCRIPT_MVN_OPTS[@]} " clean install
7677fi
7778
7879rm -f src/main/cljs/cljs/core.aot.js
You can’t perform that action at this time.
0 commit comments