Skip to content

Commit

Permalink
Use the Maven Wrapper only in Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Mar 6, 2024
1 parent 52b5d7a commit 76d8f2b
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ pipeline {
}

tools {
maven "apache-maven-3.9.2"
jdk "temurin-jdk17-latest"
}

Expand Down
2 changes: 2 additions & 0 deletions full-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ done

MVN_ARGS+=(-PuseJenkinsSnapshots)

MVN_ARGS+=("-Dmaven.home=$(./mvnw --version | grep "Maven home:" | cut -c 13-)")

echo ./mvnw -B -f org.eclipse.xtext.full.releng ${MVN_ARGS[@]} $@

#echo "Using target platform '$TARGET_PLATFORM'"
Expand Down
2 changes: 2 additions & 0 deletions full-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ done

MVN_ARGS+=(-PuseJenkinsSnapshots)

MVN_ARGS+=("-Dmaven.home=$(./mvnw --version | grep "Maven home:" | cut -c 13-)")

echo ./mvnw -B -f org.eclipse.xtext.full.releng ${MVN_ARGS[@]} $@

./mvnw -B \
Expand Down
1 change: 0 additions & 1 deletion jenkins/milestone-deploy/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ pipeline {
}

tools {
maven "apache-maven-3.9.2"
jdk "temurin-jdk17-latest"
}

Expand Down
1 change: 0 additions & 1 deletion jenkins/nightly-deploy/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ pipeline {
}

tools {
maven "apache-maven-3.9.2"
jdk "temurin-jdk17-latest"
}

Expand Down
1 change: 0 additions & 1 deletion jenkins/release-deploy/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ pipeline {
}

tools {
maven "apache-maven-3.9.2"
jdk "temurin-jdk17-latest"
}

Expand Down

0 comments on commit 76d8f2b

Please sign in to comment.