I have an archetype with the following structure:

maven-archetype-mywebapp
|-- pom.xml
`-- src
   `-- main
       `-- resources
           |-- META-INF
           |   `-- archetype.xml
           `-- archetype-resources
               |-- pom.xml
               `-- src
                   |-- main
                   |   `-- java
                   |       `-- Test.java
                   `-- webapp
                       |-- index.jsp
                       `-- WEB-INF
                           `-- web.xml

The archetype.xml looks like this:

<archetype>
 <id>mywebapp</id>
 <sources>
   <source>src/main/java/Test.java</source>
 </sources>
 <resources>
   <source>src/main/webapp/index.jsp</source>
   <source>src/main/webapp/WEB-INF/web.xml</source>
 </resources>
</archetype>

When I create my project from this archetype, it doesn't copy over the
webapp stuff, only Test.java.  Can I get the archetype to copy over
the webapp stuff?

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

Reply via email to