Hi,

I have some questions for your guys. As i am starting converting projects
from ANT to MAVEN.

1). How can i create EAR file by using multiple Modules in One Project.
          Example : MainProject
                                   ModuleJava
                                   ModuleEJB
                                   ModuleWeb
                                   ModuleWebservice
                                   ModuleSchema

     So my existing ANT project is first Creating JAR file for each modules
and i am adding those JAR files in my EAR file. How can i do same things by
using POM. Please give me guide me with some Example...

2) ModuleJava has directory structure something like this.

        com.companyname.service.core.*

         Now if i have to create ModuleJava's  POM.XML to create JAR file..
I think MAVEN expects some specific source directory folder *src/main/java *and
then source code.. But my existing coding standard for all project doesn't
have something like this. So is there any work around to deal with this so
don't need to recreate my directory structure and still i can compile my
classes by giving dependencies. And it can create JAR file.

3) ModuleEJB has sample.ejb file and which is following 2.0 EJB standard how
can i compile those classes and create JAR fiile for ModuleEJB ?

Please share me some guidelines to convert my all projects from ANT to
MAVEN. Please help me out.

Thanks,
Daivish.

Reply via email to