mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-07 11:01:10 +00:00
fixing the maven build issue
This commit is contained in:
parent
8e55f610de
commit
602ee9b358
2 changed files with 16 additions and 3 deletions
8
jfcli.sh
8
jfcli.sh
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
clear
|
||||
|
||||
export JF_NAME="psazuse" JFROG_CLI_LOG_LEVEL="DEBUG"
|
||||
export JF_RT_URL="https://${JF_NAME}.jfrog.io" RT_REPO_VIRTUAL="springpetclinic-mvn-virtual"
|
||||
|
||||
|
|
@ -6,6 +8,6 @@ export BUILD_NAME="spring-petclinic" BUILD_ID="cmd.$(date '+%Y-%m-%d-%H-%M')"
|
|||
|
||||
jf mvnc --global --repo-resolve-releases ${RT_REPO_VIRTUAL} --repo-resolve-snapshots ${RT_REPO_VIRTUAL}
|
||||
|
||||
jf ca --format=table --threads=100
|
||||
|
||||
jf mvn clean install --build-name=${BUILD_NAME} --build-number=${BUILD_ID}
|
||||
# jf ca --format=table --threads=100
|
||||
# -Denforcer.skip=true
|
||||
jf mvn clean install -DskipTests=true -Denforcer.skip=true -f pom.xml --build-name ${BUILD_NAME} --build-number ${BUILD_ID}
|
||||
11
pom.xml
11
pom.xml
|
|
@ -295,7 +295,18 @@
|
|||
<goal>compile</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<fork>true</fork>
|
||||
<compilerArgs>
|
||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
|
||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
|
||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
|
||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
|
||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED</arg>
|
||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
|
||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
|
||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
|
||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
|
||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
|
||||
<arg>-XDcompilePolicy=simple</arg>
|
||||
<arg>--should-stop=ifError=FLOW</arg>
|
||||
<arg>-Xplugin:ErrorProne -XepDisableAllChecks -Xep:NullAway:ERROR -XepOpt:NullAway:OnlyNullMarked=true -XepOpt:NullAway:CustomContractAnnotations=org.springframework.lang.Contract -XepOpt:NullAway:JSpecifyMode=true</arg>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue