diff --git a/src/main/java/com/amashchenko/maven/plugin/gitflow/AbstractGitFlowMojo.java b/src/main/java/com/amashchenko/maven/plugin/gitflow/AbstractGitFlowMojo.java index 58f4c668..bc14eee0 100644 --- a/src/main/java/com/amashchenko/maven/plugin/gitflow/AbstractGitFlowMojo.java +++ b/src/main/java/com/amashchenko/maven/plugin/gitflow/AbstractGitFlowMojo.java @@ -203,11 +203,11 @@ protected void checkSnapshotDependencies() throws MojoFailureException { for (Dependency d : list) { if (ArtifactUtils.isSnapshot(d.getVersion())) { throw new MojoFailureException( - "There is some SNAPSHOT dependencies in the project. Change them or ignore with `allowSnapshots` property."); + "There is some SNAPSHOT dependencies in the project. Change them or ignore with `allowSnapshots` property."); } } } - + /** * Executes git commands to check for uncommitted changes. * diff --git a/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java b/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java index 84292460..bdc25066 100644 --- a/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java +++ b/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java @@ -57,7 +57,7 @@ public void execute() throws MojoExecutionException, MojoFailureException { try { // check uncommitted changes checkUncommittedChanges(); - + // check snapshots dependencies if (!allowSnapshots) { checkSnapshotDependencies(); diff --git a/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseMojo.java b/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseMojo.java index ebe9de40..6ecfdef2 100644 --- a/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseMojo.java +++ b/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseMojo.java @@ -62,7 +62,7 @@ public void execute() throws MojoExecutionException, MojoFailureException { if (!allowSnapshots) { checkSnapshotDependencies(); } - + // git for-each-ref --count=1 refs/heads/release/* final String releaseBranch = gitFindBranches( gitFlowConfig.getReleaseBranchPrefix(), true); diff --git a/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseStartMojo.java b/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseStartMojo.java index 0d3fa737..0c108f89 100644 --- a/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseStartMojo.java +++ b/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseStartMojo.java @@ -58,7 +58,7 @@ public void execute() throws MojoExecutionException, MojoFailureException { // check uncommitted changes checkUncommittedChanges(); - + // check snapshots dependencies if (!allowSnapshots) { checkSnapshotDependencies();