Last active
November 20, 2017 10:16
-
-
Save bench/dc5be489f098a758091219b966a0f1d3 to your computer and use it in GitHub Desktop.
retrieve project version from maven pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mvn help:evaluate -Dexpression=project.version | grep -Ev 'INFO|WARNING' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment