javamavenjboss5.xjava-ee-5

Single/complete Maven dependencies for Java EE 5 API


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?


Solution

  • Based on maven central I think you need the following:

    <dependency>
        <groupId>javaee</groupId>
        <artifactId>javaee-api</artifactId>
        <version>5</version>
    </dependency>