[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] Specify management interface credentials when
From:       Sergey Zhigunov <sergey.zhigunov () gmail ! com>
Date:       2011-07-28 19:47:11
Message-ID: CAKGRWvuEyt986q1NJ3xnqyQ+E=YbDqfXLybn3PQK7YXH8j9DVQ () mail ! gmail ! com
[Download RAW message or body]

Hi,

Does anybody knows how to specify user / password when running JBoss 7
Maven plugin?

I am running JBoss 7 final and trying to deploy quickstarts app. I
have JBoss management interface secured with admin / admin. I am
getting:

"Could not execute goal deploy on jboss-as-helloworld.war. Reason: No
more authentication mechanisms to try'

I tried to add  server definition to Maven settings.xml:
    <server>
      <id>localhost</id>
      <username>admin</username>
      <password>admin</password>
    </server>	

And added to plugin definition in pom.xml:

        <plugin>
            <groupId>org.jboss.as.plugins</groupId>
            <artifactId>jboss-as-maven-plugin</artifactId>
            <version>7.0.0.Final</version>
			<configuration>
			    <servername>localhost</servername>
  			     <hostname>localhost</hostname>	
			</configuration>
         </plugin>

It does not work.

Thanks,

Sergey
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic