org.mobicents.plugins.library
Class LibraryMojo

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

public class LibraryMojo
extends AbstractLibraryMojo

Build a Library jar from the current project.

Version:
$Id$
Author:
Alexandre Mendonca

Field Summary
 
Fields inherited from class org.mobicents.plugins.library.AbstractLibraryMojo
artifactHandler, factory, installer, localRepository, mavenProjectBuilder, remoteRepos, resolver
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LibraryMojo()
           
 
Method Summary
protected  java.io.File getClassesDirectory()
          Return the main classes directory, so it's used as the root of the jar.
protected  java.lang.String getClassifier()
          Overload this to produce a jar with another classifier, for example a test-jar.
protected  java.lang.String getType()
          Overload this to produce a test-jar, for example.
 
Methods inherited from class org.mobicents.plugins.library.AbstractLibraryMojo
createArchive, execute, getDefaultManifestFile, getJarFile, getProject
 
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
 

Constructor Detail

LibraryMojo

public LibraryMojo()
Method Detail

getClassifier

protected java.lang.String getClassifier()
Description copied from class: AbstractLibraryMojo
Overload this to produce a jar with another classifier, for example a test-jar.

Specified by:
getClassifier in class AbstractLibraryMojo

getType

protected java.lang.String getType()
Description copied from class: AbstractLibraryMojo
Overload this to produce a test-jar, for example.

Specified by:
getType in class AbstractLibraryMojo
Returns:
type of the generated artifact

getClassesDirectory

protected java.io.File getClassesDirectory()
Return the main classes directory, so it's used as the root of the jar.



Copyright © 2008-2010 Mobicents. All Rights Reserved.