You can use the system property basedir
For example :
http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/xdoc/src/test/org/apache/maven/NavBeanTest.java?rev=170200&view=markup

Arnaud
 

> -----Message d'origine-----
> De : Alexandre Poitras [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 1 novembre 2005 20:17
> À : Maven Users List
> Objet : Refering to a resource by a property
> 
> Hi to all the maven experts out there!
> 
> I'm looking for a way in my pom to refer to my resources 
> directory in a dynamic way (by a property). Right now, the 
> entry is looking like "src/main/resources/xsd/gdu.xsd" but I 
> would like to have something like "{ 
> pom.build.resources...}". By the way, do you think I am too 
> precautious? Is it worth it to use a variable or it's alright 
> to write directly the path value?
> 
> Thanks for any help! It's really appreciated!
> 
> --
> Alexandre Poitras
> Québec, Canada
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to