camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject git commit: CAMEL-6737: Added mvn plugin to camel web archetype to deploy to JBoss AS.
Date Thu, 12 Sep 2013 10:23:49 GMT
Updated Branches:
  refs/heads/master 57c1d1b68 -> da66383d3


CAMEL-6737: Added mvn plugin to camel web archetype to deploy to JBoss AS.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/da66383d
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/da66383d
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/da66383d

Branch: refs/heads/master
Commit: da66383d31ca75835aa9b30885ddc210df04c81a
Parents: 57c1d1b
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Sep 12 12:23:16 2013 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Sep 12 12:23:16 2013 +0200

----------------------------------------------------------------------
 parent/pom.xml                                               | 1 +
 .../resources-filtered/META-INF/maven/archetype-metadata.xml | 3 +++
 .../src/main/resources/archetype-resources/ReadMe.txt        | 8 ++++++++
 .../src/main/resources/archetype-resources/pom.xml           | 7 +++++++
 4 files changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/da66383d/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index 1ba1841..69997e2 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -272,6 +272,7 @@
     <maven-install-plugin-version>2.4</maven-install-plugin-version>
     <maven-jar-plugin-version>2.4</maven-jar-plugin-version>
     <maven-javadoc-plugin-version>2.9.1</maven-javadoc-plugin-version>
+    <maven-jboss-as-maven-plugin-version>7.4.Final</maven-jboss-as-maven-plugin-version>
     <maven-plugin-plugin-version>3.2</maven-plugin-plugin-version>
     <maven-remote-resources-plugin-version>1.4</maven-remote-resources-plugin-version>
     <maven-resources-plugin-version>2.6</maven-resources-plugin-version>

http://git-wip-us.apache.org/repos/asf/camel/blob/da66383d/tooling/archetypes/camel-archetype-web/src/main/resources-filtered/META-INF/maven/archetype-metadata.xml
----------------------------------------------------------------------
diff --git a/tooling/archetypes/camel-archetype-web/src/main/resources-filtered/META-INF/maven/archetype-metadata.xml
b/tooling/archetypes/camel-archetype-web/src/main/resources-filtered/META-INF/maven/archetype-metadata.xml
index 17e584a..a73750d 100644
--- a/tooling/archetypes/camel-archetype-web/src/main/resources-filtered/META-INF/maven/archetype-metadata.xml
+++ b/tooling/archetypes/camel-archetype-web/src/main/resources-filtered/META-INF/maven/archetype-metadata.xml
@@ -36,6 +36,9 @@
     <requiredProperty key="maven-resources-plugin-version">
       <defaultValue>${maven-resources-plugin-version}</defaultValue>
     </requiredProperty>
+    <requiredProperty key="maven-jboss-as-maven-plugin-version">
+      <defaultValue>${maven-jboss-as-maven-plugin-version}</defaultValue>
+    </requiredProperty>
     <requiredProperty key="slf4j-version">
       <defaultValue>${slf4j-version}</defaultValue>
     </requiredProperty>

http://git-wip-us.apache.org/repos/asf/camel/blob/da66383d/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/ReadMe.txt
----------------------------------------------------------------------
diff --git a/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/ReadMe.txt
b/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/ReadMe.txt
index dee8b03..ca1a12e 100644
--- a/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/ReadMe.txt
+++ b/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/ReadMe.txt
@@ -13,6 +13,14 @@ favorite web container or just run
 
 to start up and deploy to Jetty.
 
+If you have JBoss AS running you can deploy using
+
+   mvn jboss-as:deploy
+
+Or to redeploy
+
+    mvn jboss-as:redeploy
+
 For more help see the Apache Camel documentation
 
     http://camel.apache.org/

http://git-wip-us.apache.org/repos/asf/camel/blob/da66383d/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/pom.xml
b/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/pom.xml
index 9ca3a9f..a109eeb 100644
--- a/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/pom.xml
+++ b/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/pom.xml
@@ -128,6 +128,13 @@
         </configuration>
       </plugin>
 
+      <!-- plugin to deploy to JBoss AS with: mvn jboss-as:deploy (you can also do redeploy/undeploy)
-->
+      <plugin>
+        <groupId>org.jboss.as.plugins</groupId>
+        <artifactId>jboss-as-maven-plugin</artifactId>
+        <version>${maven-jboss-as-maven-plugin-version}</version>
+      </plugin>
+
     </plugins>
   </build>
 


Mime
View raw message