Author: abelevich
Date: 2011-03-31 15:54:02 -0400 (Thu, 31 Mar 2011)
New Revision: 22350
Added:
branches/4.0.X/ui/dist/richfaces-components-ui/src/
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/assembly/
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/assembly/vdldoc-assembly.xml
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/properties/
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/properties/properties.xml
Modified:
branches/4.0.X/ui/dist/richfaces-components-ui/pom.xml
Log:
https://issues.jboss.org/browse/RF-10601 Update build to generation on profiles
Modified: branches/4.0.X/ui/dist/richfaces-components-ui/pom.xml
===================================================================
--- branches/4.0.X/ui/dist/richfaces-components-ui/pom.xml 2011-03-31 19:49:00 UTC (rev
22349)
+++ branches/4.0.X/ui/dist/richfaces-components-ui/pom.xml 2011-03-31 19:54:02 UTC (rev
22350)
@@ -35,7 +35,7 @@
<name>Richfaces UI Components UI</name>
<properties>
-
<faces-shade-transformers.version>4</faces-shade-transformers.version>
+
<faces-shade-transformers.version>4-SNAPSHOT</faces-shade-transformers.version>
<assembly.projects.group>org.richfaces.ui</assembly.projects.group>
</properties>
@@ -102,6 +102,14 @@
<artifactId>jstl</artifactId>
<scope>provided</scope>
</dependency>
+
+
+ <dependency>
+ <groupId>org.richfaces.build.resources</groupId>
+ <artifactId>faces-vdl-documentation</artifactId>
+ <version>1-SNAPSHOT</version>
+ </dependency>
+
</dependencies>
<build>
@@ -180,6 +188,29 @@
<excludeTransitive>true</excludeTransitive>
</configuration>
</execution>
+ <execution>
+ <id>vdldeps</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+
<groupId>org.richfaces.build.resources</groupId>
+
<artifactId>faces-vdl-documentation</artifactId>
+
<outputDirectory>${project.build.directory}/resources/</outputDirectory>
+ <includes>**/*.xsl</includes>
+ </artifactItem>
+ <artifactItem>
+
<groupId>org.richfaces.build.resources</groupId>
+
<artifactId>faces-vdl-documentation</artifactId>
+
<outputDirectory>${project.build.directory}/vdldoc/</outputDirectory>
+ <includes>**/*.css</includes>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
@@ -190,7 +221,69 @@
<sourcepath>${basedir}/target/dependency</sourcepath>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xml-maven-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>transform</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ <configuration>
+ <transformationSets>
+ <transformationSet>
+ <dir>src/main/properties</dir>
+
<stylesheet>target/resources/xsl/common.xsl</stylesheet>
+ <parameters>
+ <parameter>
+ <name>output-dir</name>
+ <value>target/vdldoc/</value>
+ </parameter>
+ </parameters>
+ <fileMappers>
+ <fileMapper
+
implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
+ <pattern>^(.*)\.(.*)$</pattern>
+
<replacement>all.txt</replacement>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+ </transformationSets>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>saxon</artifactId>
+ <version>8.7</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2.1</version>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/vdldoc-assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <!-- this is used for inheritance merges -->
+ <phase>package</phase>
+ <!-- bind to the packaging phase -->
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
+
</build>
</profile>
</profiles>
Added:
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/assembly/vdldoc-assembly.xml
===================================================================
--- branches/4.0.X/ui/dist/richfaces-components-ui/src/main/assembly/vdldoc-assembly.xml
(rev 0)
+++
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/assembly/vdldoc-assembly.xml 2011-03-31
19:54:02 UTC (rev 22350)
@@ -0,0 +1,15 @@
+<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.2.xsd">
+ <id>vdldocs</id>
+ <formats>
+ <format>jar</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${basedir}/target/vdldoc</directory>
+ <outputDirectory>richfaces-vdl-documentation</outputDirectory>
+ </fileSet>
+ </fileSets>
+
+</assembly>
\ No newline at end of file
Added: branches/4.0.X/ui/dist/richfaces-components-ui/src/main/properties/properties.xml
===================================================================
--- branches/4.0.X/ui/dist/richfaces-components-ui/src/main/properties/properties.xml
(rev 0)
+++
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/properties/properties.xml 2011-03-31
19:54:02 UTC (rev 22350)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<properties>
+ <window-title>VDL Documentation</window-title>
+ <doc-title>Tag Library Documentation Generator - Generated
Documentation</doc-title>
+
+ <taglibs>
+ <taglib short-name="a4j">
+ <display-name>Ajax4JSF</display-name>
+ <doc-title>Ajax4JSF VDL Documentation</doc-title>
+ <path>../../../target/taglibs/META-INF/a4j.taglib.xml</path>
+ <description>Represents core Ajax functionality, and page wide Ajax controls and
utility components.</description>
+ </taglib>
+ <taglib short-name="rich">
+ <display-name>RichFaces</display-name>
+ <doc-title>RichFaces VDL Documentation</doc-title>
+ <path>../../../target/taglibs/META-INF/rich.taglib.xml</path>
+ <description>Represents self-contained and advanced UI components with
out-of-the-box Ajax functionality.</description>
+ </taglib>
+ </taglibs>
+</properties>
\ No newline at end of file