Renu Gupta schrieb:
[...]
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>jboss-maven-plugin</artifactId>
> <configuration>
> <serverName>default</serverName>
[...]
> But when I execute mvn jboss:deploy it gives following error:
> [INFO] [jboss:deploy]
> [INFO] Deploying F:\Documents and
> Settings\rvgupta\MavenProjects\JBOSS-Trial\simple-webapp\target/simple-webapp.war
> to JBoss.
> [INFO] No server specified for authentication - using defaults
[...]
Not sure about how the jboss plugin operates this, but in case of, say,
tomcat, I have to put these auth informations into my .m2/settings.xml
like this:
<settings>
[...]
<servers>
<server>
<id>default</id>
<username>foo</username>
<password>foobar</password>
</server>
</servers>
[...]
</settings>
Maybe this is what you need here as well?
Cheers,
Kristian
--
Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/
jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771 "One
dreaming alone, it will be only a dream; many dreaming together is the
beginning of a new reality." (Hundertwasser)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]