[richfaces-svn-commits] JBoss Rich Faces SVN: r14251 - branches/community/3.3.X/samples/richfaces-demo.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed May 20 11:22:18 EDT 2009


Author: nbelaevski
Date: 2009-05-20 11:22:18 -0400 (Wed, 20 May 2009)
New Revision: 14251

Modified:
   branches/community/3.3.X/samples/richfaces-demo/pom.xml
Log:
richfaces-demo: TLD docs build moved into "release" profile

Modified: branches/community/3.3.X/samples/richfaces-demo/pom.xml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/pom.xml	2009-05-20 14:53:29 UTC (rev 14250)
+++ branches/community/3.3.X/samples/richfaces-demo/pom.xml	2009-05-20 15:22:18 UTC (rev 14251)
@@ -26,73 +26,12 @@
         http://repository.jboss.com/maven2/
       </url>
     </repository>
-  </repositories>
+	</repositories>
   
   <build>
     <finalName>richfaces-demo</finalName>
     <plugins>
       <plugin>
-        <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.ui</groupId>
-                  <artifactId>richfaces-ui</artifactId>
-                  <version>${project.version}</version>
-                </artifactItem>
-              </artifactItems>
-              <outputDirectory>${project.build.directory}/richfaces</outputDirectory>
-              <overWriteReleases>false</overWriteReleases>
-              <overWriteSnapshots>true</overWriteSnapshots>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>tlddoc</id>
-            <phase>process-resources</phase>
-            <goals>
-              <goal>java</goal>
-            </goals>
-          </execution>
-        </executions>
-        <dependencies>
-          <dependency>
-            <groupId>taglibrarydoc</groupId>
-            <artifactId>tlddoc</artifactId>
-            <version>1.3</version>
-          </dependency>
-        </dependencies>
-        <configuration>
-          <includeProjectDependencies>false</includeProjectDependencies>
-          <includePluginDependencies>true</includePluginDependencies>
-          <executableDependency>
-            <groupId>taglibrarydoc</groupId>
-            <artifactId>tlddoc</artifactId>
-          </executableDependency>
-          <mainClass>com.sun.tlddoc.TLDDoc</mainClass>
-          <arguments>
-            <argument>-d</argument>
-            <argument>${project.build.directory}/${project.build.finalName}/WEB-INF/tlddoc</argument>
-            <argument>-xslt</argument>
-            <argument>${basedir}/src/main/xslt/tlddoc</argument>
-            <argument>${project.build.directory}/richfaces/META-INF/ajax4jsf.tld</argument>
-            <argument>${project.build.directory}/richfaces/META-INF/rich.tld</argument>
-          </arguments>
-        </configuration>
-      </plugin>
-      <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
           <source>1.5</source>
@@ -117,6 +56,67 @@
       <id>release</id>
       <build>
         <plugins>
+		  <plugin>
+			<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.ui</groupId>
+					  <artifactId>richfaces-ui</artifactId>
+					  <version>${project.version}</version>
+					</artifactItem>
+				  </artifactItems>
+				  <outputDirectory>${project.build.directory}/richfaces</outputDirectory>
+				  <overWriteReleases>false</overWriteReleases>
+				  <overWriteSnapshots>true</overWriteSnapshots>
+				</configuration>
+			  </execution>
+			</executions>
+		  </plugin>
+		  <plugin>
+			<groupId>org.codehaus.mojo</groupId>
+			<artifactId>exec-maven-plugin</artifactId>
+			<executions>
+			  <execution>
+				<id>tlddoc</id>
+				<phase>process-resources</phase>
+				<goals>
+				  <goal>java</goal>
+				</goals>
+			  </execution>
+			</executions>
+			<dependencies>
+			  <dependency>
+				<groupId>taglibrarydoc</groupId>
+				<artifactId>tlddoc</artifactId>
+				<version>1.3</version>
+			  </dependency>
+			</dependencies>
+			<configuration>
+			  <includeProjectDependencies>false</includeProjectDependencies>
+			  <includePluginDependencies>true</includePluginDependencies>
+			  <executableDependency>
+				<groupId>taglibrarydoc</groupId>
+				<artifactId>tlddoc</artifactId>
+			  </executableDependency>
+			  <mainClass>com.sun.tlddoc.TLDDoc</mainClass>
+			  <arguments>
+				<argument>-d</argument>
+				<argument>${project.build.directory}/${project.build.finalName}/WEB-INF/tlddoc</argument>
+				<argument>-xslt</argument>
+				<argument>${basedir}/src/main/xslt/tlddoc</argument>
+				<argument>${project.build.directory}/richfaces/META-INF/ajax4jsf.tld</argument>
+				<argument>${project.build.directory}/richfaces/META-INF/rich.tld</argument>
+			  </arguments>
+			</configuration>
+		  </plugin>
           <plugin>
             <artifactId>maven-war-plugin</artifactId>
             <executions>
@@ -400,5 +400,5 @@
 				</exclusion>
 			</exclusions>
 		</dependency>
-  </dependencies>
+	</dependencies>
 </project>




More information about the richfaces-svn-commits mailing list