@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 specific output directory to serve as the root for the archive.
|
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, getJarFile, getProject, hasClassifier
protected String getClassifier()
getClassifier
in class AbstractJarMojo
protected String getType()
getType
in class AbstractJarMojo
protected File getClassesDirectory()
getClassesDirectory
in class AbstractJarMojo
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.