public class Prerelease extends Object
| Modifier and Type | Field and Description |
|---|---|
net.oneandone.sushi.fs.file.FileNode |
checkout |
Descriptor |
descriptor |
Target |
target
base directory with all data for this prerelease.
|
| Constructor and Description |
|---|
Prerelease(Target target,
net.oneandone.sushi.fs.file.FileNode checkout,
Descriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
static org.sonatype.aether.artifact.Artifact |
artifact(String origPath) |
void |
artifactFiles(org.apache.maven.project.MavenProject project,
org.apache.maven.project.MavenProjectHelper projectHelper) |
net.oneandone.sushi.fs.file.FileNode |
artifacts() |
void |
commit(org.apache.maven.plugin.logging.Log log,
String commitMessage) |
void |
create(Maven maven) |
static Prerelease |
create(Maven maven,
org.apache.maven.plugin.logging.Log log,
Descriptor descriptor,
Target target) |
net.oneandone.sushi.fs.file.FileNode |
frischfleisch() |
static Prerelease |
load(Target target) |
net.oneandone.sushi.fs.file.FileNode |
prepareOrigCommit(org.apache.maven.plugin.logging.Log log) |
void |
promote(org.apache.maven.plugin.logging.Log log,
String createTagMessage,
String revertTagMessage,
String nextIterationMessage,
Maven maven) |
String |
renderMessage(String message) |
void |
revertCommit(org.apache.maven.plugin.logging.Log log,
String by) |
void |
verify(Maven maven,
String profile) |
public final Target target
public final net.oneandone.sushi.fs.file.FileNode checkout
public final Descriptor descriptor
public Prerelease(Target target, net.oneandone.sushi.fs.file.FileNode checkout, Descriptor descriptor) throws IOException
IOExceptionpublic static Prerelease load(Target target) throws IOException
IOExceptionpublic static Prerelease create(Maven maven, org.apache.maven.plugin.logging.Log log, Descriptor descriptor, Target target) throws Exception
Exceptionpublic net.oneandone.sushi.fs.file.FileNode artifacts()
public net.oneandone.sushi.fs.file.FileNode frischfleisch()
public void commit(org.apache.maven.plugin.logging.Log log,
String commitMessage)
throws net.oneandone.sushi.launcher.Failure
net.oneandone.sushi.launcher.Failurepublic void revertCommit(org.apache.maven.plugin.logging.Log log,
String by)
throws net.oneandone.sushi.launcher.Failure
net.oneandone.sushi.launcher.Failurepublic static org.sonatype.aether.artifact.Artifact artifact(String origPath)
public net.oneandone.sushi.fs.file.FileNode prepareOrigCommit(org.apache.maven.plugin.logging.Log log)
throws IOException,
net.oneandone.sushi.xml.XmlException,
SAXException,
org.apache.maven.plugin.MojoExecutionException
IOExceptionnet.oneandone.sushi.xml.XmlExceptionSAXExceptionorg.apache.maven.plugin.MojoExecutionExceptionpublic void promote(org.apache.maven.plugin.logging.Log log,
String createTagMessage,
String revertTagMessage,
String nextIterationMessage,
Maven maven)
throws Exception
Exceptionpublic String renderMessage(String message) throws net.oneandone.sushi.util.SubstitutionException
net.oneandone.sushi.util.SubstitutionExceptionpublic void artifactFiles(org.apache.maven.project.MavenProject project,
org.apache.maven.project.MavenProjectHelper projectHelper)
throws IOException
IOExceptionCopyright © 2012-2013 1&1. All Rights Reserved.