[Lada-commits] [PATCH 1 of 4] Added example config for remote deployment

Wald Commits scm-commit at wald.intevation.org
Tue Sep 24 13:57:55 CEST 2013


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1380020798 -7200
# Node ID d878ff29e521bc8478a881eb698a078802a6a247
# Parent  8e335385ef95075ef87933b4ef007b50d732a081
Added example config for remote deployment.

diff -r 8e335385ef95 -r d878ff29e521 pom.xml
--- a/pom.xml	Thu Sep 12 12:34:48 2013 +0200
+++ b/pom.xml	Tue Sep 24 13:06:38 2013 +0200
@@ -278,6 +278,33 @@
         </profile>
 
         <profile>
+            <id>remote</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.jboss.as.plugins</groupId>
+                        <artifactId>jboss-as-maven-plugin</artifactId>
+                        <version>7.1.1.Final</version>
+                        <configuration>
+                            <hostname>ike.polyhedra.intevation.de</hostname>
+                            <port>9999</port>
+                            <username>admin</username>
+                            <password>secret</password>
+                        </configuration>
+                        <executions>
+                            <execution>
+                                <id>deploy-jar</id>
+                                <phase>install</phase>
+                                <goals>
+                                    <goal>deploy</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
             <!-- An optional Arquillian testing profile that executes tests 
                 in your JBoss AS instance -->
             <!-- This profile will start a new JBoss AS instance, and execute 


More information about the Lada-commits mailing list