> The existing S2 archetypes put the resources under
> src/main/resources/archetype-resources and follow the normal Maven directory
> layout; I didn't think you had to do anything in particular.

Not exactly, when you will put some resources (*.properties and *.xml)
under archetype-resources, then when you will create project from that
archetype, such resources will still remain in the same directory.
Which is not what you want, they should be moved to directory which
you specified with archetype:generate

For Java packages you can specify $package variable, but it's not
possible to use the same for directory name, that's why I'm searching
for some other solution. I can use antrun plugin, but maybe there is
something more maven-way solution?


Regards
-- 
Lukasz
http://www.lenart.org.pl/

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

Reply via email to