Author: alexsmirnov
Date: 2007-06-12 13:43:11 -0400 (Tue, 12 Jun 2007)
New Revision: 1145
Modified:
trunk/pom.xml
trunk/richfaces/assembly/pom.xml
trunk/richfaces/assembly/src/main/assembly/richfaces.xml
Log:
Include documentation project into distribution build.
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2007-06-12 16:11:51 UTC (rev 1144)
+++ trunk/pom.xml 2007-06-12 17:43:11 UTC (rev 1145)
@@ -9,6 +9,7 @@
<dependencies />
<modules>
<module>richfaces</module>
+ <module>docs</module>
<module>richfaces-samples</module>
<!--
<module>sandbox</module>
Modified: trunk/richfaces/assembly/pom.xml
===================================================================
--- trunk/richfaces/assembly/pom.xml 2007-06-12 16:11:51 UTC (rev 1144)
+++ trunk/richfaces/assembly/pom.xml 2007-06-12 17:43:11 UTC (rev 1145)
@@ -93,6 +93,44 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.richfaces.docs.userguide</groupId>
+ <artifactId>
+ en
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ <outputDirectory>
+ ${project.build.directory}/docs/userguide/en
+ </outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>
+ ${project.build.directory}/docs
+ </outputDirectory>
+ <overWriteReleases>
+ false
+ </overWriteReleases>
+ <overWriteSnapshots>
+ true
+ </overWriteSnapshots>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<outputDirectory>${project.build.directory}/dist</outputDirectory>
Modified: trunk/richfaces/assembly/src/main/assembly/richfaces.xml
===================================================================
--- trunk/richfaces/assembly/src/main/assembly/richfaces.xml 2007-06-12 16:11:51 UTC (rev
1144)
+++ trunk/richfaces/assembly/src/main/assembly/richfaces.xml 2007-06-12 17:43:11 UTC (rev
1145)
@@ -32,10 +32,10 @@
<directory>target/tlddoc</directory>
<outputDirectory>tlddoc</outputDirectory>
</fileSet>
-<!-- <fileSet>
- <directory>target/src</directory>
- <outputDirectory>src</outputDirectory>
- </fileSet> -->
+ <fileSet>
+ <directory>target/docs</directory>
+ <outputDirectory>docs</outputDirectory>
+ </fileSet>
</fileSets>
<dependencySets>
<dependencySet>