The site settings descriptor reference is here:
http://maven.apache.org/ref/current/maven-settings/settings.html

A property in settings.xml is the way to go if its just on your own local workstation.

The other option is to have the 'catalina.home' value specified in Cargo plugin's configuration in the pom.xml itself (that is if you have consistent Tomcat home location in a team).

Another option could be to have some property set up in settings.xml and who's value is used to configure the Cargo plugin in pom.xml, that get different values easily on different dev workstations or get values based on activated profiles.

Cheers,
Rahul


----- Original Message ----- From: "Alex Shneyderman" <[EMAIL PROTECTED]>
To: "Maven Users List" <users@maven.apache.org>
Sent: Friday, July 14, 2006 4:10 AM
Subject: setting a property in settings.xml?


I am using Cargo plugin to deploy war to my local tomcat and need to
specify catalina home directory. Now I do mvn -Dcatalina.home=c:/tc
and it works but typing this on my command line every time is tedious.

Is there a way to define it in settings.xml? I just can't seem to find it.

--
Thanks,
Alex.

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



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

Reply via email to