Single/complete Maven dependencies for Java EE 5 A

2019-06-17 04:06发布

问题:

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?

回答1:

Based on maven central I think you need the following:

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