Hi, now that jdiff is Jaxp compliant, I've created a plugin for jdiff using the 
new plugin framework.

modified files

jakarta-turbine-maven/jars.list
added jdiff-1.0.7.jar

jakarta-turbine-maven/src/plugins/xdoc/templates/maven-reports.xml
added link to jdiff report

jakarta-turbine-maven/src/plugins/java/plugin.jelly
added call to jdiff:generate within site:generate

jakarta-turbine-maven/project.properties
overriding default plugin property to make report more interesting for maven 
(differences between b4 and head) instead of current and head.

jakarta-turbine-maven/src/plugins/xdoc/site.dvsl
added link to jdiff report

jdiff.zip contains the plugin

jdiff.jar can be obtained from here
http://sourceforge.net/projects/javadiff/
(rename to jdiff-1.0.7.jar)

cheers
Nathan

Attachment: jdiff.zip
Description: Zip compressed data

Index: jakarta-turbine-maven/src/plugins/java/plugin.jelly
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/src/plugins/java/plugin.jelly,v
retrieving revision 1.1
diff -u -r1.1 plugin.jelly
--- jakarta-turbine-maven/src/plugins/java/plugin.jelly 6 Jul 2002 04:49:10 -0000      
 1.1
+++ jakarta-turbine-maven/src/plugins/java/plugin.jelly 8 Jul 2002 20:58:52 -0000
@@ -159,6 +159,7 @@
       <attainGoal name="tasklist:generate"/>
       <attainGoal name="xdoc:generate-from-pom"/>
       <attainGoal name="xdoc:transform"/>
+      <attainGoal name="jdiff:generate"/>
   
   </goal>
 
Index: jakarta-turbine-maven/project.properties
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/project.properties,v
retrieving revision 1.21
diff -u -r1.21 project.properties
--- jakarta-turbine-maven/project.properties    28 Jun 2002 05:43:50 -0000      1.21
+++ jakarta-turbine-maven/project.properties    8 Jul 2002 21:00:34 -0000
@@ -18,3 +18,6 @@
 
 maven.checkstyle.excludes = org/apache/maven/java/parser/**
 
maven.checkstyle.properties=${maven.home}/plugins/checkstyle/turbine-checkstyle.properties
+
+#override the default to make jdiff report more interesting
+maven.jdiff.old.tag=MAVEN_1_0_B4
Index: jakarta-turbine-maven/jars.list
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/jars.list,v
retrieving revision 1.39
diff -u -r1.39 jars.list
--- jakarta-turbine-maven/jars.list     7 Jul 2002 19:43:36 -0000       1.39
+++ jakarta-turbine-maven/jars.list     8 Jul 2002 21:01:06 -0000
@@ -42,6 +42,7 @@
 dom4j-1.4-dev-3.jar
 forehead-1.0-beta-2.jar
 jdepend-2.2.jar
+jdiff-1.0.7.jar
 junit-3.7.jar
 logkit-1.0.1.jar
 log4j-1.1.3.jar

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to