You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2012/07/09 16:26:22 UTC

[3/3] git commit: explicitely add cdi-api to the Weld dependencies for better IDE support

explicitely add cdi-api to the Weld dependencies for better IDE support

Idea and Eclipse fail to properly detect this dependency from the weld-bom
thus they fail to compile properly in the IDE when the -PWeld profile
is used. So we add this explicitely (despite not really needed for maven)


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

Branch: refs/heads/master
Commit: 75ecfef6ab1c7887bf1f050d7725a323fc0fc4e4
Parents: e2d9ea3
Author: Mark Struberg <st...@apache.org>
Authored: Mon Jul 9 10:20:44 2012 +0200
Committer: Mark Struberg <st...@apache.org>
Committed: Mon Jul 9 10:20:44 2012 +0200

----------------------------------------------------------------------
 deltaspike/parent/code/pom.xml |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/75ecfef6/deltaspike/parent/code/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/parent/code/pom.xml b/deltaspike/parent/code/pom.xml
index 75dc75a..0c05fc4 100644
--- a/deltaspike/parent/code/pom.xml
+++ b/deltaspike/parent/code/pom.xml
@@ -205,6 +205,11 @@
             </dependencyManagement>
             <dependencies>
                 <dependency>
+                    <groupId>javax.enterprise</groupId>
+                    <artifactId>cdi-api</artifactId>
+                    <scope>provided</scope>
+                </dependency>
+                <dependency>
                     <groupId>org.jboss.weld</groupId>
                     <artifactId>weld-api</artifactId>
                     <scope>provided</scope>