directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r706253 - /directory/sandbox/felixk/embed-apacheds-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
Date Mon, 20 Oct 2008 12:14:19 GMT
Author: felixk
Date: Mon Oct 20 05:14:19 2008
New Revision: 706253

URL: http://svn.apache.org/viewvc?rev=706253&view=rev
Log:
Set default values, so a new project can be created with
mvn archetype:generate -DarchetypeGroupId=org.apache.directory -DarchetypeArtifactId=apacheds-webapp-archetype
-DarchetypeVersion=1.0-SNAPSHOT
and hitting twice <Enter>

Modified:
    directory/sandbox/felixk/embed-apacheds-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml

Modified: directory/sandbox/felixk/embed-apacheds-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/embed-apacheds-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml?rev=706253&r1=706252&r2=706253&view=diff
==============================================================================
--- directory/sandbox/felixk/embed-apacheds-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
(original)
+++ directory/sandbox/felixk/embed-apacheds-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
Mon Oct 20 05:14:19 2008
@@ -18,6 +18,20 @@
 under the License.
 -->
 <archetype-descriptor name="embed-apacheds">
+  <requiredProperties>
+    <requiredProperty key="groupId">
+      <defaultValue>org.example</defaultValue>
+    </requiredProperty>
+    <requiredProperty key="artifactId">
+      <defaultValue>myProject</defaultValue>
+    </requiredProperty>
+    <requiredProperty key="version">
+      <defaultValue>1.0.0-SNAPSHOT</defaultValue>
+    </requiredProperty>
+    <requiredProperty key="package">
+      <defaultValue>org.example</defaultValue>
+    </requiredProperty>
+  </requiredProperties>
   <fileSets>
     <fileSet filtered="true" packaged="true" encoding="UTF-8">
       <directory>src/main/java</directory>



Mime
View raw message