Author: Alex.Kolonitsky
Date: 2010-05-31 14:04:56 -0400 (Mon, 31 May 2010)
New Revision: 17429
Modified:
root/dist/trunk/pom.xml
root/dist/trunk/richfaces.xml
Log:
add archetype to root assembler
Modified: root/dist/trunk/pom.xml
===================================================================
--- root/dist/trunk/pom.xml 2010-05-31 16:26:03 UTC (rev 17428)
+++ root/dist/trunk/pom.xml 2010-05-31 18:04:56 UTC (rev 17429)
@@ -35,21 +35,6 @@
<packaging>pom</packaging>
<name>Richfaces Assembler</name>
- <modules>
-
<!--<module>../../build/parent/tags/richfaces-parent-3</module>-->
- <!--<module>../../build/bom/trunk</module>-->
- <!--<module>../../archetypes</module>-->
-
- <!--<module>../../commons/trunk</module>-->
- <!--<module>../../core/trunk</module>-->
-
- <!-- call ui assembler -->
- <!--<module>../../ui/dist/trunk</module>-->
-
- <!-- for build examples we need some components from sandbox -->
- <!--<module>../../examples</module>-->
- </modules>
-
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
@@ -96,6 +81,13 @@
<type>war</type>
<classifier>tomcat6</classifier>
</dependency>
+
+ <!-- Archetypes -->
+ <dependency>
+ <groupId>org.richfaces.archetypes</groupId>
+ <artifactId>richfaces-archetype-simpleapp</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </dependency>
</dependencies>
<build>
@@ -173,6 +165,20 @@
<stripVersion>true</stripVersion>
</configuration>
</execution>
+
+ <execution>
+ <id>copy-archetypes</id>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+
+ <phase>package</phase>
+ <configuration>
+
<includeGroupIds>org.richfaces.archetypes</includeGroupIds>
+
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
+ <stripVersion>true</stripVersion>
+ </configuration>
+ </execution>
</executions>
</plugin>
Modified: root/dist/trunk/richfaces.xml
===================================================================
--- root/dist/trunk/richfaces.xml 2010-05-31 16:26:03 UTC (rev 17428)
+++ root/dist/trunk/richfaces.xml 2010-05-31 18:04:56 UTC (rev 17429)
@@ -1,3 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ JBoss, Home of Professional Open Source Copyright 2010, Red Hat,
+ Inc. and individual contributors by the @authors tag. See the
+ copyright.txt in the distribution for a full listing of
+ individual contributors. This is free software; you can
+ redistribute it and/or modify it under the terms of the GNU
+ Lesser General Public License as published by the Free Software
+ Foundation; either version 2.1 of the License, or (at your
+ option) any later version. This software is distributed in the
+ hope that it will be useful, but WITHOUT ANY WARRANTY; without
+ even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ for more details. You should have received a copy of the GNU
+ Lesser General Public License along with this software; if not,
+ write to the Free Software Foundation, Inc., 51 Franklin St,
+ Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF site:
+
http://www.fsf.org.
+-->
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembl...
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-p...
http://maven.apache.org/xsd/assembly-1.1.0.xsd">
@@ -2,3 +21,3 @@
<formats>
- <format>dir</format>
+ <format>zip</format>
</formats>
@@ -94,28 +113,11 @@
<exclude>/META-INF/**</exclude>
</excludes>
</fileSet>
+
+ <!-- Archetypes -->
+ <fileSet>
+
<directory>target/dependency/richfaces-archetype-simpleapp-jar/archetype-resources</directory>
+
<outputDirectory>archetypes/richfaces-archetype-simpleapp/</outputDirectory>
+ </fileSet>
</fileSets>
-
- <moduleSets>
- <moduleSet>
- <includeSubModules>true</includeSubModules>
- <includes>
- <include>org.richfaces.archetypes:*</include>
- </includes>
-
- <sources>
-
<outputDirectoryMapping>archetypes/${module.artifactId}</outputDirectoryMapping>
-
<excludeSubModuleDirectories>false</excludeSubModuleDirectories>
- <fileSets>
- <fileSet>
- <includes>
- <include>src/**</include>
- <include>readme.txt</include>
- <include>pom.xml</include>
- </includes>
- </fileSet>
- </fileSets>
- </sources>
- </moduleSet>
- </moduleSets>
</assembly>
\ No newline at end of file