|
|||||||||
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 test-jar, for example. |
Methods inherited from class org.apache.maven.plugin.jar.AbstractJarMojo |
---|
createArchive, execute, 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 AbstractJarMojo
protected java.io.File getClassesDirectory()
getClassesDirectory
in class AbstractJarMojo
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |