I'm creating a new archetype, and I have the following (partial)
directory structure:
   src/main/resources/archetype-resources/src/main/java/WelcomeBean.java
   src/main/resources/archetype-resources/src/main/java/package.html
   src/main/resources/archetype-resources/src/main/java/overview.html

After 'mvn clean install', all three of the files are in
   target/classes/archetype-resources/src/main/java/

However, in the archetype artifact itself, 'package.html' is missing,
resulting in an error when I try to use the archteype, since
'package.html' is referred to in archetype.xml.

If I change the filename to 'package.properties' (and make the
corresponding change in archetype.xml) then it works fine.  I've also
tried moving package.html over to src/main/resources, and it gets
ignored there, too.  (That is, it shows up under target/classes, but
not in the struts-archetype-shale-blank-1.0.1-SNAPSHOT.jar file.)

Is there something special about the name 'package.html' that is
causing a problem?  (And what code would this be under in JIRA?  It's
not the archetype plugin, since the problem happens during 'install'.)

Ultimately I'd like to get package.html into
src/main/java/<package>/package.html in the project that is built from
the archetype.

Thanks,
Wendy

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

Reply via email to