gCurrently trying to make deployment of my web-project (EAR packed) into jboss, and met next problem:
settings.xml:
<settings>
...
<servers>
<server>
<id>default</id>
<password>xxx</password>
<username>xxx</username>
</server>
</servers>
...
</settings>
What do I need to write in jboss-as-maven-plugin configuration in maven pom.xml to make it take credentials from this section? For example, with Tomcat it was < server> parameter. I already tried "server","serverId","id", changing "username" to "name" in settings.xml - no effect.
The reason for this is security measure - lets say i wanna post this project on github etc, but don't want keeping credentials at file. Of-course, as i googled around, I so, how to handle it via command line - therefore, can be handled via IDE. But what in case of many projects etc?... Change everywhere?..