Get maven project version from the terminal

Very often, when working on projects, you need to get the version of the pom.xml application from the command line.
Here’s how you can do it:

Using help:evaluate

Need read version in java? Check this example.

Recomended books:


One Comment on “Get maven project version from the terminal”

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.