Add test project

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114026 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion 2003-09-17 08:37:20 +00:00
parent 00e2f40dcf
commit 2ba1377552
6 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,2 @@
gump.xml
*.log

View File

@ -0,0 +1,18 @@
<project xmlns:util="jelly:util"
xmlns:j="jelly:core">
<goal name="test" prereqs="test-checkstyle-report">
<attainGoal name="clean"/>
</goal>
<goal name="test-checkstyle-report">
<!-- work around maven checkstyle being inherited :( -->
<j:set var="maven.checkstyle.properties" value=""/>
<attainGoal name="checkstyle:report"/>
<j:set var="expectedFile" value="${maven.gen.docs}/checkstyle-report.xml"/>
<util:file var="file" name="${expectedFile}" />
<j:if test="${!(file.exists())}">
<fail>${expectedFile} not generated</fail>
</j:if>
</goal>
</project>

View File

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<pomVersion>3</pomVersion>
<id>test-maven-checkstyle-plugin</id>
<name>Test project for Maven Checkstyle Plugin</name>
<groupId>maven</groupId>
<currentVersion>1.0-SNAPSHOT</currentVersion>
<organization>
<name>Apache Software Foundation</name>
<url>http://www.apache.org/</url>
<logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
</organization>
<inceptionYear>2001</inceptionYear>
<package>org.apache.maven</package>
<logo>http://maven.apache.org/images/maven.jpg</logo>
<description>Test for Maven Checkstyle plugin</description>
<shortDescription>Test for Maven Checkstyle plugin</shortDescription>
<url>http://maven.apache.org/reference/plugins/checkstyle/</url>
<siteDirectory>/www/maven.apache.org/reference/plugins/checkstyle/</siteDirectory>
<repository>
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/checkstyle/</connection>
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/checkstyle/</url>
</repository>
<developers>
<developer>
<name>dIon Gillard</name>
<id>dion</id>
<email>dion@multitask.com.au</email>
<organization>Multitask Consulting</organization>
<roles>
<role>Documentation</role>
</roles>
</developer>
</developers>
<build>
<sourceDirectory>src/main</sourceDirectory>
</build>
</project>

View File

@ -0,0 +1,6 @@
package org.apache.maven;
public class Dummy
{
public String badChecky = "error";
}

View File

@ -9,6 +9,7 @@
<body>
<release version="2.1" date="In CVS">
<action dev="dion" type="update">Add test project</action>
</release>
<release version="2.0" date="2003-09-01">