8

Is there a single maven dependency containing whole Java EE 5 spec API. Just like

<dependency>
    <groupId>javax</groupId>
    <artifactId>javaee-api</artifactId>
    <version>6.0</version>
</dependency>

for Java EE 6.

I'm using JBoss 5 and want to add single (or several) dependency as provided scope and be sure that I have everyting that is available in JBoss.

Maybe some kind of archetype exist for JBoss 5.x.x deployed project?

Piotr Gwiazda
  • 12,080
  • 13
  • 60
  • 91

1 Answers1

10

Based on maven central I think you need the following:

<dependency>
    <groupId>javaee</groupId>
    <artifactId>javaee-api</artifactId>
    <version>5</version>
</dependency>
DB5
  • 13,553
  • 7
  • 66
  • 71
  • Do you know is it the same as `com.sun.j2ee:javaee:1.5` ? – Piotr Gwiazda Aug 29 '12 at 11:58
  • Not sure to be honest. I've never seen or used com.sun.j2ee:javaee:1.5. Here is the link to the official repository where the groupId and artifactId are as in my answer: http://download.java.net/maven/2/javaee/javaee-api/5/ – DB5 Aug 29 '12 at 12:04