You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2018/01/25 00:42:29 UTC

[1/5] hbase git commit: HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure

Repository: hbase
Updated Branches:
  refs/heads/branch-1 3601bd295 -> 011c945f4
  refs/heads/branch-1.3 95befea83 -> 40e78e56b
  refs/heads/branch-1.4 636376b28 -> 1c1e68f1d
  refs/heads/branch-2 3c808dc37 -> daec8a2f4
  refs/heads/master 8b2b59fde -> 98cae45d2


HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure

Signed-off-by: Andrew Purtell <ap...@apache.org>


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

Branch: refs/heads/master
Commit: 98cae45d2ba0854592956e8d7ed5976d3eaa5da6
Parents: 8b2b59f
Author: Mohammad Arshad <ar...@apache.org>
Authored: Sun Nov 5 01:04:13 2017 +0530
Committer: Andrew Purtell <ap...@apache.org>
Committed: Wed Jan 24 16:26:46 2018 -0800

----------------------------------------------------------------------
 .../hbase-archetype-builder/pom.xml             | 26 +++++++++-----------
 pom.xml                                         |  1 +
 2 files changed, 13 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/98cae45d/hbase-archetypes/hbase-archetype-builder/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-archetypes/hbase-archetype-builder/pom.xml b/hbase-archetypes/hbase-archetype-builder/pom.xml
index 39f5363..fc7b2e5 100644
--- a/hbase-archetypes/hbase-archetype-builder/pom.xml
+++ b/hbase-archetypes/hbase-archetype-builder/pom.xml
@@ -242,24 +242,18 @@
       </plugin>
 
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <version>${exec.maven.version}</version>
+      <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <!-- exec-maven-plugin executes chmod to make scripts executable -->
           <execution>
             <id>make-scripts-executable</id>
             <phase>process-resources</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>chmod</executable>
-              <arguments>
-                <argument>+x</argument>
-                <argument>/${project.basedir}/createArchetypes.sh</argument>
-                <argument>/${project.basedir}/installArchetypes.sh</argument>
-              </arguments>
+              <chmod file="${project.basedir}/createArchetypes.sh" perm="+x" />
+              <chmod file="${project.basedir}/installArchetypes.sh" perm="+x" />
             </configuration>
           </execution>
           <!-- exec-maven-plugin executes script which invokes 'archetype:create-from-project'
@@ -268,10 +262,12 @@
             <id>run-createArchetypes-script</id>
             <phase>compile</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>/${project.basedir}/createArchetypes.sh</executable>
+              <exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
+                 <arg line="./createArchetypes.sh"/>
+               </exec>
             </configuration>
           </execution>
           <!-- exec-maven-plugin executes script which invokes 'install' to install each
@@ -283,10 +279,12 @@
             <id>run-installArchetypes-script</id>
             <phase>install</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>/${project.basedir}/installArchetypes.sh</executable>
+              <exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
+                 <arg line="./installArchetypes.sh"/>
+               </exec>
             </configuration>
           </execution>
         </executions>

http://git-wip-us.apache.org/repos/asf/hbase/blob/98cae45d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f5cceb5..1245759 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1533,6 +1533,7 @@
         Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
         this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
     <build.id>${maven.build.timestamp}</build.id>
+    <shell-executable>bash</shell-executable>
   </properties>
   <!-- Sorted by groups of dependencies then groupId and artifactId -->
   <dependencyManagement>


[3/5] hbase git commit: HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure

Posted by ap...@apache.org.
HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure

Signed-off-by: Andrew Purtell <ap...@apache.org>

Conflicts:
	hbase-archetypes/hbase-archetype-builder/pom.xml
	pom.xml


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

Branch: refs/heads/branch-1
Commit: 011c945f49f576eaf191070286ce6cf356919af5
Parents: 3601bd2
Author: Mohammad Arshad <ar...@apache.org>
Authored: Sun Nov 5 01:04:13 2017 +0530
Committer: Andrew Purtell <ap...@apache.org>
Committed: Wed Jan 24 16:35:45 2018 -0800

