On 11/11/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > What I'm really looking for is the source code for > maven-archetype-webapp so I can see how to structure an archetype that > creates a webapp.
http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetypes/ Moving on... I copied from maven-archetype-webapp's archetype.xml: <archetype> <id>struts-archetype-blank</id> <resources> <resource>src/main/webapp/WEB-INF/web.xml</resource> </resources> </archetype> Interestingly, all four of the .xml files in WEB-INF were included in my archetype, not just web.xml. So do I even have to put them in archetype.xml? Also, the guide says that the <id> tag in archetype.xml should be the same as the <artifactId> in the archetype's pom.xml, but that is not the case for maven-archetype-webapp, which has: archetype.xml: <id>webapp</id> pom.xml: <artifactId>maven-archetype-webapp</artifactId> Somewhat confused, but making progress, -- Wendy Smoak --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
