[richfaces-svn-commits] JBoss Rich Faces SVN: r18715 - in trunk/archetypes: richfaces-component-short and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Aug 17 11:12:03 EDT 2010


Author: Alex.Kolonitsky
Date: 2010-08-17 11:12:02 -0400 (Tue, 17 Aug 2010)
New Revision: 18715

Added:
   trunk/archetypes/richfaces-component-short/assembler.xml
   trunk/archetypes/richfaces-component-short/readme.txt
   trunk/archetypes/richfaces-component/assembler.xml
Log:
fix dist

Added: trunk/archetypes/richfaces-component/assembler.xml
===================================================================
--- trunk/archetypes/richfaces-component/assembler.xml	                        (rev 0)
+++ trunk/archetypes/richfaces-component/assembler.xml	2010-08-17 15:12:02 UTC (rev 18715)
@@ -0,0 +1,22 @@
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+    <formats>
+        <format>dir</format>
+    </formats>
+
+    <files>
+        <file>
+            <source>pom.xml</source>
+        </file>
+        <file>
+            <source>readme.txt</source>
+        </file>
+    </files>
+
+    <fileSets>
+        <fileSet>
+            <directory>src</directory>
+        </fileSet>
+    </fileSets>
+</assembly>
\ No newline at end of file

Added: trunk/archetypes/richfaces-component-short/assembler.xml
===================================================================
--- trunk/archetypes/richfaces-component-short/assembler.xml	                        (rev 0)
+++ trunk/archetypes/richfaces-component-short/assembler.xml	2010-08-17 15:12:02 UTC (rev 18715)
@@ -0,0 +1,22 @@
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+    <formats>
+        <format>dir</format>
+    </formats>
+
+    <files>
+        <file>
+            <source>pom.xml</source>
+        </file>
+        <file>
+            <source>readme.txt</source>
+        </file>
+    </files>
+
+    <fileSets>
+        <fileSet>
+            <directory>src</directory>
+        </fileSet>
+    </fileSets>
+</assembly>
\ No newline at end of file

Added: trunk/archetypes/richfaces-component-short/readme.txt
===================================================================
--- trunk/archetypes/richfaces-component-short/readme.txt	                        (rev 0)
+++ trunk/archetypes/richfaces-component-short/readme.txt	2010-08-17 15:12:02 UTC (rev 18715)
@@ -0,0 +1,22 @@
+RichFaces 4 Archetype
+
+This archetype creates a folder/pom.xml structure for component (like in tables)
+
+/<artifact-id>
+    src/main/java
+    pom.xml
+
+To generate a project from the archetype, run
+
+mvn archetype:generate -DarchetypeGroupId=org.richfaces.archetypes -DarchetypeArtifactId=richfaces-component
+                       -Dcategory=<version> -Dname=<name>
+
+in such case will be created artifacts with:
+    category : <category>
+    name     : <name>
+    groupId  : org.richfaces.ui.<category>
+    artifact : <category>-<name>
+    version  : 4.0.0-SNAPSHOT 
+
+TODO link to wiki page
+TODO example with panels
\ No newline at end of file



More information about the richfaces-svn-commits mailing list