----------------------------------------------------------------------
 .../hbase-archetype-builder/pom.xml             | 26 +++++++++-----------
 pom.xml                                         |  1 +
 2 files changed, 13 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/011c945f/hbase-archetypes/hbase-archetype-builder/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-archetypes/hbase-archetype-builder/pom.xml b/hbase-archetypes/hbase-archetype-builder/pom.xml
index 0ef7586..74ac1a6 100644
--- a/hbase-archetypes/hbase-archetype-builder/pom.xml
+++ b/hbase-archetypes/hbase-archetype-builder/pom.xml
@@ -244,24 +244,18 @@
       </plugin>
 
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <version>1.4.0</version>
+      <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <!-- exec-maven-plugin executes chmod to make scripts executable -->
           <execution>
             <id>make-scripts-executable</id>
             <phase>process-resources</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>chmod</executable>
-              <arguments>
-                <argument>+x</argument>
-                <argument>/${project.basedir}/createArchetypes.sh</argument>
-                <argument>/${project.basedir}/installArchetypes.sh</argument>
-              </arguments>
+              <chmod file="${project.basedir}/createArchetypes.sh" perm="+x" />
+              <chmod file="${project.basedir}/installArchetypes.sh" perm="+x" />
             </configuration>
           </execution>
           <!-- exec-maven-plugin executes script which invokes 'archetype:create-from-project'
@@ -270,10 +264,12 @@
             <id>run-createArchetypes-script</id>
             <phase>compile</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>/${project.basedir}/createArchetypes.sh</executable>
+              <exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
+                 <arg line="./createArchetypes.sh"/>
+               </exec>
             </configuration>
           </execution>
           <!-- exec-maven-plugin executes script which invokes 'install' to install each
@@ -285,10 +281,12 @@
             <id>run-installArchetypes-script</id>
             <phase>install</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>/${project.basedir}/installArchetypes.sh</executable>
+              <exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
+                 <arg line="./installArchetypes.sh"/>
+               </exec>
             </configuration>
           </execution>
         </executions>

http://git-wip-us.apache.org/repos/asf/hbase/blob/011c945f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 86e785d..30889e9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1354,6 +1354,7 @@
     <extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
     <!-- Location of test resources -->
     <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
+    <shell-executable>bash</shell-executable>
   </properties>
   <!-- Sorted by groups of dependencies then groupId and artifactId -->
   <dependencyManagement>


[5/5] hbase git commit: HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure

Posted by ap...@apache.org.
HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure

Signed-off-by: Andrew Purtell <ap...@apache.org>

Conflicts:
	hbase-archetypes/hbase-archetype-builder/pom.xml
	pom.xml


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

Branch: refs/heads/branch-1.3
Commit: 40e78e56b93f71b1a55dc7a51431933b96c1168d
Parents: 95befea
Author: Mohammad Arshad <ar...@apache.org>
Authored: Sun Nov 5 01:04:13 2017 +0530
Committer: Andrew Purtell <ap...@apache.org>
Committed: Wed Jan 24 16:37:47 2018 -0800

----------------------------------------------------------------------
 .../hbase-archetype-builder/pom.xml             | 26 +++++++++-----------
 pom.xml                                         |  1 +
 2 files changed, 13 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/40e78e56/hbase-archetypes/hbase-archetype-builder/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-archetypes/hbase-archetype-builder/pom.xml b/hbase-archetypes/hbase-archetype-builder/pom.xml
index a7d4f12..2ae1acc 100644
--- a/hbase-archetypes/hbase-archetype-builder/pom.xml
+++ b/hbase-archetypes/hbase-archetype-builder/pom.xml
@@ -244,24 +244,18 @@
       </plugin>
 
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <version>1.4.0</version>
+      <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <!-- exec-maven-plugin executes chmod to make scripts executable -->
           <execution>
             <id>make-scripts-executable</id>
             <phase>process-resources</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>chmod</executable>
