Single/complete Maven dependencies for Java EE 5 API
Asked Answered
U

1

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?

Uruguay answered 29/8, 2012 at 11:42 Comment(0)
R
10

Based on maven central I think you need the following:

<dependency>
    <groupId>javaee</groupId>
    <artifactId>javaee-api</artifactId>
    <version>5</version>
</dependency>
Rossierossing answered 29/8, 2012 at 11:53 Comment(2)
Do you know is it the same as com.sun.j2ee:javaee:1.5 ?Uruguay
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: download.java.net/maven/2/javaee/javaee-api/5Rossierossing

© 2022 - 2024 — McMap. All rights reserved.