You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/01/11 08:31:22 UTC
cvs commit: jakarta-turbine-maven/src/plugins-build/aspectj plugin.jelly
dion 2003/01/10 23:31:22
Modified: src/plugins-build/aspectj plugin.jelly
Log:
Added ajdoc goal from Eric Simmerman
Revision Changes Path
1.3 +42 -0 jakarta-turbine-maven/src/plugins-build/aspectj/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/aspectj/plugin.jelly,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- plugin.jelly 18 Sep 2002 17:09:21 -0000 1.2
+++ plugin.jelly 11 Jan 2003 07:31:22 -0000 1.3
@@ -66,4 +66,46 @@
</goal>
+ <goal name="aspectj:ajdoc" description="Javadoc source using ajdoc">
+
+ <j:if test="${sourcesPresent == 'true'}">
+
+ <taskdef name="ajdoc" classname="org.aspectj.tools.ant.taskdefs.Ajdoc" />
+
+ <available property="aspectSourcesPresent"
+ file="${pom.build.aspectSourceDirectory}"/>
+
+ <ajdoc packagenames="${pom.package}.*"
+ destdir="${maven.javadoc.destdir}"
+ author="${maven.javadoc.author}"
+ private="${maven.javadoc.private}"
+ version="${maven.javadoc.version}"
+ use="${maven.javadoc.use}"
+ windowtitle="${title}"
+ doctitle="${title}"
+ bottom="${copyright}"
+ stylesheetfile="${maven.javadoc.stylesheet}">
+
+ <j:forEach var="link" items="${links}">
+ <link href="${link.trim()}"/>
+ </j:forEach>
+ <classpath>
+ <path refid="maven.dependency.classpath"/>
+ <path location="${maven.build.dest}"/>
+ <pathelement path="${plugin.getDependencyPath('aspectj:aspectjrt')}"/>
+ </classpath>
+
+ <sourcepath>
+ <path refid="maven.compile.src.set"/>
+ <j:if test="${aspectSourcesPresent == 'true'}">
+ <pathelement location="${pom.build.aspectSourceDirectory}"/>
+ </j:if>
+ </sourcepath>
+
+ </ajdoc>
+
+ </j:if>
+
+ </goal>
+
</project>