Single/complete Maven dependencies for Java EE 5 API

旧时模样 提交于 2019-12-23 07:45:45

问题


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>


来源:https://stackoverflow.com/questions/12177131/single-complete-maven-dependencies-for-java-ee-5-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!