I seem to recall reading that it is possible to use a custom property
in a settings.xml file.
For example I should be able to have;
<settings>
...
<localRepository>${workarea}/repository</localRepository>
...
</settings>
and then invoke maven with
mvn -Dworkarea=/home/myuser/development/myproj clean package
and expect my build to use
/home/myuser/development/myproj/repository
as the local repository.
However, I have tried it and it does not seem to work.
Can anyone tell me what I am doing wrong?
If it is not possible, is there any other way I can have a local
repository that is not hardcoded in the settings file?
-- Vihung
_________________________________________________________________
This e-mail may contain confidential information and/or copyright material.
This e-mail is intended for the use of the addressee only. Any unauthorised use
may be unlawful.
If you receive this e-mail by mistake please advise the sender immediately by
using the reply facility in your e-mail software.
The Friends Provident group of companies includes these Friends Provident plc
subsidiary companies:
Friends Provident Life and Pensions Limited. Registered number 4096141.
Friends Provident Life Assurance Limited. Registered number 782698.
Friends Provident Pensions Limited. Registered number 475201.
Friends Provident Marketing Limited. Registered number 5059179.
Each of the above subsidiary companies is authorised and regulated by the
Financial Services Authority.
Friends Provident Management Services Limited. Registered number 983330
The ultimate holding company is Friends Provident plc. Registered number
4113107.
All are incorporated companies limited by shares and registered in England.
Registered and Head Office: Pixham End, Dorking, Surrey RH4 1QA.
www.friendsprovident.com
_________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]