org.apache.maven.archiver
public class MavenArchiveConfiguration extends Object
Version: $Id: MavenArchiveConfiguration.java 607639 2007-12-31 01:15:15Z dennisl $
UNKNOWN: is this general enough to be in Plexus Archiver?
Method Summary | |
---|---|
void | addManifestEntries(Map map) |
void | addManifestEntry(Object key, Object value) |
void | addManifestSection(ManifestSection section) |
void | addManifestSections(List list) |
ManifestConfiguration | getManifest() |
Map | getManifestEntries() |
File | getManifestFile() |
List | getManifestSections() |
File | getPomPropertiesFile()
Returns the location of the "pom.properties" file.
|
boolean | isAddMavenDescriptor() |
boolean | isCompress() |
boolean | isForced() Returns, whether recreating the archive is forced (default). |
boolean | isIndex() |
boolean | isManifestEntriesEmpty() |
boolean | isManifestSectionsEmpty() |
void | setAddMavenDescriptor(boolean addMavenDescriptor) |
void | setCompress(boolean compress) |
void | setForced(boolean forced) Sets, whether recreating the archive is forced (default). |
void | setIndex(boolean index) |
void | setManifest(ManifestConfiguration manifest) |
void | setManifestEntries(Map manifestEntries) |
void | setManifestFile(File manifestFile) |
void | setManifestSections(List manifestSections) |
void | setPomPropertiesFile(File pomPropertiesFile)
Sets the location of the "pom.properties" file.
|
Returns: "pom.properties" location or null.
Returns, whether recreating the archive is forced (default). Setting this option to false means, that the archiver should compare the timestamps of included files with the timestamp of the target archive and rebuild the archive only, if the latter timestamp precedes the former timestamps. Checking for timestamps will typically offer a performance gain (in particular, if the following steps in a build can be suppressed, if an archive isn't recrated) on the cost that you get inaccurate results from time to time. In particular, removal of source files won't be detected.
An archiver doesn't necessarily support checks for uptodate. If so, setting this option to true will simply be ignored.
Returns: True, if the target archive should always be created; false otherwise
See Also: MavenArchiveConfiguration
Sets, whether recreating the archive is forced (default). Setting this option to false means, that the archiver should compare the timestamps of included files with the timestamp of the target archive and rebuild the archive only, if the latter timestamp precedes the former timestamps. Checking for timestamps will typically offer a performance gain (in particular, if the following steps in a build can be suppressed, if an archive isn't recrated) on the cost that you get inaccurate results from time to time. In particular, removal of source files won't be detected.
An archiver doesn't necessarily support checks for uptodate. If so, setting this option to true will simply be ignored.
Parameters: forced True, if the target archive should always be created; false otherwise
See Also: isForced
Parameters: pomPropertiesFile "pom.properties" location or null.