Hello,
Apologies if the following is too trivial but i haven't completely
wrapped my head around archetype plumbing so please bear with me.
I'm preparing to convert a maven project with modules into an archetype.
This archetype has some basic java and resource files in it. My questions:
a) Basically, i need to take my modules and pom and throw them in
src/resources/archetype-resources. All files will be treated as Velocity
templates and $varname will be replaced by -Dvarname in the command line
right?
b) Is it a good idea to use this in java files:
package $groupId.$artifactId;
to be replaced during archetype:create?
c) If the above makes sense, 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?
Thanks,
Manos
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]