|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.jar.AbstractJarMojo
org.apache.maven.plugin.jar.JarMojo
public class JarMojo
Build a JAR from the current project.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
JarMojo()
|
|
| 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.apache.maven.plugin.jar.AbstractJarMojo |
|---|
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 |
|---|
public JarMojo()
| Method Detail |
|---|
protected java.lang.String getClassifier()
AbstractJarMojo
getClassifier in class AbstractJarMojoprotected java.lang.String getType()
AbstractJarMojo
getType in class AbstractJarMojoprotected java.io.File getClassesDirectory()
getClassesDirectory in class AbstractJarMojo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||