o moved to the sandbox for now

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@369305 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2006-01-16 02:01:33 +00:00
parent 9580aa4183
commit 8d4d6ea668
4 changed files with 0 additions and 131 deletions

View File

@ -1,61 +0,0 @@
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clover-plugin-samples</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>maven-clover-plugin-sample-simple</artifactId>
<packaging>jar</packaging>
<name>Maven Clover Plugin Simple Sample</name>
<description>Maven Clover Plugin Simple Sample</description>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<reporting>
<excludeDefaults>true</excludeDefaults>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clover-plugin</artifactId>
</plugin>
</plugins>
</reporting>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.4</source>
<target>1.4</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clover-plugin</artifactId>
<configuration>
<jdk>1.4</jdk>
<flushPolicy>threaded</flushPolicy>
<flushInterval>100</flushInterval>
</configuration>
<executions>
<execution>
<configuration>
<targetPercentage>1%</targetPercentage>
</configuration>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,30 +0,0 @@
/*
* Copyright 2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.maven.plugin.clover.samples.simple;
public class Simple
{
public void someMethod()
{
assert true == true : "true was not true";
int i = 0;
if (i > 0)
{
i = i + 1;
}
}
}

View File

@ -1,28 +0,0 @@
/*
* Copyright 2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.maven.plugin.clover.samples.simple;
import junit.framework.TestCase;
public class SimpleTest extends TestCase
{
public void testSomeMethod()
{
Simple simple = new Simple();
simple.someMethod();
}
}

View File

@ -1,12 +0,0 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clover-plugin-samples</artifactId>
<packaging>pom</packaging>
<name>Maven Clover Plugin Samples</name>
<description>Maven Clover Plugin Samples</description>
<version>1.0-SNAPSHOT</version>
<modules>
<module>maven-clover-plugin-sample-simple</module>
</modules>
</project>