I poked around in the code and tomcat-maven-plugin inherits the
authentication details from WagonManager. And I don't know how to pass
this info to WagonManager without using settings.xml.

If you really need this, you could modify the tomcat-maven-plug code
itself to accept -D style authentication information. Or you could
write your own plugin, and set it up to read the username from the
command line without much trouble.

Wayne

On 9/3/07, Alexandre Gomes <[EMAIL PROTECTED]> wrote:
> Hi,
>
> based on [1], how can I pass a diferent username for Tomcat Manager,
> using -D command option (and not settings.xml) ?
>
> I tried -D tomcat.server.username=root, but it doesn't seem to work.
>
> [1] http://mojo.codehaus.org/tomcat-maven-plugin/configuration.html
>
> thanks
> Ale!
>
> ---------------------------------------------------------------------
> 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