Removed unused imports and added package declarations to maven-plugin-tools-java

test resources (to stop eclipse from complaining).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226699 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kenney Westerhof 2005-07-31 22:12:34 +00:00
parent f84a2ce8ec
commit e300b10792
10 changed files with 2 additions and 24 deletions

View File

@ -16,9 +16,7 @@ package org.apache.maven.artifact.ant;
* limitations under the License.
*/
import org.apache.maven.wagon.authentication.AuthenticationInfo;
import org.apache.maven.wagon.proxy.ProxyInfo;
import org.apache.maven.settings.Server;
/**
* Ant Wrapper for wagon proxy.

View File

@ -16,7 +16,6 @@ package org.apache.maven.artifact.metadata;
* limitations under the License.
*/
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository;
/**

View File

@ -1,7 +1,6 @@
package org.apache.maven.plugin;
import org.apache.maven.model.Plugin;
import org.apache.maven.plugin.descriptor.MojoDescriptor;
import org.apache.maven.plugin.descriptor.PluginDescriptor;
import org.codehaus.plexus.component.discovery.ComponentDiscoveryEvent;
import org.codehaus.plexus.component.discovery.ComponentDiscoveryListener;
@ -10,7 +9,6 @@ import org.codehaus.plexus.logging.AbstractLogEnabled;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

View File

@ -1,12 +1,9 @@
package org.apache.maven.usability;
import org.apache.maven.artifact.DefaultArtifact;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.factory.ArtifactFactory;
import org.codehaus.plexus.PlexusTestCase;
import junit.framework.TestCase;
/*
* Copyright 2001-2005 The Apache Software Foundation.
*

View File

@ -1,3 +1,4 @@
package source;
import org.apache.maven.plugin.AbstractMojo;

View File

@ -1,3 +1,4 @@
package source;
import org.apache.maven.plugin.AbstractMojo;

View File

@ -17,12 +17,10 @@ package org.apache.maven.plugin.clover;
*/
import com.cenqua.clover.cfg.Percentage;
import com.cenqua.clover.cfg.Interval;
import com.cenqua.clover.tasks.CloverPassTask;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.taskdefs.Taskdef;
/**
* Verify test percentage coverage and fail the build if it is below the defined threshold.

View File

@ -16,14 +16,9 @@ package org.apache.maven.plugin.clover;
* limitations under the License.
*/
import com.cenqua.clover.cfg.Percentage;
import com.cenqua.clover.tasks.CloverPassTask;
import com.cenqua.clover.tasks.CloverLogTask;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.taskdefs.Taskdef;
import com_cenqua_clover.CloverVersionInfo;
/**
* Provides information on the current Clover database.

View File

@ -20,16 +20,12 @@ import com.cenqua.clover.reporters.html.HtmlReporter;
import org.apache.maven.project.MavenProject;
import org.apache.maven.reporting.AbstractMavenReport;
import org.apache.maven.reporting.MavenReportException;
import org.apache.maven.reporting.MavenReport;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.codehaus.doxia.site.renderer.SiteRenderer;
import org.codehaus.doxia.sink.Sink;
import org.codehaus.doxia.module.xhtml.XhtmlSink;
import java.util.Locale;
import java.util.ResourceBundle;
import java.io.File;
/**
* Generate a Clover report.
@ -67,8 +63,6 @@ public class CloverReportMojo extends AbstractMavenReport
*/
private MavenProject project;
private File reportOutputDirectory;
/**
* @see org.apache.maven.reporting.AbstractMavenReport#executeReport(java.util.Locale)
*/

View File

@ -17,14 +17,11 @@ package org.apache.maven.plugin.eclipse;
*/
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.manager.WagonManager;
import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.repository.DefaultArtifactRepository;
import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
import org.apache.maven.project.MavenProject;
import org.apache.maven.project.MavenProjectBuilder;
import org.apache.maven.project.artifact.MavenMetadataSource;
import org.codehaus.plexus.PlexusTestCase;
import java.io.BufferedReader;