Start extracting Maven version
@@ -45,6 +45,10 @@ jobs:
# gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
- name: Build
run: ./mvnw -V -B -ff -ntp verify
+ - name: Extract Maven Version
+ run: VERSION=$( ./mvnw org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -DforceStdout -Dexpression=project.version -q )
+ - name: Display Maven Version
+ run: echo "Maven version found to be: [ $VERSION ]..."
- name: Deploy snapshot
if: github.event_name != 'pull_request' && matrix.java_version == '8'
env:
