diff --git a/README.md b/README.md index 7c702895..32cc6f2e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Licensed under [MIT Licence]. About ----- -Allows you to perfrom maven release builds from within Jenkins. +Allows you to perform maven release builds from within Jenkins. Wiki and Info ------------- diff --git a/pom.xml b/pom.xml index f110e97d..12fba782 100644 --- a/pom.xml +++ b/pom.xml @@ -59,7 +59,7 @@ io.jenkins.tools.bom bom-2.414.x - 2791.v707dc5a_1626d + 2815.vf5d6f093b_23e pom import diff --git a/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java b/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java index f28a10bf..d546d8ec 100644 --- a/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java +++ b/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java @@ -90,11 +90,11 @@ public class M2ReleaseBuildWrapper extends BuildWrapper { private String releaseEnvVar = DescriptorImpl.DEFAULT_RELEASE_ENVVAR; private String releaseGoals = DescriptorImpl.DEFAULT_RELEASE_GOALS; private String dryRunGoals = DescriptorImpl.DEFAULT_DRYRUN_GOALS; - public boolean selectCustomScmCommentPrefix = DescriptorImpl.DEFAULT_SELECT_CUSTOM_SCM_COMMENT_PREFIX; - public boolean selectAppendHudsonUsername = DescriptorImpl.DEFAULT_SELECT_APPEND_HUDSON_USERNAME; + private boolean selectCustomScmCommentPrefix = DescriptorImpl.DEFAULT_SELECT_CUSTOM_SCM_COMMENT_PREFIX; + private boolean selectAppendHudsonUsername = DescriptorImpl.DEFAULT_SELECT_APPEND_HUDSON_USERNAME; public boolean selectScmCredentials = DescriptorImpl.DEFAULT_SELECT_SCM_CREDENTIALS; - public int numberOfReleaseBuildsToKeep = DescriptorImpl.DEFAULT_NUMBER_OF_RELEASE_BUILDS_TO_KEEP; + private int numberOfReleaseBuildsToKeep = DescriptorImpl.DEFAULT_NUMBER_OF_RELEASE_BUILDS_TO_KEEP; @DataBoundConstructor public M2ReleaseBuildWrapper(String releaseGoals, String dryRunGoals, boolean selectCustomScmCommentPrefix, boolean selectAppendHudsonUsername, boolean selectScmCredentials, String releaseEnvVar, String scmUserEnvVar, String scmPasswordEnvVar, int numberOfReleaseBuildsToKeep) {