maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r561788 [1/3] - in /maven/doxia/doxia/branches/doxia-modules/doxia-module-xdoc/DOXIA-123: pom.xml src/main/resources/xdoc-2.0.xsd src/test/resources/test-xdoc-xsd.xml
Date Wed, 01 Aug 2007 12:49:05 GMT
Author: vsiveton
Date: Wed Aug  1 05:49:04 2007
New Revision: 561788

URL: http://svn.apache.org/viewvc?view=rev&rev=561788
Log:
o first add of xdoc-2.0.xsd
o added a test xdoc file to play with the new xsd
o updated pom to include xsddoc (XML Schema documentation generator) ant task for the site
phase

Added:
    maven/doxia/doxia/branches/doxia-modules/doxia-module-xdoc/DOXIA-123/src/main/resources/xdoc-2.0.xsd
  (with props)
    maven/doxia/doxia/branches/doxia-modules/doxia-module-xdoc/DOXIA-123/src/test/resources/test-xdoc-xsd.xml
  (with props)
Modified:
    maven/doxia/doxia/branches/doxia-modules/doxia-module-xdoc/DOXIA-123/pom.xml

Modified: maven/doxia/doxia/branches/doxia-modules/doxia-module-xdoc/DOXIA-123/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/branches/doxia-modules/doxia-module-xdoc/DOXIA-123/pom.xml?view=diff&rev=561788&r1=561787&r2=561788
==============================================================================
--- maven/doxia/doxia/branches/doxia-modules/doxia-module-xdoc/DOXIA-123/pom.xml (original)
+++ maven/doxia/doxia/branches/doxia-modules/doxia-module-xdoc/DOXIA-123/pom.xml Wed Aug 
1 05:49:04 2007
@@ -12,6 +12,53 @@
   <build>
     <plugins>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>site</phase>
+            <configuration>
+              <tasks>
+
+                <taskdef name="xsddoc"
+                         classname="net.sf.xframe.xsddoc.Task"
+                         classpathref="maven.plugin.classpath"/>
+
+                <mkdir dir="${project.reporting.outputDirectory}/xsddoc/"/>
+
+                <tstamp>
+                  <format property="currentYear" pattern="yyyy" />
+                </tstamp>
+
+                <echo message="Generate Schema Documentation for Xdoc-2.0"/>
+                <xsddoc file="${basedir}/src/main/resources/xdoc-2.0.xsd"
+                  out="${project.reporting.outputDirectory}/xsddoc"
+                  doctitle="Schema documentation for Xdoc-2.0"
+                  bottom="Copyright &#169; ${project.inceptionYear}-${currentYear} ${project.organization.name}.
All Rights Reserved."
+                  verbose="false"/>
+
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+
+        <dependencies>
+          <dependency>
+            <groupId>xsddoc</groupId>
+            <artifactId>xsddoc</artifactId>
+            <version>1.0</version>
+          </dependency>
+          <dependency>
+            <groupId>xalan</groupId>
+            <artifactId>xalan</artifactId>
+            <version>2.7.0</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+      <plugin>
         <groupId>org.codehaus.plexus</groupId>
         <artifactId>plexus-maven-plugin</artifactId>
         <configuration>
@@ -30,5 +77,4 @@
       </plugin>
     </plugins>
   </build>
-
 </project>



Mime
View raw message