struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Struts2 maven archetypes are missing from repo
Date Tue, 23 Sep 2008 20:33:31 GMT
> 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?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message