File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/main/java/com/e_gineering/maven/gitflowhelper Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,7 @@ protected void execute(final GitBranchInfo gitBranchInfo) throws MojoExecutionEx
47
47
for (PropertyMapper pm : branchNamePropertyMappers )
48
48
{
49
49
String mappedValue = pm .map (gitBranchInfo );
50
- getLog ().info ("Mapper [" + pm .getPropertyName () + "] mapped Git branch name [" + gitBranchInfo .getName () + "] to [" + mappedValue + "]" );
51
- if (StringUtils .isBlank (mappedValue )) {
52
- getLog ().warn ("Mapper for property [" + pm .getPropertyName () + "] did not provide a value, ignoring it" );
53
- continue ;
54
- }
50
+ getLog ().info ("Mapped Git branch name [" + gitBranchInfo .getName () + "] for property [" + pm .getPropertyName () +"] to [" + mappedValue + "]" );
55
51
project .getProperties ().setProperty (pm .getPropertyName (), mappedValue );
56
52
}
57
53
}
You can’t perform that action at this time.
0 commit comments