mirror of https://github.com/apache/maven.git
cleanup some unused fields
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327882 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
05add6c489
commit
0c1b0aca6c
|
@ -16,15 +16,12 @@ package org.apache.maven.plugin.antrun;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import org.apache.maven.plugin.AbstractMojo;
|
||||
import java.io.File;
|
||||
|
||||
import org.apache.maven.plugin.MojoExecutionException;
|
||||
import org.apache.maven.project.MavenProject;
|
||||
import org.apache.tools.ant.DefaultLogger;
|
||||
import org.apache.tools.ant.PropertyHelper;
|
||||
import org.apache.tools.ant.Target;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* Maven AntRun Mojo.
|
||||
*
|
||||
|
|
|
@ -20,7 +20,6 @@ import com.puppycrawl.tools.checkstyle.api.AuditEvent;
|
|||
import com.puppycrawl.tools.checkstyle.api.SeverityLevel;
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.ResourceBundle;
|
||||
import java.util.Map;
|
||||
|
@ -287,20 +286,6 @@ public class CheckstyleReportGenerator
|
|||
}
|
||||
}
|
||||
|
||||
private Iterator getCheckstyleEvents( Iterator events, SeverityLevel level )
|
||||
{
|
||||
LinkedList filtered = new LinkedList();
|
||||
|
||||
while( events.hasNext() )
|
||||
{
|
||||
AuditEvent event = (AuditEvent) events.next();
|
||||
|
||||
if ( event.getSeverityLevel().equals( level ) ) filtered.add( event );
|
||||
}
|
||||
|
||||
return filtered.iterator();
|
||||
}
|
||||
|
||||
public SeverityLevel getSeverityLevel()
|
||||
{
|
||||
return severityLevel;
|
||||
|
|
|
@ -63,19 +63,6 @@ public class DeployMojo
|
|||
*/
|
||||
private File pomFile;
|
||||
|
||||
/**
|
||||
* @parameter expression="${project.build.directory}"
|
||||
* @required
|
||||
* @readonly
|
||||
*/
|
||||
private String buildDirectory;
|
||||
|
||||
/**
|
||||
* @parameter alias="archiveName" expression="${project.build.finalName}"
|
||||
* @required
|
||||
*/
|
||||
private String finalName;
|
||||
|
||||
/**
|
||||
* @parameter expression="${component.org.apache.maven.artifact.deployer.ArtifactDeployer}"
|
||||
* @required
|
||||
|
|
|
@ -51,19 +51,6 @@ public class InstallMojo
|
|||
*/
|
||||
private File pomFile;
|
||||
|
||||
/**
|
||||
* @parameter expression="${project.build.directory}"
|
||||
* @required
|
||||
* @readonly
|
||||
*/
|
||||
private String buildDirectory;
|
||||
|
||||
/**
|
||||
* @parameter alias="archiveName" expression="${project.build.finalName}"
|
||||
* @required
|
||||
*/
|
||||
private String finalName;
|
||||
|
||||
/**
|
||||
* @parameter expression="${updateReleaseInfo}"
|
||||
*/
|
||||
|
|
|
@ -39,11 +39,6 @@ public class BundleCreateMojo
|
|||
|
||||
public static final String LICENSE = "LICENSE.txt";
|
||||
|
||||
/**
|
||||
* @parameter expression="${project.build.directory}"
|
||||
*/
|
||||
private File outputDirectory;
|
||||
|
||||
/**
|
||||
* @parameter expression="${basedir}"
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue