Good day, I guess I may have posted this message a bit to hastily :) ...I forgot that you also can't create your archetypes with varying filenames ( meaning you can't filter files, and directories ).
I guess, that means you have to submit your patch to maven-archetype-plugin...or use ant :) Cheers, Franz franz see wrote: > > Good day, > > Furthermore, you can create that by running archetype:create several times > in one module by placing the following in your archetype.xml > > <archetype> > ... > <allowPartial>true</allowPartial> > ... > </archetype> > > This will allow your archetype to be created on a directory that already > contains a pom.xml. > > Or if you want, you can modify the existing archetype plugin and submit > your patch :) > > ( btw, your structure must be src > main > java. Archetype won't > understand it if it's just src > java ) > > Cheers, > Franz > > > Raphaël wrote: >> >> Hi Marouane, >> >> What "ap_i" is meaning ? Application number i ? >> >> If i guessed correctly, why don't you split your project into N modules >> each generated using the same archetype and giving it a different >> packageName ? >> >> >> Hope this helps. >> >> Raphaël >> >> 2007/4/5, Marouane Amraoui <[EMAIL PROTECTED]>: >>> This structure below i can't generate it only using archetype >>> developpement if the ap1, .., apn is a parameter and not fixed in the >>> archetype. >>> >>> Please , I want to have some directive from maven users which is the >>> best >>> >>> way to do that : >>> >>> 1. Develop a plugin ???, in this case if there is a example will be >>> better >>> 2. Using only ant task ??? >>> >>> Thx in advance ... >>> >>> >>> >>> MyProject-Appli : >>> >>> --> src >>> >>> --> java >>> >>> --> com.omni.application >>> >>> --> ap1 >>> >>> --> manager >>> >>> --> services >>> >>> --> valueobject >>> .. >>> >>> >>> --> ap n >>> >>> --> manager >>> >>> --> services >>> >>> --> valueobject >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Maven-%3A-generate-my-own-project-structure-tf3531049s177.html#a9855978 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
