@Mojo(name="jar", defaultPhase=PACKAGE, requiresProject=true, threadSafe=true, requiresDependencyResolution=RUNTIME) public class JarMojo extends AbstractJarMojo
| Constructor and Description | 
|---|
JarMojo()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected File | 
getClassesDirectory()
Return the main classes directory, so it's used as the root of the jar. 
 | 
protected String | 
getClassifier()
Overload this to produce a jar with another classifier, for example a test-jar. 
 | 
protected String | 
getType()
Overload this to produce a test-jar, for example. 
 | 
createArchive, execute, getDefaultManifestFile, getJarFile, getProjectgetLog, getPluginContext, setLog, setPluginContextprotected String getClassifier()
AbstractJarMojogetClassifier in class AbstractJarMojoprotected String getType()
AbstractJarMojogetType in class AbstractJarMojoprotected File getClassesDirectory()
getClassesDirectory in class AbstractJarMojoCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.