deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manov...@apache.org
Subject deltaspike git commit: DELTASPIKE-1232 Fix a glitch, where some builds might be missing weld-api version.
Date Tue, 24 Jan 2017 11:12:57 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master b4126f708 -> 1cfe5dc46


DELTASPIKE-1232 Fix a glitch, where some builds might be missing weld-api version.


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

Branch: refs/heads/master
Commit: 1cfe5dc46695716cdbcc6184fcbaaef2bb0c68c2
Parents: b4126f7
Author: Matej Novotny <manovotn@apache.org>
Authored: Tue Jan 24 12:11:36 2017 +0100
Committer: Matej Novotny <manovotn@apache.org>
Committed: Tue Jan 24 12:11:36 2017 +0100

----------------------------------------------------------------------
 deltaspike/cdictrl/impl-weld/pom.xml | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/1cfe5dc4/deltaspike/cdictrl/impl-weld/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/cdictrl/impl-weld/pom.xml b/deltaspike/cdictrl/impl-weld/pom.xml
index e1432d2..d3298b3 100644
--- a/deltaspike/cdictrl/impl-weld/pom.xml
+++ b/deltaspike/cdictrl/impl-weld/pom.xml
@@ -32,6 +32,19 @@
 
     <name>Apache DeltaSpike CDI Weld-ContainerControl</name>
 
+    <dependencyManagement>
+        <dependencies>
+            <!-- This will ensure that there will always be correct Weld API version for
any build -->
+            <dependency>
+                <groupId>org.jboss.weld</groupId>
+                <artifactId>weld-core-bom</artifactId>
+                <version>${weld.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.deltaspike.cdictrl</groupId>
@@ -42,7 +55,6 @@
         <dependency>
             <groupId>org.jboss.weld.se</groupId>
             <artifactId>weld-se-core</artifactId>
-            <version>${weld.version}</version>
             <scope>provided</scope>
         </dependency>
         


Mime
View raw message