org.apache.maven.plugins.mavenone
Class MavenOneRepositoryDeployMojo

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

public class MavenOneRepositoryDeployMojo
extends AbstractMojo

Deploy the artifact in a Maven 1 remote repository.

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

Field Summary
protected  org.apache.maven.artifact.deployer.ArtifactDeployer deployer
           
protected  org.apache.maven.artifact.repository.ArtifactRepositoryFactory factory
           
protected  String packaging
           
protected  String remoteRepositoryId
          The id to use in settings.xml if you want to configure server settings there.
protected  String remoteRepositoryUrl
          The URL to the remote repository.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MavenOneRepositoryDeployMojo()
           
 
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.

deployer

protected org.apache.maven.artifact.deployer.ArtifactDeployer deployer
Is a Plexus component defined by:

factory

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

remoteRepositoryId

protected String remoteRepositoryId
The id to use in settings.xml if you want to configure server settings there.

Is defined by:
expression:
${remoteRepositoryId}
default-value:
mavenOneRemoteRepository
Is required.

remoteRepositoryUrl

protected String remoteRepositoryUrl
The URL to the remote repository.

Is defined by:
expression:
${remoteRepositoryUrl}
Is required.
Constructor Detail

MavenOneRepositoryDeployMojo

public MavenOneRepositoryDeployMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Throws:
MojoExecutionException


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