[jboss-user] [Beginners Corner] - Migrating to Maven2

dobbo do-not-reply at jboss.com
Sat Sep 16 06:45:44 EDT 2006


Hi

I am currently evaluating Maven2 for use in my project.  So far I like what I see, and think that it is worth me switching.  I have JBoss working the way I want it (with MySQL as the back end), and Ant does a good job of building my JARs and EARs.

With maven I can create a simple project, and so long as I use only standard J2SE stuff I'm okay.  But the moment I start using J2EE stuff it all goes wrong.  The compiler complains that it doesn't know about .javax.ejb.EntityBean and the like.  With Ant I knew how to extend the class path at build time to find JBoss's JARs that defined all that stuff, but how do I do the same thing in Maven?

I guess what I'm really looking for is a simple "How to get started with Maven2 and JBoss" tutorial.  There are some for Maven2 but when it comes to J2EE stuff they assume that you are using geronimo.

Thanks for your help

Steve

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972095#3972095

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972095



More information about the jboss-user mailing list