Skip to content

Commit

Permalink
Use mvn wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
ottlinger committed Jan 29, 2024
1 parent a349d1e commit 9b3ab71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
cache: 'maven'

- name: Build with Maven
run: mvn -e -B -V -ntp clean package site
run: ./mvnw -e -B -V -ntp clean package site

# as of 20220505: Invalid workflow file
# The workflow is not valid. .github/workflows/maven.yml (Line: 55, Col: 1): Unexpected value 'notifications'
Expand Down
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pipeline {
steps {
echo 'Building the whole project'
// clean package -B -U -e -fae -V for making sure it just builds
sh 'mvn -B -U -V clean deploy'
sh './mvnw -B -U -V clean deploy'
}
post {
always {
Expand All @@ -90,7 +90,7 @@ pipeline {
stage('Ensure site build works') {
steps {
echo 'Verify site build is okay ....'
sh 'mvn site:site'
sh './mvnw site:site'
}
}

Expand Down

0 comments on commit 9b3ab71

Please sign in to comment.