Created
August 15, 2018 02:57
-
-
Save ques0942/43871f3d4f44308c9222b3551338a41c to your computer and use it in GitHub Desktop.
pom.xmlから必要な情報を抜き出す ref: https://qiita.com/ques0942/items/93d3cc1ec32c5e195c0f
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
mvn -f guice-3.0.pom -q '-Dexec.executable=echo' '-Dexec.args=${project.groupId}:${project.artifactId}:${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.6.0:exec |
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
mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate "-Dexpression=project.version" -q -DforceStdout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment