org.apache.maven.plugins.mavenone
Class MavenOneRepositoryInstallMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.mavenone.MavenOneRepositoryInstallMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class MavenOneRepositoryInstallMojo
extends AbstractMojo

Install the artifact in the Maven 1 local repository.

Is defined by the goal name:
install-maven-one-repository
Is bound to the specified phase of the standard build lifecycle:
install

Field Summary
protected  org.apache.maven.artifact.repository.ArtifactRepositoryFactory factory
           
protected  org.apache.maven.artifact.installer.ArtifactInstaller installer
           
protected  String mavenOneRepository
          The location of the local repository.
protected  String packaging
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MavenOneRepositoryInstallMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

packaging

protected String packaging
Is defined by:
expression:
${project.packaging}
Is required.
Is readonly.

installer

protected org.apache.maven.artifact.installer.ArtifactInstaller installer
Is a Plexus component defined by:

factory

protected org.apache.maven.artifact.repository.ArtifactRepositoryFactory factory
Is a Plexus component defined by:

mavenOneRepository

protected String mavenOneRepository
The location of the local repository.

Is defined by:
expression:
${mavenOneRepository}
Constructor Detail

MavenOneRepositoryInstallMojo

public MavenOneRepositoryInstallMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Throws:
MojoExecutionException


Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.