I am using JBoss EAP 6.1 and Java EE 6.
JBoss tools add the JBoss runtime libraries, like org.jboss.resteasy.annotations.cache.NoCache
on eclipse, but it fails to compile on maven because maven knows nothing about it.
I would like to add all JBoss EAP libraries through maven in order to build it successfully. Is it documented somewhere the artifacts I have to use to be able to add all JBoss EAP libraries in the classpath? Is there a single dependency I can add representing the whole Java EE 6 stack and its JBoss extensions like org.jboss.resteasy.annotations.cache.NoCache
?
I was looking for something like:
<dependency>
<groupId>org.jboss.eap</groupId>
<artifactId>jboss-eap</artifactId>
<version>6.1</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
Then we just change <version>6.2</version>
when we update the container and boom, magic!