You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by vs...@apache.org on 2008/10/10 14:16:41 UTC

svn commit: r703437 - in /maven/doxia/doxia/trunk/doxia-modules: doxia-module-fml/pom.xml doxia-module-xdoc/pom.xml

Author: vsiveton
Date: Fri Oct 10 05:16:41 2008
New Revision: 703437

URL: http://svn.apache.org/viewvc?rev=703437&view=rev
Log:
o added a profile to generate xsd documentation with xsddoc

Modified:
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-fml/pom.xml
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/pom.xml

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-fml/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-fml/pom.xml?rev=703437&r1=703436&r2=703437&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-fml/pom.xml (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-fml/pom.xml Fri Oct 10 05:16:41 2008
@@ -74,4 +74,51 @@
       </plugin>
     </plugins>
   </build>
+
+  <profiles>
+    <profile>
+      <id>xsddoc</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <version>1.2</version>
+            <executions>
+              <execution>
+                <phase>site</phase>
+                <configuration>
+                  <tasks>
+                    <taskdef name="xsddoc" classname="net.sf.xframe.xsddoc.Task"/>
+
+                    <mkdir dir="${reporting.outputDirectory}/xsddoc"/>
+
+                    <xsddoc file="${basedir}/src/main/resources/fml-1.0.xsd"
+                      out="${reporting.outputDirectory}/xsddoc"
+                      doctitle="Reference of Schema FML 1.0"
+                      verbose="true"/>
+                  </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.1</version>
+              </dependency>
+            </dependencies>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>
\ No newline at end of file

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/pom.xml?rev=703437&r1=703436&r2=703437&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/pom.xml (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/pom.xml Fri Oct 10 05:16:41 2008
@@ -61,4 +61,51 @@
       </plugin>
     </plugins>
   </build>
+
+  <profiles>
+    <profile>
+      <id>xsddoc</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <version>1.2</version>
+            <executions>
+              <execution>
+                <phase>site</phase>
+                <configuration>
+                  <tasks>
+                    <taskdef name="xsddoc" classname="net.sf.xframe.xsddoc.Task"/>
+
+                    <mkdir dir="${reporting.outputDirectory}/xsddoc"/>
+
+                    <xsddoc file="${basedir}/src/main/resources/xdoc-2.0.xsd"
+                      out="${reporting.outputDirectory}/xsddoc"
+                      doctitle="Reference of Schema Xdoc 2.0"
+                      verbose="true"/>
+                  </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.1</version>
+              </dependency>
+            </dependencies>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>
\ No newline at end of file