Henry S. Isidro wrote:

[snipped...]

Have you tried passing it via command line? For example, mvn package -Dlocal.repo.url=your_local_repo

Why would I want to do this...? That would mean every time I run maven, I've
got to specify loads of options, which defeats the point really. What I want
is something like a properties file that each developer can change to suit
themselves and that will replace values in the pom.xml when it comes to doing
anything.

I'm new to mven and want to use it on a couple of new prokject instead of ant,
but unless I can do something similar to loading a properties file with ant,
I'll have to go back to using ant. Using ant, I'd do -

<property file="build.properties" />.

What do I do with maven...?

Cheers,

--
Bob Arnott

Senior Software Developer
Autonomy Systems Ltd.
Cambridge Business Park
Cowley Road
Cambridge
CB4 0WZ

T: +44 (0) 1223 448 000
F: +44 (0) 1223 448 001
http://www.aungate.com/


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

Reply via email to