git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112724 13f79535-47bb-0310-9956-ffa450edef68
41 lines
1.3 KiB
XML
41 lines
1.3 KiB
XML
<project xmlns:j="jelly:core">
|
|
|
|
<!-- ================================================================== -->
|
|
<!-- J U N I T D O C L E T -->
|
|
<!-- ================================================================== -->
|
|
|
|
<goal name="junitdoclet"
|
|
description="Generate unit tests">
|
|
|
|
<mkdir dir="${maven.junitdoclet.outputDirectory}"/>
|
|
|
|
<path id="junitdoclet.classpath">
|
|
<path refid="maven.dependency.classpath"/>
|
|
<pathelement path="${plugin.getDependencyPath('junit-doclet')}"/>
|
|
</path>
|
|
|
|
<javadoc
|
|
packagenames = "${pom.package}.*"
|
|
sourcepath = "${pom.build.sourceDirectory}"
|
|
defaultexcludes = "yes"
|
|
doclet = "com.objectfab.tools.junitdoclet.JUnitDoclet"
|
|
docletpathref = "junitdoclet.classpath"
|
|
additionalparam = "-d ${maven.junitdoclet.outputDirectory} -buildall">
|
|
<classpath refid = "junitdoclet.classpath"/>>
|
|
</javadoc>
|
|
|
|
<!--
|
|
| JUnitDoclet produces suites but we don't need these because the
|
|
| JUnit plugin picks up the test cases to run.
|
|
-->
|
|
|
|
<delete>
|
|
<fileset dir="${maven.junitdoclet.outputDirectory}">
|
|
<include name="**/*Suite.java"/>
|
|
</fileset>
|
|
</delete>
|
|
|
|
</goal>
|
|
|
|
</project>
|