You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2005/10/20 17:00:44 UTC

svn commit: r326919 - /maven/components/trunk/maven-archetype/archetype-model.xml

Author: jvanzyl
Date: Thu Oct 20 08:00:35 2005
New Revision: 326919

URL: http://svn.apache.org/viewcvs?rev=326919&view=rev
Log:
o adding a note to share with a couple other people

Added:
    maven/components/trunk/maven-archetype/archetype-model.xml   (with props)

Added: maven/components/trunk/maven-archetype/archetype-model.xml
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-archetype/archetype-model.xml?rev=326919&view=auto
==============================================================================
--- maven/components/trunk/maven-archetype/archetype-model.xml (added)
+++ maven/components/trunk/maven-archetype/archetype-model.xml Thu Oct 20 08:00:35 2005
@@ -0,0 +1,85 @@
+<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></requrired>
+      <!-- This will get farmed out to a resource bundle -->
+      <descriptionKey></descriptionKey>
+    </parameter>
+  </parameters>
+  
+</archetype>

Propchange: maven/components/trunk/maven-archetype/archetype-model.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-archetype/archetype-model.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"