You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dave Hoffer <DH...@xrite.com> on 2007/10/09 17:44:59 UTC
How to get version of dependency in pom?
I want to get the actual version of a dependency so that I can write this actual version to a manifest file. How can I get this version?
E.x.
If I have a dependency on artifactId=base how can I get its version such that the Base-Version entry will have its version?
<manifestEntries>
<Version>${version}</Version> // OK this works.
<Base-Version>${base.version}</Base-Version> // ? How do I get the version of base ?
</manifestEntries>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org