Thx for your reply;

No problem with main or not. My question now is how can I do that if I say 
ap1 , ap2 must be a parameter and not fixed in the archetype. ?? how can I do 
that .?

In the archetype pom.xml I can put parameter like ${param} but in the 
archetype.xml can I do that ???


Thx in advance



-----Message d'origine-----
De : franz see [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 4 avril 2007 01:11
À : [email protected]
Objet : Re: Maven archetype


Good day,

Btw, you can't do this in your achetype ( AFAIK )

MyProject-Appli :

   --> src

        --> java

           --> com.omni.application

                --> ap1

                    --> manager

                    --> services

                    --> valueobject

                --> ap 2

                    --> manager

                    --> services

                    --> valueobject 

You can however, do this...

MyProject-Appli :

   --> src/main

        --> java

           --> com.omni.application

                --> ap1

                    --> manager

                    --> services

                    --> valueobject

                --> ap 2

                    --> manager

                    --> services

                    --> valueobject 

Cheers,
Franz


Henry S. Isidro wrote:
> 
> Hi,
> 
> This could prove useful: 
> http://maven.apache.org/plugins/maven-archetype-plugin/examples/archetype.html
> 
> Cheers,
> Henry
> 
> On Wednesday, April 4, 2007 02:18, Marouane Amraoui wrote:
>> Hi ;
>>
>>
>>
>> I want to generate my projet structure :
>>
>>
>>
>> MyProject-Appli :
>>
>>    --> src
>>
>>         --> java
>>
>>            --> com.omni.application
>>
>>                 --> ap1
>>
>>                     --> manager
>>
>>                     --> services
>>
>>                     --> valueobject
>>
>>                 --> ap 2
>>
>>                     --> manager
>>
>>                     --> services
>>
>>                     --> valueobject
>>
>>
>>
>>
>>
>> I want to developpe an archetype that construct me this structure of
>> project.
>>
>>
>>
>> This can made by archetype developpement only ?? or need to developpe a
>> plugin ??
>>
>>
>>
>>
>>
>> Thx in advance.
>>
>>
>>
>> ---------------------------------------------------------------
>>
>> Merouane AMRAOUI
>> Consultant Expert
>> Division Développement
>> Email.: [EMAIL PROTECTED]
>>
>> Gsm  .: 065 19 60 99
>> Tél. | Tel.: 022 98 70 70Téléc | Fax: 022 98 70 70
>> OMNIDATA , 74 Bv AbdelMoumen
>>
>>
>>
>>
>>
>> !DSPAM:546,46129b2f162461623613244!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-archetype-tf3520802s177.html#a9829274
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to