org.jboss.maven.plugins.thirdparty
Class MavenDeployMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jboss.maven.plugins.thirdparty.MavenDeployMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class MavenDeployMojo
extends org.apache.maven.plugin.AbstractMojo

Mojo for taking a thirdparty deployment (component-info.xml, lib/*.jar, etc..) and deploying it to a maven repository. This mojo functions in a similar way to the deploy-file goal of the maven-deploy-plugin.


Field Summary
static java.util.Map KNOWN_PACKAGING_TYPES
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MavenDeployMojo()
           
 
Method Summary
 void execute()
           
 org.apache.maven.artifact.deployer.ArtifactDeployer getDeployer()
           
 org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
           
 void setDeployer(org.apache.maven.artifact.deployer.ArtifactDeployer deployer)
           
 void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
           
 
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

KNOWN_PACKAGING_TYPES

public static final java.util.Map KNOWN_PACKAGING_TYPES
Constructor Detail

MavenDeployMojo

public MavenDeployMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getDeployer

public org.apache.maven.artifact.deployer.ArtifactDeployer getDeployer()

setDeployer

public void setDeployer(org.apache.maven.artifact.deployer.ArtifactDeployer deployer)

getLocalRepository

public org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()

setLocalRepository

public void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)


Copyright © 2007-2008 JBoss Inc.. All Rights Reserved.