Author: ddewolf
Date: Tue Feb 6 12:09:36 2007
New Revision: 504272
URL: http://svn.apache.org/viewvc?view=rev&rev=504272
Log:
Fetching DTDs when building site
Modified:
tiles/site/pom.xml
Modified: tiles/site/pom.xml
URL:
http://svn.apache.org/viewvc/tiles/site/pom.xml?view=diff&rev=504272&r1=504271&r2=504272
==============================================================================
--- tiles/site/pom.xml (original)
+++ tiles/site/pom.xml Tue Feb 6 12:09:36 2007
@@ -41,10 +41,10 @@
<name>Apache Tiles</name>
<description>
Tiles allows authors to define page fragements which can be assembled
- into a complete page at runtime. These fragments, or tiles, can be
used
+ into a complete page at runtime. These fragments, or tiles, can be used
as simple includes in order to reduce the duplication of common page
elements or embeded within other tiles to develop a series of reusable
- templates. These templates streamline the development of a consistent
+ templates. These templates streamline the development of a consistent
look and feel across an entire application.
</description>
@@ -57,19 +57,35 @@
<ciManagement/>
<build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>get-dtds</id>
+ <phase>site</phase>
+ <configuration>
+ <tasks>
+ <mkdir dir="${project.build.directory}/site/dtds"/>
+ <get
src="http://svn.apache.org/repos/asf/tiles/framework/trunk/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_0.dtd"
+
dest="${project.build.directory}/site/dtds/tiles-config_2_0.dtd"
+ verbose="true"
+ ignoreerrors="true"/>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>2.0-beta-4</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
</plugin>
</plugins>
</pluginManagement>