public abstract class Base
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected int |
keep
Number of prereleases to keep in archive. 0 to keep all, which should only be used together with swap and keep.
|
protected int |
lockTimeout
Timeout in seconds for locking a prerelease archive.
|
protected org.apache.maven.execution.MavenSession |
session |
protected net.oneandone.sushi.fs.World |
world |
| Constructor and Description |
|---|
Base() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
doExecute() |
void |
execute() |
protected Maven |
maven() |
protected Map<String,String> |
propertyArgs() |
protected List<net.oneandone.sushi.fs.file.FileNode> |
storages() |
protected String |
version() |
@Parameter(property="prerelease.lockTimeout",
defaultValue="3600",
required=true)
protected int lockTimeout
@Parameter(property="prerelease.keep",
defaultValue="1",
required=true)
protected int keep
@Component protected org.apache.maven.execution.MavenSession session
protected final net.oneandone.sushi.fs.World world
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected Map<String,String> propertyArgs() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected Maven maven()
protected List<net.oneandone.sushi.fs.file.FileNode> storages() throws IOException
IOExceptionprotected String version()
Copyright © 2012-2014 1&1. All Rights Reserved.