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

jialiang pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 9d79300044 AMBARI-26034: Remove ambari-logsearch and ambari-infra from 
default build profiles. (#3766)
9d79300044 is described below

commit 9d793000449747c4d8711f28709b1c5af96fdc42
Author: Mohammad Arshad <[email protected]>
AuthorDate: Thu Dec 5 11:38:48 2024 +0530

    AMBARI-26034: Remove ambari-logsearch and ambari-infra from default build 
profiles. (#3766)
    
    To builld ambari-infra and ambari-logsearch pass 
-Pambari-infra,ambari-logsearch in maven command
---
 pom.xml | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index cf5aeb0799..7b0d2100c7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -389,6 +389,9 @@
             <exclude>ambari_python.egg-info/**</exclude>
             <exclude>dist/**</exclude>
             <exclude>build/**</exclude>
+            <!--For ambari-logsearch and ambari-infra RAT is handled in 
respective submodules -->
+            <exclude>ambari-logsearch/**</exclude>
+            <exclude>ambari-infra/**</exclude>
           </excludes>
         </configuration>
         <executions>
@@ -454,8 +457,6 @@
         <module>ambari-server</module>
         <module>ambari-funtest</module>
         <module>ambari-agent</module>
-        <module>ambari-logsearch</module>
-        <module>ambari-infra</module>
       </modules>
     </profile>
     <profile>
@@ -488,8 +489,6 @@
         <module>ambari-server</module>
         <module>ambari-funtest</module>
         <module>ambari-agent</module>
-        <module>ambari-logsearch</module>
-        <module>ambari-infra</module>
         <module>ambari-serviceadvisor</module>
       </modules>
     </profile>
@@ -509,8 +508,6 @@
         <module>ambari-server</module>
         <module>ambari-funtest</module>
         <module>ambari-agent</module>
-        <module>ambari-logsearch</module>
-        <module>ambari-infra</module>
         <module>ambari-serviceadvisor</module>
         </modules>
     </profile>
@@ -526,6 +523,18 @@
         <module>ambari-serviceadvisor</module>
       </modules>
     </profile>
+    <profile>
+      <id>ambari-logsearch</id>
+      <modules>
+        <module>ambari-logsearch</module>
+      </modules>
+    </profile>
+    <profile>
+      <id>ambari-infra</id>
+      <modules>
+        <module>ambari-infra</module>
+      </modules>
+    </profile>
     <profile>
       <id>windows</id>
       <activation>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to