db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1326091 - in /db/torque/torque4/trunk: torque-site/pom.xml torque-site/src/site/site.xml torque-templates/pom.xml
Date Sat, 14 Apr 2012 12:08:07 GMT
Author: tfischer
Date: Sat Apr 14 12:08:07 2012
New Revision: 1326091

URL: http://svn.apache.org/viewvc?rev=1326091&view=rev
Log:
TORQUE-171 add schema to template site

Modified:
    db/torque/torque4/trunk/torque-site/pom.xml
    db/torque/torque4/trunk/torque-site/src/site/site.xml
    db/torque/torque4/trunk/torque-templates/pom.xml

Modified: db/torque/torque4/trunk/torque-site/pom.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/pom.xml?rev=1326091&r1=1326090&r2=1326091&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/pom.xml (original)
+++ db/torque/torque4/trunk/torque-site/pom.xml Sat Apr 14 12:08:07 2012
@@ -468,6 +468,11 @@
                 </copy>
 
                 <!-- templates extra report pages -->
+                <copy todir="${basedir}/target/site/documentation/modules/templates">
+                  <fileset dir="${basedir}/../torque-templates/target/site">
+                    <include name="*.xsd"/>
+                  </fileset>
+                </copy>
                 <copy todir="${basedir}/target/site/documentation/modules/templates/cobertura">
                   <fileset dir="${basedir}/../torque-templates/target/site/cobertura"
/>
                 </copy>

Modified: db/torque/torque4/trunk/torque-site/src/site/site.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/site.xml?rev=1326091&r1=1326090&r2=1326091&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/site/site.xml (original)
+++ db/torque/torque4/trunk/torque-site/src/site/site.xml Sat Apr 14 12:08:07 2012
@@ -82,6 +82,8 @@
           </item>
         </item>
         <item name="Templates"           href="/documentation/modules/templates/index.html"
collapse="true">
+          <item name="Source XSD" href="/documentation/modules/templates/database-4-0.xsd"/>
+          <item name="Source XSD (strict)" href="/documentation/modules/templates/database-4-0-strict.xsd"/>
           <item name="Customizing the output" href="/documentation/modules/templates/customizing.html"/>
           <item name="Database independence"  href="/documentation/modules/templates/database-independence.html"/>
           <item name="Dependencies"      href="/documentation/modules/templates/dependencies.html"/>

Modified: db/torque/torque4/trunk/torque-templates/pom.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/pom.xml?rev=1326091&r1=1326090&r2=1326091&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/pom.xml (original)
+++ db/torque/torque4/trunk/torque-templates/pom.xml Sat Apr 14 12:08:07 2012
@@ -17,8 +17,8 @@
  specific language governing permissions and limitations
  under the License.
 -->
-<project 
-    xmlns="http://maven.apache.org/POM/4.0.0" 
+<project
+    xmlns="http://maven.apache.org/POM/4.0.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <parent>
@@ -75,6 +75,28 @@
   <build>
     <plugins>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>process-other-sites</id>
+            <phase>pre-site</phase>
+            <configuration>
+              <tasks>
+                <mkdir dir="${basedir}/target/site" />
+                <copy file="${basedir}/src/main/resources/org/apache/torque/templates/xsd/database-4-0.xsd"

+                    todir="${basedir}/target/site"/>
+                <copy file="${basedir}/src/main/resources/org/apache/torque/templates/xsd/database-4-0-strict.xsd"

+                    todir="${basedir}/target/site"/>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
           <appendAssemblyId>false</appendAssemblyId>
@@ -100,4 +122,4 @@
     </plugins>
   </build>
 
-</project>
\ No newline at end of file
+</project>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message