You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2017/09/15 00:22:26 UTC

hbase git commit: HBASE-17351 Enforcer plugin fails with NullPointerException

Repository: hbase
Updated Branches:
  refs/heads/branch-2 296bb0054 -> 9cccf3125


HBASE-17351 Enforcer plugin fails with NullPointerException


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9cccf312
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9cccf312
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9cccf312

Branch: refs/heads/branch-2
Commit: 9cccf31254217f70d737fe8b60c3e7a2f4c3e2d0
Parents: 296bb00
Author: Michael Stack <st...@apache.org>
Authored: Thu Sep 14 17:20:59 2017 -0700
Committer: Michael Stack <st...@apache.org>
Committed: Thu Sep 14 17:20:59 2017 -0700

----------------------------------------------------------------------
 pom.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/9cccf312/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 89ef73c..3a98930 100644
--- a/pom.xml
+++ b/pom.xml
@@ -775,7 +775,7 @@
                   <pluginExecutionFilter>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-enforcer-plugin</artifactId>
-                    <versionRange>[1.0.1,)</versionRange>
+                    <version>${enforcer.version}</version>
                     <goals>
                       <goal>enforce</goal>
                     </goals>
@@ -934,6 +934,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-enforcer-plugin</artifactId>
+        <version>${enforcer.version}</version>
         <dependencies>
           <dependency>
             <groupId>org.codehaus.mojo</groupId>
@@ -1478,6 +1479,8 @@
     <argLine>${hbase-surefire.argLine}</argLine>
     <jacoco.version>0.7.5.201505241946</jacoco.version>
     <extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
+    <!--See HBASE-17351; we need to set version to 1.4. 1.4.1 fails with MENFORCER-248-->
+    <enforcer.version>1.4</enforcer.version>
     <!-- Location of test resources -->
     <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
     <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
@@ -2270,6 +2273,7 @@
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-enforcer-plugin</artifactId>
+            <version>${enforcer.version}</version>
             <configuration>
               <rules>
                 <enforceBytecodeVersion>