jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@apache.org
Subject svn commit: rev 55595 - incubator/jackrabbit/trunk
Date Tue, 26 Oct 2004 10:07:17 GMT
Author: fielding
Date: Tue Oct 26 03:07:16 2004
New Revision: 55595

Modified:
   incubator/jackrabbit/trunk/maven.xml
Log:
Remove those abboying date stamps from javadoc files.
This works for generate, but not yet for site:deploy



Modified: incubator/jackrabbit/trunk/maven.xml
==============================================================================
--- incubator/jackrabbit/trunk/maven.xml	(original)
+++ incubator/jackrabbit/trunk/maven.xml	Tue Oct 26 03:07:16 2004
@@ -19,18 +19,31 @@
   xmlns:j="jelly:core"
   xmlns:ant="jelly:ant">
 
+   <postGoal name="ant:generate-build">
+      <attainGoal   name="jackrabbit:post-ant"/>
+   </postGoal>
+   
+   <!-- Goal adds a line to build.xml to include the ./lib in ant classpath -->
+   <!-- Once jcr.jar is in a maven repository this can be removed -->
+   <goal name="jackrabbit:post-ant">
+      <ant:replace 
+         file="build.xml"
+         token="&lt;path id=&quot;build.classpath&quot;&gt;"
+         value="&lt;path id=&quot;build.classpath&quot;&gt;&lt;fileset
dir=&quot;./lib&quot;&gt;&lt;include name=&quot;**/*.jar&quot;>&lt;/include&gt;&lt;/fileset&gt;"
+      />
+   </goal>
 
-	<postGoal name="ant:generate-build">
-		<attainGoal	name="jackrabbit:post-ant"/>
-	</postGoal>
-	
-	<!-- Goal adds a line to build.xml to include the ./lib in ant classpath -->
-	<!-- Once jcr.jar is in a maven repository this can be removed -->
-  	<goal name="jackrabbit:post-ant">
-      	<ant:replace 
-      		file="build.xml"
-      		token="&lt;path id=&quot;build.classpath&quot;&gt;"
-      		value="&lt;path id=&quot;build.classpath&quot;&gt;&lt;fileset
dir=&quot;./lib&quot;&gt;&lt;include name=&quot;**/*.jar&quot;>&lt;/include&gt;&lt;/fileset&gt;"
-    />
-  	</goal>
-</project>
\ No newline at end of file
+   <postGoal name="maven-javadoc-plugin:report">
+      <attainGoal   name="jackrabbit:post-javadoc"/>
+   </postGoal>
+   
+   <!-- Goal strips the javadov generated datestamp -->
+   <goal name="jackrabbit:post-javadoc">
+      <ant:replaceregexp
+         match="Generated by javadoc on (.*)--"
+         replace="Generated by javadoc --" flags="g" byline="true">
+           <ant:fileset dir="${maven.javadoc.destdir}" includes="**/*.html"/>
+      </ant:replaceregexp>
+   </goal>
+
+</project>

Mime
View raw message