You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2012/09/27 15:06:18 UTC

svn commit: r1390985 - in /camel/trunk/examples/camel-example-cdi: README.txt pom.xml src/main/webapp/

Author: bvahdat
Date: Thu Sep 27 13:06:17 2012
New Revision: 1390985

URL: http://svn.apache.org/viewvc?rev=1390985&view=rev
Log:
Fixed the two maven profiles (glassfish/jboss) being broken again. Also removed 'src/main/webapp/beans.xml' which is obsolete.

Removed:
    camel/trunk/examples/camel-example-cdi/src/main/webapp/
Modified:
    camel/trunk/examples/camel-example-cdi/README.txt
    camel/trunk/examples/camel-example-cdi/pom.xml

Modified: camel/trunk/examples/camel-example-cdi/README.txt
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cdi/README.txt?rev=1390985&r1=1390984&r2=1390985&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cdi/README.txt (original)
+++ camel/trunk/examples/camel-example-cdi/README.txt Thu Sep 27 13:06:17 2012
@@ -21,7 +21,7 @@ You can see the routing rules by looking
 When we launch the example using the camel maven plugin, a local CDI container
 is created and started. Additionally there're two maven profiles being defined
 by this example (see pom.xml for details) so that using maven we can easily embed
-and deploy the example into an application server.
+and deploy the example as a web-app into an application server.
 
 To run the example using JBoss type
   mvn deploy -Pjboss

Modified: camel/trunk/examples/camel-example-cdi/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cdi/pom.xml?rev=1390985&r1=1390984&r2=1390985&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cdi/pom.xml (original)
+++ camel/trunk/examples/camel-example-cdi/pom.xml Thu Sep 27 13:06:17 2012
@@ -54,7 +54,8 @@
       <artifactId>camel-cdi</artifactId>
     </dependency>
 
-    <!-- we make use of the javax.ejb.Startup API while running the example embedded inside glassfish/jboss (see the profiles below) -->
+    <!-- we make use of the javax.ejb.Startup API while running the example -->
+    <!-- embedded inside glassfish/jboss (see the 2 profiles below) -->
     <dependency>
       <groupId>org.apache.geronimo.specs</groupId>
       <artifactId>geronimo-ejb_3.1_spec</artifactId>
@@ -94,7 +95,7 @@
 
   <build>
     <plugins>
-      <!-- Allows the routes to be run via 'mvn camel:run' -->
+      <!-- allows the routes to be run via 'mvn camel:run' -->
       <plugin>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-maven-plugin</artifactId>
@@ -170,11 +171,11 @@
       </activation>
       <dependencies>
         <dependency>
-            <groupId>org.jboss.spec</groupId>
-            <artifactId>jboss-javaee-6.0</artifactId>
-            <version>${jboss-javaee-6-version}</version>
-            <type>pom</type>
-            <scope>provided</scope>
+          <groupId>org.jboss.spec</groupId>
+          <artifactId>jboss-javaee-6.0</artifactId>
+          <version>${jboss-javaee-6-version}</version>
+          <type>pom</type>
+          <scope>provided</scope>
         </dependency>
         <dependency>
           <groupId>org.jboss.arquillian.container</groupId>
@@ -195,6 +196,10 @@
       <id>glassfish</id>
       <properties>
         <embedded-glassfish-plugin-version>3.1.2.2</embedded-glassfish-plugin-version>
+
+        <!-- skip running the tests while deploying. you can still run them using the default profile -->
+        <!-- 'arquillian-weld-ee-embedded' having the required dependencies for the test execution -->
+        <maven.test.skip>true</maven.test.skip>
       </properties>
       <build>
         <plugins>
@@ -225,6 +230,10 @@
       <id>jboss</id>
       <properties>
         <jboss-plugin-version>7.2.Final</jboss-plugin-version>
+
+        <!-- skip running the tests while deploying. you can still run them using the default profile -->
+        <!-- 'arquillian-weld-ee-embedded' having the required dependencies for the test execution -->
+        <maven.test.skip>true</maven.test.skip>
       </properties>
       <build>
         <plugins>