prerelease:swap
Full name:
net.oneandone.maven.plugins:prerelease:1.6.3-SNAPSHOT:swap
Description:
Wipes archives and moves prereleases to the next storage. You
usually have two storages, primary and secondary. Useful when you
use ram disks: use the ramdisk as primary storage, and a harddisk
as secondary storage.
Attributes:
Required Parameters
Name |
Type |
Since |
Description |
keep |
int |
- |
Number of prereleases to keep in archive. 0 to keep all, which
should only be used together with swap and keep. Default value is: 1. User property is: prerelease.keep. |
lockTimeout |
int |
- |
Timeout in seconds for locking a prerelease archive. Default value is: 3600. User property is: prerelease.lockTimeout. |
storages |
List |
- |
Where to store prereleases. Default value is: ${settings.localRepository}/../prereleases. User property is: prerelease.storages. |
Optional Parameters
Name |
Type |
Since |
Description |
propertyArgs |
String |
- |
Extra arguments to pass to the sub-maven build. A space-separated
list with entries of the form -Dkey=value. Similar to "arguments"
parameter of the Maven Release Plugin, but restricted to -D
properties. User property is: prerelease.args. |
Parameter Details
keep:
Number of prereleases to keep in archive. 0 to keep all, which
should only be used together with swap and keep.
- Type: int
- Required: Yes
- User Property: prerelease.keep
- Default: 1
lockTimeout:
Timeout in seconds for locking a prerelease archive.
- Type: int
- Required: Yes
- User Property: prerelease.lockTimeout
- Default: 3600
propertyArgs:
Extra arguments to pass to the sub-maven build. A space-separated
list with entries of the form -Dkey=value. Similar to "arguments"
parameter of the Maven Release Plugin, but restricted to -D
properties.
- Type: java.lang.String
- Required: No
- User Property: prerelease.args
storages:
Where to store prereleases.
- Type: java.util.List
- Required: Yes
- User Property: prerelease.storages
- Default: ${settings.localRepository}/../prereleases