Skip to content

Commit be549cb

Browse files
committed
Merge branch 'master' into development
2 parents bc8724b + 1c05bcb commit be549cb

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
*.versionsBackup
12
*.class
23

34
*.idea

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<groupId>com.e-gineering</groupId>
1010
<artifactId>gitflow-helper-maven-plugin</artifactId>
1111

12-
<version>1.3.0-SNAPSHOT</version>
12+
<version>1.2.5</version>
1313
<packaging>maven-plugin</packaging>
1414

1515
<name>gitflow-helper-maven-plugin</name>

src/main/java/com/e_gineering/maven/gitflowhelper/EnforceVersionsMojo.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ protected void execute(final GitBranchType type, final String gitBranch, final S
3535
}
3636
}
3737
}
38-
} else if (!type.equals(GitBranchType.UNDEFINED)) { // Unversioned branch type. Must be -SNAPSHOT.
39-
if (!ArtifactUtils.isSnapshot(project.getVersion())) {
40-
throw new MojoFailureException("Builds from non-release git branches must end with -SNAPSHOT");
41-
}
4238
}
4339
}
4440
}

0 commit comments

Comments
 (0)