diff --git a/Jenkinsfile b/Jenkinsfile index d05bf5ad7b..ac4cae863b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,7 @@ pipeline { export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH export PATH=$JAVA_HOME/bin:/opt/mvnd/bin:$PATH java -version - ./mvnw clean package --settings ./settings.xml + ./mvnw clean package -DskipAntRunForJenkins --settings ./settings.xml mkdir -p backend/target/dependency && (cd backend/target/dependency; jar -xf ../*.jar) ''' } diff --git a/backend/pom.xml b/backend/pom.xml index 17aed5b545..29e6e6cf0c 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -19,6 +19,7 @@ 11 7.15.0 2.7.15 + false @@ -475,6 +476,41 @@ 2.6 + + + org.apache.maven.plugins + maven-antrun-plugin + + + main-class-placement + generate-resources + + ${skipAntRunForJenkins} + + + + + + + + + + + + + + + + + + + + run + + + + + org.apache.maven.plugins maven-dependency-plugin