Last active
August 29, 2015 14:23
-
-
Save bparry02/acaf7c30f2c58cd8580d to your computer and use it in GitHub Desktop.
jboss-as:deploy to remote server. Make sure management interface is bound to an external interface. Optionally specify host from command line instead of creating a profile via: mvn clean package jboss-as:deploy -Djboss-as.hostname=my-remote-host -Djboss-as.id=my-remote-host
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <profiles> | |
| <profile> | |
| <id>deploy-remote</id> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.jboss.as.plugins</groupId> | |
| <artifactId>jboss-as-maven-plugin</artifactId> | |
| <version>${version.jboss.maven.plugin}</version> | |
| <configuration> | |
| <!-- server element from settings.xml. Can also set via jboss-as.id system property --> | |
| <id>my-remote-host</id> | |
| <!-- hostname of remote server. Can also set via jboss-as.hostname system property --> | |
| <hostname>my-remote-host</hostname> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| </profiles> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <servers> | |
| <server> | |
| <id>my-remote-host</id> | |
| <username>my-management-user</username> | |
| <password>password</password> | |
| </server> | |
| </servers> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment