aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes EJB3 package not in Maven repository? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "EJB3 package not in Maven repository?" Watch "EJB3 package not in Maven repository?" New topic
Author

EJB3 package not in Maven repository?

Simon Joseph Aquilina
Ranch Hand

Joined: Feb 14, 2006
Posts: 102
Hi,

I want to develop a project that is based on EJB3. However it seems that there is no EJB3 package in Maven repository. I went to the following website to comfirm; http://mvnrepository.com/artifact/javax.ejb/ejb

As you can see from the above website there is only packages for EJB 2.0 and 2.1. If the EJB3 package is not on Maven repository then how can I set the dependency in my POM file?

Regards,
Sim085
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

Add these lines in your pom.xml



Hope it helps.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16141
    
  21

The JPA part of EJB is javax/persistence/persistence-api. I have a 1.0 and a 1.0b, but I'm not sure if 2.0 is live yet.


Customer surveys are for companies who didn't pay proper attention to begin with.
Simon Joseph Aquilina
Ranch Hand

Joined: Feb 14, 2006
Posts: 102
Thank you both very much for all the help Both the EJB and Persistence libraries where downloaded and code is working successfully!! Thanks again

Regards,
Sim085
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB3 package not in Maven repository?