Author: Alex.Kolonitsky
Date: 2009-08-13 11:21:55 -0400 (Thu, 13 Aug 2009)
New Revision: 15170
Added:
root/assembly.xml
Modified:
root/pom.xml
Log:
Richfaces assembly
Added: root/assembly.xml
===================================================================
--- root/assembly.xml (rev 0)
+++ root/assembly.xml 2009-08-13 15:21:55 UTC (rev 15170)
@@ -0,0 +1,59 @@
+<assembly>
+ <id>assembly</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+
+ <moduleSets>
+ <moduleSet>
+ <includeSubModules>true</includeSubModules>
+ <includes>
+ <include>org.richfaces.framework:richfaces-api</include>
+ <include>org.richfaces.framework:richfaces-impl</include>
+ <include>org.richfaces:ui</include>
+ </includes>
+
+ <sources>
+ <outputDirectoryMapping>dist</outputDirectoryMapping>
+
<excludeSubModuleDirectories>true</excludeSubModuleDirectories>
+ <fileSets>
+ <fileSet>
+ <directory>target</directory>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ <excludes>
+ <exclude>*-sources.jar</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+ </sources>
+ </moduleSet>
+ <moduleSet>
+ <includeSubModules>true</includeSubModules>
+ <includes>
+ <include>org.richfaces.examples:photoalbum</include>
+ <include>org.richfaces.examples:richfaces-demo</include>
+
<include>org.richfaces.examples.components:core-demo</include>
+ </includes>
+
+ <sources>
+ <outputDirectoryMapping>examples</outputDirectoryMapping>
+
<excludeSubModuleDirectories>false</excludeSubModuleDirectories>
+ <fileSets>
+ <fileSet>
+ <directory>target</directory>
+ <includes>
+ <include>*.ear</include>
+ <include>*.war</include>
+ </includes>
+ <excludes>
+ <exclude>*-sources.ear</exclude>
+ <exclude>*-sources.war</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+ </sources>
+ </moduleSet>
+ </moduleSets>
+</assembly>
\ No newline at end of file
Modified: root/pom.xml
===================================================================
--- root/pom.xml 2009-08-13 14:34:51 UTC (rev 15169)
+++ root/pom.xml 2009-08-13 15:21:55 UTC (rev 15170)
@@ -1,36 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces</groupId>
- <artifactId>root</artifactId>
- <version>1.0</version>
- <packaging>pom</packaging>
- <name>All modules aggregator</name>
-
- <modules>
- <module>framework/${framework.svn.dir}</module>
- <!-- module>cdk/${cdk.svn.dir}</module -->
- <module>ui/${ui.svn.dir}</module>
- <module>examples/${examples.svn.dir}</module>
- </modules>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces</groupId>
+ <artifactId>root</artifactId>
+ <version>1.0</version>
+ <packaging>pom</packaging>
+ <name>All modules aggregator</name>
- <profiles>
- <profile>
- <id>trunk</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <properties>
- <framework.svn.dir>trunk</framework.svn.dir>
- <cdk.svn.dir>trunk</cdk.svn.dir>
- <ui.svn.dir>trunk</ui.svn.dir>
- <examples.svn.dir>trunk</examples.svn.dir>
- </properties>
- </profile>
- </profiles>
+ <modules>
+ <module>framework/${framework.svn.dir}</module>
+ <!--<module>cdk/${cdk.svn.dir}</module>-->
+ <module>ui/${ui.svn.dir}</module>
+ <module>examples/${examples.svn.dir}</module>
+ </modules>
+ <profiles>
+ <profile>
+ <id>trunk</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <properties>
+ <framework.svn.dir>trunk</framework.svn.dir>
+ <cdk.svn.dir>trunk</cdk.svn.dir>
+ <ui.svn.dir>trunk</ui.svn.dir>
+ <examples.svn.dir>trunk</examples.svn.dir>
+ </properties>
+ </profile>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptor>assembly.xml</descriptor>
+ </configuration>
+ <executions>
+ <execution>
+ <id>richfaces-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
\ No newline at end of file