|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.mobicents.plugins.library.AbstractLibraryMojo
public abstract class AbstractLibraryMojo
Base class for creating a library jar.
| Field Summary | |
|---|---|
protected org.apache.maven.artifact.handler.ArtifactHandler |
artifactHandler
Default artifact handler. |
protected org.apache.maven.artifact.factory.ArtifactFactory |
factory
Used to look up Artifacts in the remote repository. |
protected org.apache.maven.artifact.installer.ArtifactInstaller |
installer
|
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
The local repository. |
protected org.apache.maven.project.MavenProjectBuilder |
mavenProjectBuilder
Project builder |
protected java.util.List |
remoteRepos
List of Remote Repositories used by the resolver |
protected org.apache.maven.artifact.resolver.ArtifactResolver |
resolver
Used to look up Artifacts in the remote repository. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractLibraryMojo()
|
|
| Method Summary | |
|---|---|
java.io.File |
createArchive()
Creates the library archive. |
void |
execute()
|
protected abstract java.lang.String |
getClassifier()
Overload this to produce a jar with another classifier, for example a test-jar. |
protected java.io.File |
getDefaultManifestFile()
Default Manifest location. |
protected static java.io.File |
getJarFile(java.io.File basedir,
java.lang.String finalName,
java.lang.String classifier)
|
protected org.apache.maven.project.MavenProject |
getProject()
Return the specific output directory to serve as the root for the archive. |
protected abstract java.lang.String |
getType()
Overload this to produce a test-jar, for example. |
| 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 |
|---|
protected org.apache.maven.project.MavenProjectBuilder mavenProjectBuilder
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected org.apache.maven.artifact.factory.ArtifactFactory factory
protected org.apache.maven.artifact.resolver.ArtifactResolver resolver
protected java.util.List remoteRepos
protected org.apache.maven.artifact.installer.ArtifactInstaller installer
protected org.apache.maven.artifact.handler.ArtifactHandler artifactHandler
| Constructor Detail |
|---|
public AbstractLibraryMojo()
| Method Detail |
|---|
protected final org.apache.maven.project.MavenProject getProject()
protected abstract java.lang.String getClassifier()
protected abstract java.lang.String getType()
protected static java.io.File getJarFile(java.io.File basedir,
java.lang.String finalName,
java.lang.String classifier)
protected java.io.File getDefaultManifestFile()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public java.io.File createArchive()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||