Okay,

I will test and give you a feedback soon .

Thx a lot.

 

 

________________________________

De : Petr Ferschmann [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 12 janvier 2007 10:16
À : Marouane Amraoui
Cc : Maven Users List
Objet : RE: Multi project Feature

 

Hello,

Actually you can do that too. But you need just one more project:

root pom.xml
….. ear pom.xml
….. ejb pom.xml
.... web pom.xml
.... workspace pom.xml


in ear, ejb, web you mark workspace as your parent. in root pom.xml you just 
add all modules to <modules/> section.

Than you run mvn eclipse:eclipse and it will generate you 3 (or 4, depending on 
what you put in workspace pom.xml) eclipse projects. 

The <parent/> section defines from which pom.xml you want to derive. Not the 
module in upper directory.

Does it help?

Marouane Amraoui píše v Pá 12. 01. 2007 v 08:58 +0000: 

Thx a lot for your reply.

The example that you sent me suppose we have a global container projet for all 
modules :

 

Lunar (eclipse project)

….. ear

….. ejb

….. web

 

What i need is :

Lunar-ear  (eclipse project + pom.xml)

Lunar-ejb  (eclipse project + pom.xml)

Lunar-web (eclipse Project + pom.xml)

Lunar-workspace : eclipse project +  the globale pom.xml (containes modules : 
lunar-ear, lunar-ejb, lunar-web)

 

Thanks in advance

 

 

 

        
________________________________


        De : Petr Ferschmann [mailto:[EMAIL PROTECTED] 
        Envoyé : mercredi 10 janvier 2007 16:19
        À : Maven Users List
        Cc : Marouane Amraoui
        Objet : RE: Multi project Feature
        
        

         
        
        In attachment you can see simple (very similar to yours) project 
structure that uses JBoss Seam (just ignore some parts of pom.xml).
        
        I hope it helps and it can go thru maven list.
        
        Marouane Amraoui píše v St 10. 01. 2007 v 13:16 +0000: 

         
         
        Thx,
         
        So how can i do that with maven2 ???

        
         

 
 
-- 
Petr Ferschmann
 
SoftEU s.r.o.
-----------------------------------
Sady Petatricatniku 31
301 00 Plzen
Czech Republic
-----------------------------------
Phone: +420 373 729 300
Fax:   +420 373 729 301
Cell:  +420 775 638 008
E-mail: [EMAIL PROTECTED] 
 

        
         
        
        

 
-- 
Petr Ferschmann
 
SoftEU s.r.o.
-----------------------------------
Sady Petatricatniku 31
301 00 Plzen
Czech Republic
-----------------------------------
Phone: +420 373 729 300
Fax:   +420 373 729 301
Cell:  +420 775 638 008
E-mail: [EMAIL PROTECTED] 
 

 

Reply via email to