-              <arguments>
-                <argument>+x</argument>
-                <argument>/${project.basedir}/createArchetypes.sh</argument>
-                <argument>/${project.basedir}/installArchetypes.sh</argument>
-              </arguments>
+              <chmod file="${project.basedir}/createArchetypes.sh" perm="+x" />
+              <chmod file="${project.basedir}/installArchetypes.sh" perm="+x" />
             </configuration>
           </execution>
           <!-- exec-maven-plugin executes script which invokes 'archetype:create-from-project'
@@ -270,10 +264,12 @@
             <id>run-createArchetypes-script</id>
             <phase>compile</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>/${project.basedir}/createArchetypes.sh</executable>
+              <exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
+                 <arg line="./createArchetypes.sh"/>
+               </exec>
             </configuration>
           </execution>
           <!-- exec-maven-plugin executes script which invokes 'install' to install each
@@ -285,10 +281,12 @@
             <id>run-installArchetypes-script</id>
             <phase>install</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>/${project.basedir}/installArchetypes.sh</executable>
+              <exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
+                 <arg line="./installArchetypes.sh"/>
+               </exec>
             </configuration>
           </execution>
         </executions>

http://git-wip-us.apache.org/repos/asf/hbase/blob/40e78e56/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 92fe9bf..6ab3335 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1346,6 +1346,7 @@
     <extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
     <!-- Location of test resources -->
     <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
+    <shell-executable>bash</shell-executable>
   </properties>
   <!-- Sorted by groups of dependencies then groupId and artifactId -->
   <dependencyManagement>


[2/5] hbase git commit: HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure

Posted by ap...@apache.org.
HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure

Signed-off-by: Andrew Purtell <ap...@apache.org>


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

Branch: refs/heads/branch-2
Commit: daec8a2f424d69ef224fa54044b600674bd2db96
Parents: 3c808dc
Author: Mohammad Arshad <ar...@apache.org>
Authored: Sun Nov 5 01:04:13 2017 +0530
Committer: Andrew Purtell <ap...@apache.org>
Committed: Wed Jan 24 16:30:42 2018 -0800

----------------------------------------------------------------------
 .../hbase-archetype-builder/pom.xml             | 26 +++++++++-----------
 pom.xml                                         |  1 +
 2 files changed, 13 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/daec8a2f/hbase-archetypes/hbase-archetype-builder/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-archetypes/hbase-archetype-builder/pom.xml b/hbase-archetypes/hbase-archetype-builder/pom.xml
index 297bc67..c7cd26b 100644
--- a/hbase-archetypes/hbase-archetype-builder/pom.xml
+++ b/hbase-archetypes/hbase-archetype-builder/pom.xml
@@ -242,24 +242,18 @@
       </plugin>
 
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <version>${exec.maven.version}</version>
+      <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <!-- exec-maven-plugin executes chmod to make scripts executable -->
           <execution>
             <id>make-scripts-executable</id>
             <phase>process-resources</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>chmod</executable>
-              <arguments>
-                <argument>+x</argument>
-                <argument>/${project.basedir}/createArchetypes.sh</argument>
-                <argument>/${project.basedir}/installArchetypes.sh</argument>
-              </arguments>
+              <chmod file="${project.basedir}/createArchetypes.sh" perm="+x" />
+              <chmod file="${project.basedir}/installArchetypes.sh" perm="+x" />
             </configuration>
           </execution>
           <!-- exec-maven-plugin executes script which invokes 'archetype:create-from-project'
@@ -268,10 +262,12 @@
             <id>run-createArchetypes-script</id>
             <phase>compile</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>/${project.basedir}/createArchetypes.sh</executable>
+              <exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
+                 <arg line="./createArchetypes.sh"/>
+               </exec>
             </configuration>
           </execution>
           <!-- exec-maven-plugin executes script which invokes 'install' to install each
