You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shale.apache.org by ws...@apache.org on 2006/08/02 08:12:27 UTC

svn commit: r427910 - /shale/framework/trunk/pom.xml

Author: wsmoak
Date: Tue Aug  1 23:12:26 2006
New Revision: 427910

URL: http://svn.apache.org/viewvc?rev=427910&view=rev
Log:
Copy the dtds into place when building the website, so they will be visible at shale.apache.org/dtds.
TODO:  Move the Clay dtd to org/apache/shale/clay/config instead of META-INF.
SHALE-230

Modified:
    shale/framework/trunk/pom.xml

Modified: shale/framework/trunk/pom.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/pom.xml?rev=427910&r1=427909&r2=427910&view=diff
==============================================================================
--- shale/framework/trunk/pom.xml (original)
+++ shale/framework/trunk/pom.xml Tue Aug  1 23:12:26 2006
@@ -248,6 +248,32 @@
             </plugin>
           </plugins>
         </pluginManagement>
+
+        <plugins>
+            <plugin>
+               <artifactId>maven-antrun-plugin</artifactId>
+               <inherited>false</inherited>
+               <executions>
+                  <execution>
+                     <id>copy-dtds</id>
+                     <phase>site</phase>
+                     <configuration>
+                        <tasks>
+                           <copy todir="${project.build.directory}/site/dtds"
+                                 failonerror="false">
+                              <fileset dir="${basedir}/shale-core/src/main/resources/org/apache/shale/dialog/"/>
+                              <fileset file="${basedir}/shale-clay/src/main/resources/META-INF/clay-config_1_0.dtd"/>
+                           </copy>
+                        </tasks>
+                     </configuration>
+                     <goals>
+                        <goal>run</goal>
+                     </goals>
+                  </execution>
+               </executions>
+            </plugin>
+        </plugins>
+
         <defaultGoal>install</defaultGoal>
 
     </build>