According to [1] the command line parameter to set the url is
maven.tomcat.url. Maybe you can try -Dmaven.tomcat.url=myUrl.
Hth,
Nick S.
[1] http://mojo.codehaus.org/tomcat-maven-plugin/deploy-mojo.html#url
Adam Fisk wrote:
This seems like a ridiculously simple problem, but I'm pulling my
Hi Adam,
You could interpolate ${url} in your tomcat-maven-plugin configuration:
build
plugins
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdtomcat-maven-plugin/artifactId
configuration
url${url}/url
/configuration
/plugin
/plugins
/build
and then
Hi Nick- Thanks for getting back to me. That didn't do it, unfortunately.
I can't seem to get any plugin to read any command line property. Has
anyone else had success with this? Any other ideas Nick?
Thanks.
-Adam
On 5/1/07, Nick Stolwijk [EMAIL PROTECTED] wrote:
According to [1] the
Steve- You rock. It works perfectly. Thank you so much. I'm off to the
races.
-Adam
On 5/1/07, Steven Rowe [EMAIL PROTECTED] wrote:
Hi Adam,
You could interpolate ${url} in your tomcat-maven-plugin configuration:
build
plugins
plugin
groupIdorg.codehaus.mojo/groupId
This seems like a ridiculously simple problem, but I'm pulling my hair out
just specifying a property on the command line. I'd like my properties
defined on the command line to register at all with various plugins, but I
just can't get it to work. For example, I'd like to do the following:
mvn