Use mvn wrapper
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 5ca68c8..e73c4e1 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -54,4 +54,4 @@
cache: 'maven'
- name: Build with Maven
- run: mvn -e -B -V -ntp clean package site
+ run: ./mvnw -e -B -V -ntp clean package site
diff --git a/Jenkinsfile b/Jenkinsfile
index c60a452..1b34918 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -77,7 +77,7 @@
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 {
@@ -90,7 +90,7 @@
stage('Ensure site build works') {
steps {
echo 'Verify site build is okay ....'
- sh 'mvn site:site'
+ sh './mvnw site:site'
}
}
}