Sunday, 15 July 2012

java - Where is documented the JBoss EAP runtime dependencies to be added in a maven project? -


I am using Zebaus EAP 6.1 and Java EE6.

The Jabos tools add jabs runtime libraries, such as org.jboss.resteasy.annotations.cache.NoCache is on eclipse, but it fails to compile on Maven because Maven does not know anything about it.

I would like to add all Jbis successfully to make it EAP library through Maven, did I use more artifacts to be able to connect all the JBS EAP libraries in the classpath? Is there any dependency that I can represent the whole Java EE6 stack and its jbis extensions such as org.jboss.resteasy.annotations.cache.NoCache ?

I was seeing something like this:

  & lt; Dependency & gt; & Lt; Group & gt; Org.jboss.eap & lt; / Group & gt; & Lt; ArtifactId & gt; Jboss-eap & lt; / ArtifactId> & Lt; Version & gt; 6.1 & lt; / Edition & gt; & Lt; Type & gt; Pom & lt; / Type & gt; & Lt; Scope & gt; Provided & lt; / Scope & gt; & Lt; / Dependencies & gt;  

Then we just go to & lt; Version & gt; 6.2 & lt; / Version & gt;

This information is included in pob.xml files when updating the container and boom, magic That is what is included in Quick Blocks bundled with Jebus.

From the example of the kitchen:

   & Lt; Version & gt; $ {Version.jboss.bom.eap} & lt; / Edition & gt; & Lt; Type & gt; Pom & lt; / Type & gt; & Lt; Scope & gt; Import & lt; / Scope & gt; & Lt; / Dependencies & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.jboss.bom.eap & lt; / Group & gt; & Lt; ArtifactId & gt; Jboss-javaee-6.0-accompany-hibernate & lt; / ArtifactId> & Lt; Version & gt; $ {Version.jboss.bom.eap} & lt; / Edition & gt; & Lt; Type & gt; Pom & lt; / Type & gt; & Lt; Scope & gt; Import & lt; / Scope & gt; & Lt; / Dependencies & gt; & Lt; / Dependencies & gt;  

$ {version.jboss.bom.eap} is defined in parent palm

   6.2.0.GA & LT; /version.jboss.bom.eap>  

explained here (redhat support account is required)

JBoss component versions are listed here


No comments:

Post a Comment