- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="create")
public class Create
extends ProjectBase
Creates a prerelease with an uncommitted tag and undeployed artifacts. Creating a prerelease is the first step to create a release;
once you have a prerelease, you can quickly get a release by promoting it.
Execute this goal in the svn working directory of your project. Basically, this goal runs checks (see below), creates an uncommitted
tag of your working directory and invokes "mvn clean deploy" in it. Maven is invoked with an alternative deployment repository pointing
into a subdirectory of this prerelease. In addition, the "performRelease" property is defined to get the same profiles activation you get
during a "release:promote" call.
When successful, prereleases are stored in the configured archive directory, previous prerelease may be wiped.
Checks executed by this goal:
1) no uncommitted changes in your working directory.
2) no pending updates up to the last modified revision of your svn working directory
3) no snapshot dependencies or snapshot parent pom.