org.mobicents.plugins.library
Class LibraryDeployerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.mobicents.plugins.library.LibraryDeployerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Deploy library jar into a remote repository.

Author:
Alexandre Mendonca

Field Summary
protected  org.apache.maven.artifact.factory.ArtifactFactory factory
          Used to look up Artifacts in the remote repository.
protected  org.apache.maven.project.MavenProject project
          The maven project.
protected  org.apache.maven.artifact.resolver.ArtifactResolver resolver
          Used to look up Artifacts in the remote repository.
protected  java.io.File targetDirectory
          Directory containing the generated JAR.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LibraryDeployerMojo()
           
 
Method Summary
 void execute()
          Deploy the DU.
 java.io.File getTargetDirectory()
           
 
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

project

protected org.apache.maven.project.MavenProject project
The maven project.


targetDirectory

protected java.io.File targetDirectory
Directory containing the generated JAR.


factory

protected org.apache.maven.artifact.factory.ArtifactFactory factory
Used to look up Artifacts in the remote repository.


resolver

protected org.apache.maven.artifact.resolver.ArtifactResolver resolver
Used to look up Artifacts in the remote repository.

Constructor Detail

LibraryDeployerMojo

public LibraryDeployerMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Deploy the DU.

Throws:
org.apache.maven.plugin.MojoExecutionException

getTargetDirectory

public java.io.File getTargetDirectory()


Copyright © 2008-2010 Mobicents. All Rights Reserved.