org.apache.maven.archiver
public class ManifestConfiguration extends Object
Version: $Id: ManifestConfiguration.java 697981 2008-09-22 20:44:40Z jdcasey $
UNKNOWN: is this general enough to be in Plexus Archiver?
| Field Summary | |
|---|---|
| static String | CLASSPATH_LAYOUT_TYPE_CUSTOM |
| static String | CLASSPATH_LAYOUT_TYPE_REPOSITORY |
| static String | CLASSPATH_LAYOUT_TYPE_SIMPLE |
| Method Summary | |
|---|---|
| String | getClasspathLayoutType()
Return the type of layout to use when formatting classpath entries.
|
| String | getClasspathPrefix() |
| String | getCustomClasspathLayout()
Retrieve the layout expression for use when the layout type set in setClasspathLayoutType
has the value 'custom'. |
| String | getMainClass() |
| String | getPackageName() |
| boolean | isAddClasspath() |
| boolean | isAddDefaultImplementationEntries() |
| boolean | isAddDefaultSpecificationEntries() |
| boolean | isAddExtensions() |
| boolean | isClasspathMavenRepositoryLayout() |
| boolean | isUseUniqueVersions()
Retrieve the flag for whether snapshot artifacts should be added to the
classpath using the timestamp/buildnumber version (the default, when this
flag is true), or using the generic -SNAPSHOT version (when the flag is
false).
|
| void | setAddClasspath(boolean addClasspath) |
| void | setAddDefaultImplementationEntries(boolean addDefaultImplementationEntries) |
| void | setAddDefaultSpecificationEntries(boolean addDefaultSpecificationEntries) |
| void | setAddExtensions(boolean addExtensions) |
| void | setClasspathLayoutType(String classpathLayoutType)
Set the type of layout to use when formatting classpath entries.
|
| void | setClasspathMavenRepositoryLayout(boolean classpathMavenRepositoryLayout) |
| void | setClasspathPrefix(String classpathPrefix) |
| void | setCustomClasspathLayout(String customClasspathLayout)
Set the layout expression for use when the layout type set in setClasspathLayoutType
has the value 'custom'. |
| void | setMainClass(String mainClass) |
| void | setPackageName(String packageName) |
| void | setUseUniqueVersions(boolean useUniqueVersions)
Set the flag for whether snapshot artifacts should be added to the
classpath using the timestamp/buildnumber version (the default, when this
flag is true), or using the generic -SNAPSHOT version (when the flag is
false).
|
Deprecated: Use getClasspathLayoutType, and compare to CLASSPATH_LAYOUT_TYPE_SIMPLE or CLASSPATH_LAYOUT_TYPE_REPOSITORY, also declared in ManifestConfiguration.
Deprecated: Use setClasspathLayoutType, and use CLASSPATH_LAYOUT_TYPE_SIMPLE, CLASSPATH_LAYOUT_TYPE_CUSTOM, or CLASSPATH_LAYOUT_TYPE_REPOSITORY, also declared in ManifestConfiguration.