Repository: deltaspike
Updated Branches:
  refs/heads/master 126b03d8c -> d7942b54b


DELTASPIKE-706 Multiple CDI API versions on classpath in JSF module tests (Weld)


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

Branch: refs/heads/master
Commit: d7942b54ba7ba699b90da0ee9f17f474c22075f3
Parents: 126b03d
Author: Jozef Hartinger <[email protected]>
Authored: Tue Sep 2 16:43:14 2014 +0200
Committer: Jozef Hartinger <[email protected]>
Committed: Wed Sep 3 08:40:02 2014 +0200

----------------------------------------------------------------------
 deltaspike/modules/jsf/pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/d7942b54/deltaspike/modules/jsf/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/pom.xml b/deltaspike/modules/jsf/pom.xml
index f87cb74..0949627 100644
--- a/deltaspike/modules/jsf/pom.xml
+++ b/deltaspike/modules/jsf/pom.xml
@@ -48,6 +48,17 @@
             <!-- just needed for compiling >optional< classes for jsf 2.2 jsf 
2.0 and 2.1 compatibility is ensured via test-cases -->
             <version>${myfaces22.version}</version>
             <scope>provided</scope>
+            <exclusions>
+                <!-- Exclude transitive CDI API dependencies -->
+                <exclusion>
+                    <groupId>org.apache.geronimo.specs</groupId>
+                    <artifactId>geronimo-jcdi_1.0_spec</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.geronimo.specs</groupId>
+                    <artifactId>geronimo-atinject_1.0_spec</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
     </dependencies>
 </project>

Reply via email to