Author: Alex.Kolonitsky
Date: 2010-05-25 09:52:40 -0400 (Tue, 25 May 2010)
New Revision: 17230
Modified:
root/dist/trunk/pom.xml
root/dist/trunk/richfaces.xml
root/ui/dist/trunk/assembler.xml
root/ui/dist/trunk/pom.xml
Log:
RF-8461
add example readme
add aggregated jsdoc
Modified: root/dist/trunk/pom.xml
===================================================================
--- root/dist/trunk/pom.xml 2010-05-25 11:18:50 UTC (rev 17229)
+++ root/dist/trunk/pom.xml 2010-05-25 13:52:40 UTC (rev 17230)
@@ -36,7 +36,7 @@
<name>Richfaces Assembler</name>
<modules>
- <module>../../build/parent/tags/richfaces-parent-1</module>
+ <module>../../build/parent/tags/richfaces-parent-3</module>
<module>../../build/bom/trunk</module>
<module>../../commons/trunk</module>
<module>../../core/trunk</module>
Modified: root/dist/trunk/richfaces.xml
===================================================================
--- root/dist/trunk/richfaces.xml 2010-05-25 11:18:50 UTC (rev 17229)
+++ root/dist/trunk/richfaces.xml 2010-05-25 13:52:40 UTC (rev 17230)
@@ -15,6 +15,10 @@
<destName>readme.txt</destName>
</file>
<file>
+ <source>readme-examples.txt</source>
+ <destName>examples/readme.txt</destName>
+ </file>
+ <file>
<source>JBossORG-EULA.txt</source>
</file>
</files>
@@ -73,6 +77,10 @@
<outputDirectory>docs/javadocs/richfaces-ui</outputDirectory>
</fileSet>
<fileSet>
+ <directory>target/site/jsdoc</directory>
+
<outputDirectory>docs/jsdocs/${module.artifactId}</outputDirectory>
+ </fileSet>
+ <fileSet>
<directory>target</directory>
<includes>
<include>*-sources.jar</include>
Modified: root/ui/dist/trunk/assembler.xml
===================================================================
--- root/ui/dist/trunk/assembler.xml 2010-05-25 11:18:50 UTC (rev 17229)
+++ root/ui/dist/trunk/assembler.xml 2010-05-25 13:52:40 UTC (rev 17230)
@@ -7,10 +7,8 @@
<moduleSet>
<includeSubModules>true</includeSubModules>
<includes>
- <include>org.richfaces.ui:richfaces-ui-core-api</include>
- <include>org.richfaces.ui-sandbox:tables-api</include>
- <include>org.richfaces.ui-sandbox:tables-ui</include>
- <include>org.richfaces.ui-sandbox:tables-impl</include>
+ <include>org.richfaces.ui:*</include>
+ <include>org.richfaces.ui-sandbox:*</include>
</includes>
<sources>
@@ -18,8 +16,11 @@
<excludeSubModuleDirectories>true</excludeSubModuleDirectories>
<fileSets>
<fileSet>
- <directory>src/main/java</directory>
- <outputDirectory>sources</outputDirectory>
+
<directory>src/main/resources/META-INF/resources</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>*.js</include>
+ </includes>
</fileSet>
</fileSets>
</sources>
Modified: root/ui/dist/trunk/pom.xml
===================================================================
--- root/ui/dist/trunk/pom.xml 2010-05-25 11:18:50 UTC (rev 17229)
+++ root/ui/dist/trunk/pom.xml 2010-05-25 13:52:40 UTC (rev 17230)
@@ -49,6 +49,43 @@
<skip>true</skip>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-4</version>
+ <configuration>
+ <appendAssemblyId>false</appendAssemblyId>
+ <finalName>js</finalName>
+ <descriptor>assembler.xml</descriptor>
+ </configuration>
+ <executions>
+ <execution>
+ <id>collect-jsdocs</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>gr.abiss.mvn.plugins</groupId>
+ <artifactId>maven-jstools-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>jsdoc</id>
+ <phase>prepare-package</phase>
+ <configuration>
+
<outputBaseDirectory>${basedir}/richfaces-ui/target/site</outputBaseDirectory>
+ <jsDir>${basedir}/target/js</jsDir>
+ <includes>**/*.js</includes>
+ <caseSensitive>true</caseSensitive>
+ </configuration>
+ <goals>
+ <goal>jsdoc</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
Show replies by date