JBoss Maven Java EE 5 Dependencies

JBoss makes the API libraries for Java EE 5 and other specifications available as dependencies through its Nexus repository (here).

Here is a list of some of those those dependencies:

javax.annotation / javax.ejb

<dependency>
   <groupId>org.jboss.javaee</groupId>
   <artifactId>jboss-ejb-api</artifactId>
   <version>3.0.0.GA</version>
   <scope>provided</scope>
</dependency>

javax.jms

<dependency>
   <groupId>org.jboss.javaee</groupId>
   <artifactId>jboss-jms-api</artifactId>
   <version>1.1.0.GA</version>
   <scope>provided</scope>
</dependency>

javax.jws

<!-- dependency of jboss-ejb3-ext-api -->
<dependency>
   <groupId>jboss.jbossws</groupId>
   <artifactId>jboss-jaxws</artifactId>
   <version>3.0.1-native-2.0.4.GA</version>
   <scope>provided</scope>
</dependency>

javax.persistence

<!-- dependency of hibernate-annotations -->
<dependency>
   <groupId>org.hibernate</groupId>
   <artifactId>ejb3-persistence</artifactId>
   <version>1.0.2.GA</version>
   <scope>provided</scope>
</dependency>

javax.transaction

<!-- dependency of jboss-ejb-api
<dependency>
   <groupId>org.jboss.javaee</groupId>
   <artifactId>jboss-transaction-api</artifactId>
   <version>1.0.1.GA</version>
   <scope>provided</scope>
</dependency>

javax.ws.rs

<dependency>
   <groupId>org.jboss.resteasy</groupId>
   <artifactId>jaxrs-api</artifactId>
   <version>1.2.1.GA</version>
</dependency>

javax.xml.bind.annotation

<!-- dependency of jboss-ejb3-ext-api -->
<dependency>
   <groupId>sun-jaxb</groupId>
   <artifactId>jaxb-api</artifactId>
   <version>2.1.4</version>
</dependency>

The dependencies may be required if JBoss extensions are used for message-driven beans (e.g., – @Depends) or jax-ws (e.g., – @WebContext).

org.jboss.ej3.annotation

<dependency>
   <groupId>org.jboss.ejb3</groupId>
   <artifactId>jboss-ejb3-ext-api</artifactId>
   <version>1.0.0</version>
   <scope>provided</scope>
</dependency>

org.jboss.wsf.spi.annotation

<!-- dependency of jboss-ejb3-ext-api -->
<dependency>
   <groupId>org.jboss.ws</groupId>
   <artifactId>jbossws-spi</artifactId>
   <version>1.0.6.GA</version>
   <scope>provided</scope>
</dependency>

</post>

JBoss EAP 5 & Maven

  • JBoss Maven Java EE 5 Dependencies
  • Configuring the Maven Ear Plugin for JBoss EAP 5 (link)
  • Integration Testing w/ Maven, Cargo, & JBoss EAP 5 (link)
  • Integration Testing w/ Maven, Arquillian, & JBoss EAP 5 (link)
  • JBoss EAP 5 Multi-Module Maven Project Structures (link)
  • JBoss Trading – Multi Module JBoss EAP 5 Project (link)
, ,

About Shane K Johnson

Technical Marketing Manager, Red Hat Inc.

View all posts by Shane K Johnson

2 Comments on “JBoss Maven Java EE 5 Dependencies”

  1. doviche Says:

    Could you please provide a maven remote repository from which we can fetch dependencies?

    Many many thanks in advance

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 106 other followers

%d bloggers like this: