Hello all,
My problem is quite simple.
I have a properties file wherein i have projectname webmodulename,
version and other informations.
I'd like to tell maven to retrieve these values into the pom.xml .For
instance , i need to set default target directory to
${projectname}-${version} instead of
Maven does not support reading properties out of external files like Ant.
As for changing from /target to /whatever, before you start heading
down this road, please do a little reading about what Maven is trying
to do for you etc. Sonatype.com and Devzuz.com have links to free pdf
ebooks they
Thanks , I'll already do it.
So the example of target i give is not the good one.I need to load
some properties that i don't know the value by advance. Our
development center tag a version of application in cvs , and send us
a file where are defined the version, the projectname, the moduleweb
Maven is not Ant. Maven does not read from external property files and
insert values into the pom at runtime.
Wayne
On 3/26/08, Tom Joad [EMAIL PROTECTED] wrote:
Thanks , I'll already do it.
So the example of target i give is not the good one.I need to load
some properties that i don't know
Ok . I need to consider our build processing in other way ie maven way.
Thanks again.
2008/3/26, Wayne Fay [EMAIL PROTECTED]:
Maven is not Ant. Maven does not read from external property files and
insert values into the pom at runtime.
Wayne
On 3/26/08, Tom Joad [EMAIL PROTECTED] wrote: