Hi,
What would be the right way to read the version number from a file?
We decided that not all users (who maybe don't know maven very well) should
check out the delicate pom file .
We have a file like version.properties containing
tavx.current.version=1.2.3a
and defined in the pom
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.abc.tat.tavx</groupId>
<artifactId>tavx</artifactId>
<name>adapter</name>
<packaging>jar</packaging>
<version>${tavx.current.version}</version>
...
<build>
<filters>
<filter>src/resources/version/version.properties</filter>
</filters>
but that doesn't work.
Thanks for help
Markus
--
View this message in context:
http://www.nabble.com/reading-pom.version-from-a-file-tf4670564s177.html#a13342350
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]