tags:

views:

119

answers:

1

Is there a goal one can execute that will just echo the version of a pom? I can think of a way to make it work using the maven-ant-plugin, but that requires me to have ant-plugin configuration in the pom and I would like a method that would work with any pom.

+3  A: 
mvn help:evaluate -Dexpression=project.version
mhaller