forked from phoedos/pmd
Mavenized. . .
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@12 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
parent
077206ef4c
commit
399c0d2673
167
pmd/build.xml
Normal file
167
pmd/build.xml
Normal file
@ -0,0 +1,167 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<project name="maven" default="maven:jar" basedir=".">
|
||||
|
||||
<!-- Give user a chance to override without editing this file
|
||||
(and without typing -D each time they invoke a target) -->
|
||||
|
||||
<!-- Allow any user specific values to override the defaults -->
|
||||
<property file="${user.home}/build.properties" />
|
||||
<!-- Allow user defaults for this project -->
|
||||
<property file="build.properties" />
|
||||
<!-- Set default values for the build -->
|
||||
<property file="project.properties" />
|
||||
|
||||
<target name="test-data">
|
||||
<javac srcdir="src/test-data"
|
||||
destdir="test-data" />
|
||||
<javac srcdir="src/example"
|
||||
destdir="test-data" />
|
||||
</target>
|
||||
|
||||
|
||||
<!-- maven:start -->
|
||||
|
||||
<!-- ======================================================== -->
|
||||
<!-- D E L E G A T O R S -->
|
||||
<!-- ======================================================== -->
|
||||
|
||||
<target name="maven:gump-descriptor">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="gump-descriptor"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:maven-update">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="maven-update"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:update-jars">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="update-jars"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:jar">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="jar"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:docs-quick">
|
||||
<ant antfile="${maven.home}/plugins/docs/build.xml" target="docs-quick"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:run-singletest">
|
||||
<ant antfile="${maven.home}/plugins/test/build.xml" target="run-singletest"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:compile">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="compile"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:fo">
|
||||
<ant antfile="${maven.home}/plugins/docs/build.xml" target="fo"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:cvs-change-log">
|
||||
<ant antfile="${maven.home}/plugins/docs/build.xml" target="cvs-change-log"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:war">
|
||||
<ant antfile="${maven.home}/plugins/j2ee/build.xml" target="war"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:generate-reactor">
|
||||
<ant antfile="${maven.home}/plugins/reactor/build.xml" target="generate-reactor"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:cross-ref">
|
||||
<ant antfile="${maven.home}/plugins/docs/build.xml" target="cross-ref"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:deploy-site">
|
||||
<ant antfile="${maven.home}/plugins/docs/build.xml" target="deploy-site"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:ear">
|
||||
<ant antfile="${maven.home}/plugins/j2ee/build.xml" target="ear"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:install-jar">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="install-jar"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:task-list">
|
||||
<ant antfile="${maven.home}/plugins/docs/build.xml" target="task-list"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:docs">
|
||||
<ant antfile="${maven.home}/plugins/docs/build.xml" target="docs"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:site">
|
||||
<ant antfile="${maven.home}/plugins/docs/build.xml" target="site"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:deploy-dist">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="deploy-dist"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:javadocs">
|
||||
<ant antfile="${maven.home}/plugins/docs/build.xml" target="javadocs"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:announce">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="announce"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:check-source">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="check-source"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:dist">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="dist"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:dist-build">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="dist-build"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:metrics">
|
||||
<ant antfile="${maven.home}/plugins/metrics/build.xml" target="metrics"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:clean">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="clean"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:env">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="env"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:test">
|
||||
<ant antfile="${maven.home}/plugins/test/build.xml" target="test"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:pdf">
|
||||
<ant antfile="${maven.home}/plugins/docs/build.xml" target="pdf"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:iutest">
|
||||
<ant antfile="${maven.home}/plugins/iutest/build.xml" target="iutest"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:activity-log">
|
||||
<ant antfile="${maven.home}/plugins/docs/build.xml" target="activity-log"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:verify-project">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="verify-project"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:validate-pom">
|
||||
<ant antfile="${maven.home}/plugins/core/build.xml" target="validate-pom"/>
|
||||
</target>
|
||||
|
||||
<target name="maven:validate-war">
|
||||
<ant antfile="${maven.home}/plugins/j2ee/build.xml" target="validate-war"/>
|
||||
</target>
|
||||
|
||||
<!-- maven:end -->
|
||||
|
||||
</project>
|
111
pmd/project.xml
Normal file
111
pmd/project.xml
Normal file
@ -0,0 +1,111 @@
|
||||
<?xml version="1.0"?>
|
||||
<project>
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>pmd</id>
|
||||
<name>P. M. D.</name>
|
||||
<currentVersion>0.4</currentVersion>
|
||||
<organization>
|
||||
<name>InfoEther</name>
|
||||
<url>http://www.infoether.com/</url>
|
||||
</organization>
|
||||
|
||||
<inceptionYear>2002</inceptionYear>
|
||||
<package>com.infoether.pmd</package>
|
||||
|
||||
<description>
|
||||
<![CDATA[
|
||||
PMD runs through Java source code, and looks for potential problems
|
||||
in the code. Currently, PMD supports:
|
||||
<ul>
|
||||
<li>Unused Local Variables</li>
|
||||
<li>Unecessary Object Creation</li>
|
||||
</ul>
|
||||
More tests to come.
|
||||
</ul>
|
||||
]]>
|
||||
</description>
|
||||
<shortDescription>PMD Source Checker</shortDescription>
|
||||
|
||||
<url>http://pmd.sourceforge.net/</url>
|
||||
<issueTrackingUrl>http://www.sourceforge.net/tracker/?group_id=56262</issueTrackingUrl>
|
||||
<siteAddress>pmd.sourceforge.net</siteAddress>
|
||||
<siteDirectory>/www/pmd.sourceforge.net/www/</siteDirectory>
|
||||
<distributionDirectory>/www/pmd.sourceforge.net/builds/pmd</distributionDirectory>
|
||||
|
||||
<repository>
|
||||
<connection>scm:cvs:pserver:anonymous@cvs.pmd.sourceforge.net:/cvsroot/pmd:pmd</connection>
|
||||
<url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pmd/</url>
|
||||
</repository>
|
||||
|
||||
<versions>
|
||||
<version>
|
||||
<id>0.1</id>
|
||||
<name>0.1</name>
|
||||
<tag>HEAD</tag>
|
||||
</version>
|
||||
</versions>
|
||||
|
||||
<branches>
|
||||
</branches>
|
||||
|
||||
<mailingLists>
|
||||
</mailingLists>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Tom Copeland</name>
|
||||
<id>tomcopeland</id>
|
||||
<email>tom@infoether.com</email>
|
||||
<roles>
|
||||
<role>Admin</role>
|
||||
</roles>
|
||||
</developer>
|
||||
|
||||
<developer>
|
||||
<name>David Dixon-Peugh</name>
|
||||
<id>dpeugh</id>
|
||||
<email>ddp@apache.org</email>
|
||||
<organization>Lockheed Martin Corporation</organization>
|
||||
<roles>
|
||||
<role>Developer</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<contributors>
|
||||
</contributors>
|
||||
|
||||
<!-- Need to mark these as compile-time/run-time -->
|
||||
|
||||
<dependencies>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<nagEmailAddress>tom@infoether.com</nagEmailAddress>
|
||||
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
|
||||
<unitTestSourceDirectory>regress</unitTestSourceDirectory>
|
||||
|
||||
<integrationUnitTestSourceDirectory />
|
||||
|
||||
<aspectSourceDirectory></aspectSourceDirectory>
|
||||
|
||||
<unitTestPatterns>
|
||||
<unitTestPattern>include=**/Test*.java</unitTestPattern>
|
||||
</unitTestPatterns>
|
||||
|
||||
<integrationUnitTestPatterns />
|
||||
|
||||
<!-- J A R R E S O U R C E S -->
|
||||
<!-- Resources that are packaged up inside the JAR file -->
|
||||
|
||||
<jarResources>
|
||||
</jarResources>
|
||||
|
||||
<checkstyle>
|
||||
</checkstyle>
|
||||
<jars>
|
||||
</jars>
|
||||
</build>
|
||||
</project>
|
Loading…
x
Reference in New Issue
Block a user