Try,
<properties>
<my.root>C:/App/proj</my.root>
<url>file:///${my.root}/Maven/repository</url>
-----Original Message-----
From: keepfocusing [mailto:[email protected]]
Sent: Wednesday, January 21, 2009 8:48 AM
To: [email protected]
Subject: How to reference home directory in linux?
Hi,
I want to set the local repository position with this expression
"~/m2/repo", which is also used as an example in settings.xml. But it seems
not working unless I change it into absolute path such as
"/home/abc/m2/repo".
1) Is it a bug of maven?
2) How can I do if a reference to home directory is needed here?
Thanks!
--
View this message in context:
http://www.nabble.com/How-to-reference-home-directory-in-linux--tp21577957p21577957.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Received via pineapp
Sent via pineapp
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]