hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
Subject [09/10] hbase git commit: Revert "HBASE-19119 hbase-http shouldn't have native profile"
Date Wed, 01 Nov 2017 15:40:03 GMT
Revert "HBASE-19119 hbase-http shouldn't have native profile"

This reverts commit a79b66b32b4e3eb98fb1c03cb545b8edeab26647.


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

Branch: refs/heads/HBASE-19124
Commit: d18e77a99cfadbf4048db71465f37dc2408be673
Parents: ac6aff3
Author: Sean Busbey <busbey@apache.org>
Authored: Wed Nov 1 09:18:57 2017 -0500
Committer: Sean Busbey <busbey@apache.org>
Committed: Wed Nov 1 10:32:27 2017 -0500

----------------------------------------------------------------------
 hbase-http/pom.xml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d18e77a9/hbase-http/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-http/pom.xml b/hbase-http/pom.xml
index c2ec302..d876f19 100644
--- a/hbase-http/pom.xml
+++ b/hbase-http/pom.xml
@@ -365,6 +365,38 @@
       </properties>
     </profile>
     <!-- Special builds -->
+    <profile>
+      <id>native</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>make</id>
+                <phase>compile</phase>
+                <goals><goal>run</goal></goals>
+                <configuration>
+                  <target>
+                    <mkdir dir="${project.build.directory}/native"/>
+                    <exec executable="cmake" dir="${project.build.directory}/native" failonerror="true">
+                      <arg line="${basedir}/src/main/native -DJVM_ARCH_DATA_MODEL=${sun.arch.data.model}"/>
+                    </exec>
+                    <exec executable="make" dir="${project.build.directory}/native" failonerror="true">
+                      <arg line="VERBOSE=1"/>
+                    </exec>
+                  </target>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
     <!-- Profiles for building against different hadoop versions -->
     <!-- There are a lot of common dependencies used here, should investigate
     if we can combine these profiles somehow -->


Mime
View raw message