mirror of https://github.com/apache/maven.git
o renaming a couple methods
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171252 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
34530a8258
commit
098ae44be0
|
@ -70,15 +70,15 @@ public class PrepareReleaseMojo
|
||||||
protected void executeTask()
|
protected void executeTask()
|
||||||
throws MojoExecutionException
|
throws MojoExecutionException
|
||||||
{
|
{
|
||||||
checkStatus();
|
checkForLocalModifications();
|
||||||
|
|
||||||
checkForPresenceOfSnapshots();
|
checkForPresenceOfSnapshots();
|
||||||
|
|
||||||
transformPom();
|
transformPom();
|
||||||
|
|
||||||
checkInPom();
|
checkInReleaseVersionPom();
|
||||||
|
|
||||||
tag();
|
tagRelease();
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isSnapshot( String version )
|
private boolean isSnapshot( String version )
|
||||||
|
@ -86,7 +86,7 @@ public class PrepareReleaseMojo
|
||||||
return version.endsWith( SNAPSHOT );
|
return version.endsWith( SNAPSHOT );
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkStatus()
|
private void checkForLocalModifications()
|
||||||
throws MojoExecutionException
|
throws MojoExecutionException
|
||||||
{
|
{
|
||||||
getLog().info( "Verifying there are no local modifications ..." );
|
getLog().info( "Verifying there are no local modifications ..." );
|
||||||
|
@ -320,7 +320,7 @@ public class PrepareReleaseMojo
|
||||||
*
|
*
|
||||||
* @throws MojoExecutionException
|
* @throws MojoExecutionException
|
||||||
*/
|
*/
|
||||||
private void checkInPom()
|
private void checkInReleaseVersionPom()
|
||||||
throws MojoExecutionException
|
throws MojoExecutionException
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@ -348,7 +348,7 @@ public class PrepareReleaseMojo
|
||||||
*
|
*
|
||||||
* @throws MojoExecutionException
|
* @throws MojoExecutionException
|
||||||
*/
|
*/
|
||||||
private void tag()
|
private void tagRelease()
|
||||||
throws MojoExecutionException
|
throws MojoExecutionException
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue