Good day to you, Marouane,
I think I saw some kind of development with the archetype but I haven't had
the chance to take a look at it yet. But AFAIK, you cannot do that. You can
not do any filtering with archetype except for a few parameters such as
groupId, artifactId, version, etc. ...also, you cannot filter a filename or
a directory.
If you want, you can file a jira issue about your request.
Cheers,
Franz
Marouane Amraoui wrote:
>
>
> 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]
>
>
>
--
View this message in context:
http://www.nabble.com/Maven-archetype-tf3520802s177.html#a9836400
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]