mirror of https://github.com/apache/maven.git
86 lines
2.1 KiB
XML
86 lines
2.1 KiB
XML
<archetype>
|
|
<id>quickstart</id>
|
|
<fileSets>
|
|
|
|
<!--
|
|
|
|
o filtering
|
|
o arbitrary directories even if it to make the job easier internally. we
|
|
really don't want people making any sort of directory structure they
|
|
want.
|
|
o a tool to create archetypes easily
|
|
|
|
<plugin>
|
|
<id>maven-archetype-plugin</id>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>bundle</goal>
|
|
</goals>
|
|
</execution>
|
|
<configuration>
|
|
|
|
How do we want to configure this?
|
|
|
|
o directory tree of archetypes?
|
|
o one archetype per project?
|
|
|
|
<descriptor>src/main/archetype/archetype.xml</descriptor>
|
|
</configuration>
|
|
</executions>
|
|
</plugin>
|
|
|
|
|
|
o need to specify parameters and metadata about parameters
|
|
- pluggable validation type/group
|
|
- localized descriptions
|
|
|
|
o any ideas to take from the IDEA template mechanism that uses velocity
|
|
|
|
-->
|
|
|
|
<!-- Project application sources -->
|
|
<fileSet>
|
|
<directory>src/main/java</directory>
|
|
<filtering>true</filtering>
|
|
</fileSet>
|
|
|
|
<!-- Project application resources -->
|
|
<fileSet>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</fileSet>
|
|
|
|
<!-- Project test sources -->
|
|
<fileSet>
|
|
<directory>src/test/java</directory>
|
|
<filtering>true</filtering>
|
|
</fileSet>
|
|
|
|
<!-- Project test resources -->
|
|
<fileSet>
|
|
<directory>src/test/resources</directory>
|
|
<filtering>true</filtering>
|
|
</fileSet>
|
|
|
|
<!-- Project site -->
|
|
<fileSet>
|
|
<directory>src/site</directory>
|
|
<filtering>true</filtering>
|
|
</fileSet>
|
|
|
|
</fileSets>
|
|
|
|
<!-- So we'll collect these parameters and feed them into the velocity context -->
|
|
<parameters>
|
|
<parameter>
|
|
<name></name>
|
|
<type></type>
|
|
<required></required>
|
|
<!-- This will get farmed out to a resource bundle -->
|
|
<descriptionKey></descriptionKey>
|
|
</parameter>
|
|
</parameters>
|
|
|
|
</archetype>
|