@@ -283,10 +279,12 @@
             <id>run-installArchetypes-script</id>
             <phase>install</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>/${project.basedir}/installArchetypes.sh</executable>
+              <exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
+                 <arg line="./installArchetypes.sh"/>
+               </exec>
             </configuration>
           </execution>
         </executions>

http://git-wip-us.apache.org/repos/asf/hbase/blob/daec8a2f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4329d5a..bf5abb8 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1438,6 +1438,7 @@
         Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
         this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
     <build.id>${maven.build.timestamp}</build.id>
+    <shell-executable>bash</shell-executable>
   </properties>
   <!-- Sorted by groups of dependencies then groupId and artifactId -->
   <dependencyManagement>


[4/5] hbase git commit: HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure

Posted by ap...@apache.org.
HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure

Signed-off-by: Andrew Purtell <ap...@apache.org>

Conflicts:
	hbase-archetypes/hbase-archetype-builder/pom.xml
	pom.xml


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

Branch: refs/heads/branch-1.4
Commit: 1c1e68f1d80ce46c5a98489a977e638b663c94d6
Parents: 636376b
Author: Mohammad Arshad <ar...@apache.org>
Authored: Sun Nov 5 01:04:13 2017 +0530
Committer: Andrew Purtell <ap...@apache.org>
Committed: Wed Jan 24 16:37:43 2018 -0800

----------------------------------------------------------------------
 .../hbase-archetype-builder/pom.xml             | 26 +++++++++-----------
 pom.xml                                         |  1 +
 2 files changed, 13 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/1c1e68f1/hbase-archetypes/hbase-archetype-builder/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-archetypes/hbase-archetype-builder/pom.xml b/hbase-archetypes/hbase-archetype-builder/pom.xml
index b975f54..ab734ac 100644
--- a/hbase-archetypes/hbase-archetype-builder/pom.xml
+++ b/hbase-archetypes/hbase-archetype-builder/pom.xml
@@ -244,24 +244,18 @@
       </plugin>
 
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <version>1.4.0</version>
+      <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <!-- exec-maven-plugin executes chmod to make scripts executable -->
           <execution>
             <id>make-scripts-executable</id>
             <phase>process-resources</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>chmod</executable>
-              <arguments>
-                <argument>+x</argument>
-                <argument>/${project.basedir}/createArchetypes.sh</argument>
-                <argument>/${project.basedir}/installArchetypes.sh</argument>
-              </arguments>
+              <chmod file="${project.basedir}/createArchetypes.sh" perm="+x" />
+              <chmod file="${project.basedir}/installArchetypes.sh" perm="+x" />
             </configuration>
           </execution>
           <!-- exec-maven-plugin executes script which invokes 'archetype:create-from-project'
@@ -270,10 +264,12 @@
             <id>run-createArchetypes-script</id>
             <phase>compile</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>/${project.basedir}/createArchetypes.sh</executable>
+              <exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
+                 <arg line="./createArchetypes.sh"/>
+               </exec>
             </configuration>
           </execution>
           <!-- exec-maven-plugin executes script which invokes 'install' to install each
@@ -285,10 +281,12 @@
             <id>run-installArchetypes-script</id>
             <phase>install</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>run</goal>
             </goals>
             <configuration>
-              <executable>/${project.basedir}/installArchetypes.sh</executable>
+              <exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
+                 <arg line="./installArchetypes.sh"/>
+               </exec>
             </configuration>
           </execution>
         </executions>

http://git-wip-us.apache.org/repos/asf/hbase/blob/1c1e68f1/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 887995a..abf8ce0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1354,6 +1354,7 @@
     <extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
     <!-- Location of test resources -->
     <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
+    <shell-executable>bash</shell-executable>
   </properties>
   <!-- Sorted by groups of dependencies then groupId and artifactId -->
   <dependencyManagement>