Thanks Wendy,

This indeed looks like the best solution (I was doing it so far).

The problem is that in the created parent pom.xml, the packaging is the
default jar, while for full automatic creation I would expect it to be pom
packaging.

<packaging>pom</packaging>

Regards,
Uri.


Wendy Smoak-3 wrote:
> 
> On Dec 2, 2007 1:08 AM, urir <[EMAIL PROTECTED]> wrote:
> 
>> Is there any archetype exists that automatically creates the simple
>> multi-module project?
>> The expected result would be an empty directory, with a single pom.xml
>> that
>> has <packaging>pom</packaging> element (and may also have the junit
>> dependency)
> 
> The best you can do with the current archetype plugin is establish the
> parent pom, then run 'mvn archetype:create ...' multiple times.  It
> will add a module to the parent pom and make that pom the parent of
> the new module for you.
> 
> You can package up multiple modules in a single archetype, but you
> lose the ability to specify the package for the Java code, etc.
> 
> This may be improved in the ArchetypeNG code that is still in the sandbox.
> 
> -- 
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-create-multi-module-project-from-archetype--tf4930842s177.html#a14119148
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to