henning 2004/10/20 15:48:50
Modified: src/maven-plugin Tag: TORQUE_3_1_BRANCH plugin.jelly
project.xml
xdocs Tag: TORQUE_3_1_BRANCH changes.xml
Added: src/maven-plugin/src/plugin-resources/templates Tag:
TORQUE_3_1_BRANCH index.jelly
Log:
Add Patch for Torque reporting to the Maven plugin. Contributed by
Thierry Lach.
Revision Changes Path
No revision
No revision
1.8.2.5 +45 -2 db-torque/src/maven-plugin/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/db-torque/src/maven-plugin/plugin.jelly,v
retrieving revision 1.8.2.4
retrieving revision 1.8.2.5
diff -u -r1.8.2.4 -r1.8.2.5
--- plugin.jelly 11 Sep 2004 12:42:09 -0000 1.8.2.4
+++ plugin.jelly 20 Oct 2004 22:48:49 -0000 1.8.2.5
@@ -25,7 +25,9 @@
<!-- -->
<!-- ======================================================================== -->
-<project xmlns:j="jelly:core">
+<project xmlns:j="jelly:core"
+ xmlns:ant="jelly:ant"
+ xmlns:doc="doc">
<!-- ================================================================ -->
<!-- M A I N T A R G E T -->
@@ -692,5 +694,46 @@
</target>
+ <goal name="maven-torque-plugin:register">
+ <!--util:file var="tasks" name="${maven.docs.src}/tasks.xml"/-->
+ <!--j:if test="${tasks.exists()}"-->
+ <doc:registerReport name="Torque"
+ pluginName="maven-torque-plugin"
+ link="torque/index"
+ description="Torque documentation."/>
+ <!--/j:if-->
+
+ </goal>
+
+ <goal name="maven-torque-plugin:deregister">
+ <doc:deregisterReport name="Torque"/>
+ </goal>
+
+ <goal name="maven-torque-plugin:report"
+ description="Generates documentation for your datamodel"
+ prereqs="torque:init">
+ <torque-doc
+ contextProperties="${torque.contextProperties}"
+ controlTemplate="${torque.template.doc}"
+ outputDirectory="${maven.gen.docs}/torque"
+ outputFile="report.${torque.project}.xdoc.generation"
+ outputFormat="anakia"
+ sqldbmap="${torque.sql.dir}/sqldb.map"
+ templatePath="${torque.templatePath}"
+ useClasspath="${torque.useClasspath}">
+ <fileset dir="${torque.schema.dir}"
+ includes="${torque.schema.doc.includes}"
+ excludes="${torque.schema.doc.excludes}"
+ />
+ </torque-doc>
+ <ant:mkdir dir="${maven.gen.docs}/torque"/>
+ <j:file name="${maven.gen.docs}/torque/index.xml"
+ prettyPrint="true"
+ outputMode="xml"
+ xmlns="dummy">
+ <j:import file="${plugin.resources}/templates/index.jelly" inherit="true"/>
+ </j:file>
+ </goal>
+
</project>
1.12.2.14 +5 -1 db-torque/src/maven-plugin/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/db-torque/src/maven-plugin/project.xml,v
retrieving revision 1.12.2.13
retrieving revision 1.12.2.14
diff -u -r1.12.2.13 -r1.12.2.14
--- project.xml 16 Oct 2004 12:58:36 -0000 1.12.2.13
+++ project.xml 20 Oct 2004 22:48:49 -0000 1.12.2.14
@@ -117,8 +117,12 @@
<build>
<resources>
+ <resource>
+ <directory>${basedir}/src/plugin-resources</directory>
+ <targetPath>plugin-resources</targetPath>
+ </resource>
<resource>
- <directory>.</directory>
+ <directory>${basedir}</directory>
<includes>
<include>plugin.jelly</include>
<include>plugin.properties</include>
No revision
No revision
1.1.2.1 +46 -0 db-torque/src/maven-plugin/src/plugin-resources/templates/Attic/index.jelly
No revision
No revision
1.140.2.13 +3 -0 db-torque/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/db-torque/xdocs/changes.xml,v
retrieving revision 1.140.2.12
retrieving revision 1.140.2.13
diff -u -r1.140.2.12 -r1.140.2.13
--- changes.xml 20 Oct 2004 22:13:34 -0000 1.140.2.12
+++ changes.xml 20 Oct 2004 22:48:50 -0000 1.140.2.13
@@ -56,6 +56,9 @@
please not the changes mentioned in the <a
href="oracle-howto.html">Oracle Howto</a>.
</action>
+ <action type="update" dev="henning" issue="TRQS222">
+ Add Torque Reporting to the Maven plugin. Patch contributed by Thierry Lach.
+ </action>
</release>
<release version="3.1.1-RC3" date="2004-10-16">
<action type="update" dev="henning">
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
|