CDI APIs.
APIs for JSR-299: Contexts and Dependency Injection for Java EE.
Here is the list of declaration for cdi-api. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>javax.enterprise</groupId> <artifactId>cdi-api</artifactId> <version>1.0-SP4</version> </dependency>
If you think this Maven repository POM file listing for cdi-api is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.html.
The following table lists the most popular artifacts which are depending on cdi-api-1.0-SP4. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
JEE Container | javax.transaction-api 1.2 Project GlassFish Java Transaction API | 31 |
The following packages are defined in the cdi-api-1.0-SP4.jar
javax.decorator javax.enterprise.context javax.enterprise.context.spi javax.enterprise.event javax.enterprise.inject javax.enterprise.inject.spi javax.enterprise.util
Here is the content of the POM file.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.jboss.weld</groupId> <artifactId>weld-parent</artifactId> <version>17</version> <relativePath /> </parent> <groupId>javax.enterprise</groupId> <artifactId>cdi-api</artifactId> <packaging>jar</packaging> <version>1.0-SP4</version> <name>CDI APIs</name> <description>APIs for JSR-299: Contexts and Dependency Injection for Java EE</description> <url>http://www.seamframework.org/Weld</url> <licenses> <license> <name>Apache License, Version 2.0</name> <distribution>repo</distribution> <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> </license> </licenses> <ciManagement> <system>Hudson</system> <url>http://hudson.jboss.org</url> </ciManagement> <issueManagement> <system>JIRA</system> <url>http://jira.jboss.org/browse/WELD</url> </issueManagement> <organization> <name>Seam Framework</name> <url>http://seamframework.org</url> </organization> <inceptionYear>2008</inceptionYear> <properties> <atinject.api.version>1</atinject.api.version> <ejb.api.version>1.0.0.CR2</ejb.api.version> <jsr250.api.version>1.0</jsr250.api.version> <uel.api.version>2.2</uel.api.version> <interceptor.api.version>1.0.0.Beta1</interceptor.api.version> </properties> <!-- Configure all dependencies (e.g. testing)--> <dependencyManagement> <dependencies> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>5.10</version> <classifier>jdk15</classifier> </dependency> <dependency> <groupId>javax.annotation</groupId> <artifactId>jsr250-api</artifactId> <version>${jsr250.api.version}</version> </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>${atinject.api.version}</version> </dependency> <dependency> <groupId>javax.el</groupId> <artifactId>el-api</artifactId> <version>${uel.api.version}</version> </dependency> <!-- TODO replace with javax.ejb:ejb-api:3.1 once the JCP/Sun publish this --> <dependency> <groupId>org.jboss.spec.javax.ejb</groupId> <artifactId>jboss-ejb-api_3.1_spec</artifactId> <version>${ejb.api.version}</version> <exclusions> <exclusion> <artifactId>jboss-transaction-api_1.1_spec</artifactId> <groupId>org.jboss.spec.javax.transaction</groupId> </exclusion> <exclusion> <artifactId>jaxrpc-api</artifactId> <groupId>javax.xml</groupId> </exclusion> </exclusions> </dependency> <!-- TODO replace with javax.interceptor:interceptor-api:3.1 once the JCP/Sun publish this --> <dependency> <groupId>org.jboss.spec.javax.interceptor</groupId> <artifactId>jboss-interceptors-api_1.1_spec</artifactId> <version>${interceptor.api.version}</version> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>javax.el</groupId> <artifactId>el-api</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.jboss.spec.javax.ejb</groupId> <artifactId>jboss-ejb-api_3.1_spec</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.jboss.spec.javax.interceptor</groupId> <artifactId>jboss-interceptors-api_1.1_spec</artifactId> </dependency> <dependency> <groupId>javax.annotation</groupId> <artifactId>jsr250-api</artifactId> </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <classifier>jdk15</classifier> <scope>test</scope> </dependency> </dependencies> <scm> <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/cdi-api/tags/1.0-SP4</connection> <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/cdi-api/tags/1.0-SP4</developerConnection> <url>http://fisheye.jboss.org/browse/weld/cdi-api/tags/1.0-SP4</url> </scm> <profiles> <profile> <id>jboss-public-repository</id> <activation> <property> <name>jboss-public-repository</name> <value>!false</value> </property> </activation> <repositories> <repository> <id>jboss-public-repository-group</id> <name>JBoss Public Maven Repository Group</name> <url>http://repository.jboss.org/nexus/content/groups/public</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>jboss-public-repository-group</id> <name>JBoss Public Maven Repository Group</name> <url>http://repository.jboss.org/nexus/content/groups/public</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> </project>