View Source

h2. Java EE 7 Maven Coordinates

If you need Java EE Full Platform APIs then use the coordinates described in the first row. The second row provides the same for Web Profile. These are the recommended way even if only one or more technology is used. All of them are available in Maven central.

The complete set of coordinates can be seen at:
* Full Platform: [http://search.maven.org/remotecontent?filepath=javax/javaee-api/7.0/javaee-api-7.0.pom|http://search.maven.org/remotecontent?filepath=javax/javaee-api/7.0/javaee-api-7.0.pom]
* Web Profile: [http://search.maven.org/remotecontent?filepath=javax/javaee-web-api/7.0/javaee-web-api-7.0.pom|http://search.maven.org/remotecontent?filepath=javax/javaee-web-api/7.0/javaee-web-api-7.0.pom]

Refer to general guidelines on [Maven Versioning Rules|https://wikis.oracle.com/display/GlassFish/Maven+Versioning+Rules].

|| Component || Maven ||
| Java EE 7 Full Platform&nbsp;[JSR 342|http://jcp.org/en/jsr/detail?id=342] | <dependency> \\
&nbsp; &nbsp;<groupId>javax</groupId>&nbsp;&nbsp; \\
&nbsp;&nbsp;&nbsp; <artifactId>javaee-api</artifactId>&nbsp;&nbsp; \\
&nbsp;&nbsp;&nbsp; <version>7.0</version> \\
</dependency> |
| Java EE 7 Web Profie | <dependency>&nbsp; \\
&nbsp; &nbsp;<groupId>javax</groupId>&nbsp;&nbsp;&nbsp; \\
&nbsp;&nbsp;&nbsp; <artifactId>javaee-web-api</artifactId>&nbsp;&nbsp;&nbsp; \\
&nbsp;&nbsp;&nbsp; <version>7.0</version>&nbsp; \\
</dependency> \\ |
| Concurrency Utilities for Java EE ([JSR 236|http://jcp.org/en/jsr/detail?id=236]) | <dependency> \\
&nbsp;&nbsp;&nbsp; <groupId>javax.enterprise.concurrent</groupId> \\
&nbsp;&nbsp;&nbsp; <artifactId>javax.enterprise.concurrent-api</artifactId> \\
&nbsp;&nbsp;&nbsp; <version>1.0</version>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \\
</dependency> \\ |
| Java Persistence API 2.1 ([JSR 338|http://jcp.org/en/jsr/detail?id=338]) \\ | <dependency>&nbsp; \\
&nbsp; <groupId>org.eclipse.persistence</groupId>&nbsp; \\
&nbsp;&nbsp;&nbsp; <artifactId>javax.persistence</artifactId>&nbsp; \\
&nbsp;&nbsp;&nbsp; <version>2.1.0</version></dependency> \\ |
| Java API for RESTful Web Services 2.0 ([JSR 339|http://jcp.org/en/jsr/detail?id=339]) | <dependency> \\
&nbsp;&nbsp;&nbsp; <groupId>javax.ws.rs</groupId> \\
&nbsp;&nbsp;&nbsp; <artifactId>javax.ws.rs-api</artifactId> \\
&nbsp;&nbsp;&nbsp; <version>2.0</version> \\
</dependency> \\ |
| Servlets 3.1 ([JSR 340|http://jcp.org/en/jsr/detail?id=340]) | <dependency> \\
&nbsp;&nbsp;&nbsp; <groupId>javax.servlet</groupId> \\
&nbsp;&nbsp;&nbsp; <artifactId>javax.servlet-api</artifactId> \\
&nbsp;&nbsp;&nbsp; <version>3.1.0</version> \\
</dependency> \\ |
| Expression Language 3.0 ([JSR 341|http://jcp.org/en/jsr/detail?id=341]) | <dependency> \\
&nbsp;&nbsp;&nbsp; <groupId>javax.el</groupId> \\
&nbsp;&nbsp;&nbsp; <artifactId>javax.el-api</artifactId> \\
&nbsp;&nbsp;&nbsp; <version>3.0.0</version> \\
<dependency> \\ |
| Java Message Service 2.0 ([JSR 343|http://jcp.org/en/jsr/detail?id=343]) | <dependency> \\
&nbsp;&nbsp;&nbsp; <groupId>javax.jms</groupId> \\
&nbsp;&nbsp;&nbsp; <artifactId>javax.jms-api</artifactId> \\
&nbsp;&nbsp;&nbsp; <version>2.0</version> \\
</dependency> \\ |
| JavaServer Faces 2.2 ([JSR 344|http://jcp.org/en/jsr/detail?id=344]) | <dependency> \\
&nbsp;&nbsp;&nbsp; <groupId>javax.faces</groupId> \\
&nbsp;&nbsp;&nbsp; <artifactId>javax.faces-api</artifactId> \\
&nbsp; &nbsp; <version>2.2</version> \\
</dependency> \\ |
| Enterprise JavaBeans 3.2 ([JSR 345|http://www.jcp.org/en/jsr/detail?id=345]) | <dependency>&nbsp; \\
&nbsp;&nbsp;&nbsp; <groupId>javax.ejb</groupId>&nbsp; \\
&nbsp;&nbsp;&nbsp; <artifactId>javax.ejb-api</artifactId>&nbsp; \\
&nbsp; &nbsp; <version>3.2</version>&nbsp; \\
</dependency> \\ |
| Context & Dependency Injection 1.1 ([JSR 346|http://jcp.org/en/jsr/detail?id=346]) | <dependency> \\
&nbsp;&nbsp;&nbsp; <groupId>javax.enterprise</groupId> \\
&nbsp;&nbsp;&nbsp; <artifactId>cdi-api</artifactId> \\
&nbsp;&nbsp;&nbsp; <version>1.1</version> \\
</dependency> \\ |
| Bean Validation 1.1 ([JSR 349|http://jcp.org/en/jsr/detail?id=349]) | <dependency> \\
&nbsp;&nbsp;&nbsp; <groupId>javax.validation</groupId> \\
&nbsp;&nbsp;&nbsp; <artifactId>validation-api</artifactId> \\
&nbsp;&nbsp;&nbsp; <version>1.1.0.Final</version> \\
</dependency> \\ |
| Batch Applications for the Java Platform ([JSR 352|http://jcp.org/en/jsr/detail?id=352]) | <dependency> \\
&nbsp;&nbsp;&nbsp; <groupId>javax.batch</groupId> \\
&nbsp;&nbsp;&nbsp; <artifactId>javax.batch-api</artifactId> \\
&nbsp;&nbsp;&nbsp; <version>1.0</version> \\
</dependency> \\ |
| Java API for JSON Processing ([JSR 353|http://jcp.org/en/jsr/detail?id=353]) | <dependency> \\
&nbsp;&nbsp;&nbsp; <groupId>javax.json</groupId> \\
&nbsp;&nbsp;&nbsp; <artifactId>javax.json-api</artifactId> \\
&nbsp;&nbsp;&nbsp; <version>1.0</version> \\
</dependency> \\ |
| Java API for WebSocket ([JSR 356|http://jcp.org/en/jsr/detail?id=356]) | <dependency> \\
&nbsp;&nbsp;&nbsp; <groupId>javax.websocket</groupId> \\
&nbsp;&nbsp;&nbsp; <artifactId>javax.websocket-api</artifactId> \\
&nbsp;&nbsp;&nbsp; <version>1.0</version>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \\
</dependency> \\ |
| Java Transaction API 1.2 ([JSR 907|http://jcp.org/en/jsr/detail?id=907]) | <dependency>&nbsp; \\
&nbsp;&nbsp;&nbsp; <groupId>javax.transaction</groupId>&nbsp; \\
&nbsp;&nbsp;&nbsp; <artifactId>javax.transaction-api</artifactId>&nbsp; \\
&nbsp;&nbsp;&nbsp; <version>1.2</version>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \\
</dependency> \\ |
| Java EE Connector Architecture 1.7 &nbsp;([JSR 322|http://jcp.org/en/jsr/detail?id=322]) | <dependency> \\
&nbsp; <groupId>javax.resource</groupId> \\
&nbsp; <artifactId>javax.resource-api</artifactId> \\
&nbsp; <version>1.7</version> \\
</dependency> |