jboss7.x - JBoss deployment credetials via maven -
gcurrently trying make deployment of web-project (ear packed) jboss, , met next problem:
settings.xml:
<settings> ... <servers> <server> <id>default</id> <password>xxx</password> <username>xxx</username> </server> </servers> ... </settings>
what need write in jboss-as-maven-plugin configuration in maven pom.xml make take credentials section? example, tomcat < server> parameter. tried "server","serverid","id", changing "username" "name" in settings.xml - no effect.
the reason security measure - lets wanna post project on github etc, don't want keeping credentials @ file. of-course, googled around, so, how handle via command line - therefore, can handled via ide. in case of many projects etc?... change everywhere?..
if you're using latest plugin, 7.4.final, in configuration supply id server in settings.xml.
<build> <plugins> <plugin> <groupid>org.jboss.as.plugins</groupid> <artifactid>jboss-as-maven-plugin</artifactid> <version>7.4.final</version> <configuration> <id>default</id> </configuration> </plugin> </plugins> </build>
Comments
Post a Comment