This is an automated email from the ASF dual-hosted git repository.

richox pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/auron.git


The following commit(s) were added to refs/heads/master by this push:
     new 67635a75 [AURON #1385] Move Auron Native lib from spark-extension to 
auron-core (#1386)
67635a75 is described below

commit 67635a7548620ab8bfce036eefd361cfc423a1bb
Author: zhangmang <[email protected]>
AuthorDate: Tue Sep 30 15:29:58 2025 +0800

    [AURON #1385] Move Auron Native lib from spark-extension to auron-core 
(#1386)
---
 auron-core/pom.xml      | 51 +++++++++++++++++++++++++++++++++++++++++++++++
 spark-extension/pom.xml | 53 -------------------------------------------------
 2 files changed, 51 insertions(+), 53 deletions(-)

diff --git a/auron-core/pom.xml b/auron-core/pom.xml
index 67d6cfc9..d1d3da52 100644
--- a/auron-core/pom.xml
+++ b/auron-core/pom.xml
@@ -84,6 +84,17 @@
   </dependencies>
 
   <build>
+    <resources>
+      <resource>
+        
<directory>${project.basedir}/../native-engine/_build/${releaseMode}</directory>
+        <includes>
+          <include>libauron.so</include>
+          <include>libauron.dylib</include>
+          <include>auron.dll</include>
+        </includes>
+      </resource>
+    </resources>
+
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -100,4 +111,44 @@
       </plugin>
     </plugins>
   </build>
+
+  <profiles>
+    <profile>
+      <id>build-native</id>
+      <activation>
+        <property>
+          <name>!skipBuildNative</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <!-- build native libs -->
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>exec-maven-plugin</artifactId>
+            <version>3.0.0</version>
+            <configuration>
+              <executable>bash</executable>
+              <arguments>
+                <argument>./dev/mvn-build-helper/build-native.sh</argument>
+                <argument>${releaseMode}</argument>
+                <argument>${buildWithFeatures}</argument>
+              </arguments>
+              <workingDirectory>../</workingDirectory>
+              <useMavenLogger>true</useMavenLogger>
+            </configuration>
+            <executions>
+              <execution>
+                <id>prepare-native-libs</id>
+                <goals>
+                  <goal>exec</goal>
+                </goals>
+                <phase>generate-resources</phase>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>
diff --git a/spark-extension/pom.xml b/spark-extension/pom.xml
index f72bb487..804d984a 100644
--- a/spark-extension/pom.xml
+++ b/spark-extension/pom.xml
@@ -83,57 +83,4 @@
     </dependency>
   </dependencies>
 
-  <build>
-    <resources>
-      <resource>
-        
<directory>${project.basedir}/../native-engine/_build/${releaseMode}</directory>
-        <includes>
-          <include>libauron.so</include>
-          <include>libauron.dylib</include>
-          <include>auron.dll</include>
-        </includes>
-      </resource>
-    </resources>
-  </build>
-
-  <profiles>
-    <profile>
-      <id>build-native</id>
-      <activation>
-        <property>
-          <name>!skipBuildNative</name>
-        </property>
-      </activation>
-      <build>
-        <plugins>
-          <!-- build native libs -->
-          <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>exec-maven-plugin</artifactId>
-            <version>3.0.0</version>
-            <configuration>
-              <executable>bash</executable>
-              <arguments>
-                <argument>./dev/mvn-build-helper/build-native.sh</argument>
-                <argument>${releaseMode}</argument>
-                <argument>${buildWithFeatures}</argument>
-              </arguments>
-              <workingDirectory>../</workingDirectory>
-              <useMavenLogger>true</useMavenLogger>
-            </configuration>
-            <executions>
-              <execution>
-                <id>prepare-native-libs</id>
-                <goals>
-                  <goal>exec</goal>
-                </goals>
-                <phase>generate-resources</phase>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>

Reply via email to