On 2/24/07, Manos Batsis <[EMAIL PROTECTED]> wrote:

how can i handle arbitrary directory
structure creation during archetype:create so that:

mvn archetype:create -DgroupId=com.geekologue -DartifactId=foobar

will result in foobar/moduleName/src/main/java/com/geekologue/foobar
being generated with the java file in it?

I don't think multi-module archetypes are supported like that.  (At
least it didn't work the last time I tried it.)

However, if you make a single-module run 'mvn archetype:create' in a
directory containing a parent pom (with modules) it will add the new
module and put a <parent> element in the newly created project.

--
Wendy

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

Reply via email to