camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astefanu...@apache.org
Subject camel git commit: Declare DeltaSpike and Weld as Camel Maven plugin dependencies
Date Thu, 03 Mar 2016 14:42:12 GMT
Repository: camel
Updated Branches:
  refs/heads/master 664562d3c -> beb08eed5


Declare DeltaSpike and Weld as Camel Maven plugin dependencies


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

Branch: refs/heads/master
Commit: beb08eed5d6bf1c61fb7a2a17ae02b2e5952295d
Parents: 664562d
Author: Antonin Stefanutti <antonin@stefanutti.fr>
Authored: Thu Mar 3 15:42:00 2016 +0100
Committer: Antonin Stefanutti <antonin@stefanutti.fr>
Committed: Thu Mar 3 15:42:00 2016 +0100

----------------------------------------------------------------------
 .../main/resources/archetype-resources/pom.xml  | 44 +++++++-------------
 1 file changed, 16 insertions(+), 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/beb08eed/tooling/archetypes/camel-archetype-cdi/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/tooling/archetypes/camel-archetype-cdi/src/main/resources/archetype-resources/pom.xml
b/tooling/archetypes/camel-archetype-cdi/src/main/resources/archetype-resources/pom.xml
index e08fb5f..9980f61 100644
--- a/tooling/archetypes/camel-archetype-cdi/src/main/resources/archetype-resources/pom.xml
+++ b/tooling/archetypes/camel-archetype-cdi/src/main/resources/archetype-resources/pom.xml
@@ -35,12 +35,6 @@
 
   <dependencies>
 
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-cdi</artifactId>
-      <version>${camel-version}</version>
-    </dependency>
-
     <!-- CDI API -->
     <dependency>
       <groupId>javax.enterprise</groupId>
@@ -49,29 +43,11 @@
       <scope>provided</scope>
     </dependency>
 
-    <!-- need to use a CDI container such as JBoss Weld -->
-    <!-- lets use weld for CDI -->
-    <dependency>
-      <groupId>org.jboss.weld.se</groupId>
-      <artifactId>weld-se</artifactId>
-      <version>${weld2-version}</version>
-    </dependency>
+    <!-- Camel CDI -->
     <dependency>
-      <groupId>org.jboss.weld</groupId>
-      <artifactId>weld-core</artifactId>
-      <version>${weld2-version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.deltaspike.core</groupId>
-      <artifactId>deltaspike-core-api</artifactId>
-      <version>${deltaspike-version}</version>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.deltaspike.cdictrl</groupId>
-      <artifactId>deltaspike-cdictrl-weld</artifactId>
-      <version>${deltaspike-version}</version>
-      <scope>runtime</scope>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-cdi</artifactId>
+      <version>${camel-version}</version>
     </dependency>
 
     <!-- logging -->
@@ -125,6 +101,18 @@
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-maven-plugin</artifactId>
         <version>${camel-version}</version>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.deltaspike.cdictrl</groupId>
+            <artifactId>deltaspike-cdictrl-weld</artifactId>
+            <version>${deltaspike-version}</version>
+          </dependency>
+          <dependency>
+            <groupId>org.jboss.weld.se</groupId>
+            <artifactId>weld-se</artifactId>
+            <version>${weld2-version}</version>
+          </dependency>
+        </dependencies>
       </plugin>
 
     </plugins>


Mime
View raw message