mirror of https://github.com/apache/maven.git
cleanup
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170647 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b57dc49ad9
commit
de0ec195e1
|
@ -16,19 +16,10 @@ package org.apache.maven.plugin.release;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import org.apache.maven.artifact.Artifact;
|
||||
import org.apache.maven.artifact.factory.ArtifactFactory;
|
||||
import org.apache.maven.artifact.repository.ArtifactRepository;
|
||||
import org.apache.maven.model.Dependency;
|
||||
import org.apache.maven.model.Model;
|
||||
import org.apache.maven.model.Plugin;
|
||||
import org.apache.maven.model.io.xpp3.MavenXpp3Writer;
|
||||
import org.apache.maven.plugin.AbstractMojo;
|
||||
import org.apache.maven.plugin.MojoExecutionException;
|
||||
import org.apache.maven.plugin.scm.ScmBean;
|
||||
import org.apache.maven.project.MavenProject;
|
||||
import org.apache.maven.scm.ScmException;
|
||||
import org.apache.maven.scm.ScmFile;
|
||||
import org.apache.maven.scm.manager.ScmManager;
|
||||
import org.codehaus.plexus.PlexusConstants;
|
||||
import org.codehaus.plexus.PlexusContainer;
|
||||
|
@ -36,13 +27,6 @@ import org.codehaus.plexus.context.Context;
|
|||
import org.codehaus.plexus.context.ContextException;
|
||||
import org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
|
||||
* @version $Id: DoxiaMojo.java 169372 2005-05-09 22:47:34Z evenisse $
|
||||
|
@ -98,6 +82,7 @@ public abstract class AbstractReleaseMojo
|
|||
{
|
||||
return project;
|
||||
}
|
||||
|
||||
public String getWorkingDirectory()
|
||||
{
|
||||
return workingDirectory;
|
||||
|
|
|
@ -17,21 +17,16 @@ package org.apache.maven.plugin.release;
|
|||
*/
|
||||
|
||||
import org.apache.maven.plugin.MojoExecutionException;
|
||||
import org.apache.maven.plugin.logging.Log;
|
||||
import org.apache.maven.project.MavenProject;
|
||||
import org.codehaus.plexus.util.cli.CommandLineException;
|
||||
import org.codehaus.plexus.util.cli.CommandLineUtils;
|
||||
import org.codehaus.plexus.util.cli.Commandline;
|
||||
import org.codehaus.plexus.util.cli.DefaultConsumer;
|
||||
import org.codehaus.plexus.util.cli.StreamConsumer;
|
||||
|
||||
import sun.security.action.GetLongAction;
|
||||
import sun.tools.jar.CommandLine;
|
||||
|
||||
/**
|
||||
* Perform a release from SCM
|
||||
*
|
||||
* @goal perform
|
||||
* @description Perform a release from SCM
|
||||
* @requiresDependencyResolution test
|
||||
*
|
||||
* @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
|
||||
* @version $Id: DoxiaMojo.java 169372 2005-05-09 22:47:34Z evenisse $
|
||||
|
@ -41,7 +36,6 @@ public class PerformReleaseMojo
|
|||
{
|
||||
/**
|
||||
* @parameter expression="${goals}"
|
||||
* @required
|
||||
*/
|
||||
private String goals = "deploy site:site site:deploy";
|
||||
|
||||
|
|
|
@ -35,8 +35,9 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Prepare for a release in SCM
|
||||
*
|
||||
* @goal prepare
|
||||
* @description Prepare for a release in SCM
|
||||
* @requiresDependencyResolution test
|
||||
*
|
||||
* @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.apache.maven.plugin.scm;
|
|||
*/
|
||||
|
||||
import org.apache.maven.scm.ScmException;
|
||||
import org.apache.maven.scm.ScmFile;
|
||||
import org.apache.maven.scm.ScmFileSet;
|
||||
import org.apache.maven.scm.ScmResult;
|
||||
import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
|
||||
|
@ -28,10 +27,7 @@ import org.apache.maven.scm.command.status.StatusScmResult;
|
|||
import org.apache.maven.scm.command.tag.TagScmResult;
|
||||
import org.apache.maven.scm.command.update.UpdateScmResult;
|
||||
import org.apache.maven.scm.manager.ScmManager;
|
||||
import org.apache.maven.scm.manager.NoSuchScmProviderException;
|
||||
import org.apache.maven.scm.repository.ScmRepository;
|
||||
import org.apache.maven.scm.repository.ScmRepositoryException;
|
||||
import org.codehaus.plexus.embed.Embedder;
|
||||
import org.codehaus.plexus.util.FileUtils;
|
||||
|
||||
import java.io.File;
|
||||
|
|
Loading…
Reference in New Issue