You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ol...@apache.org on 2018/08/23 19:00:51 UTC

[ambari] branch trunk updated: AMBARI-24511: Add rpm support infra and logsearch (#2125)

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

oleewere pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 0543c9c  AMBARI-24511: Add rpm support infra and logsearch (#2125)
0543c9c is described below

commit 0543c9c9d6e7dbcd860fd46fefcf40cf4607ab46
Author: Naresh Bhat <na...@linaro.org>
AuthorDate: Fri Aug 24 00:30:48 2018 +0530

    AMBARI-24511: Add rpm support infra and logsearch (#2125)
    
    The patch will add rpm support for the following
    packages.
    -ambari-infra
    -ambari-logsearch
    
    Signed-off-by: Naresh Bhat <na...@linaro.org>
---
 ambari-infra/pom.xml     | 22 ++++++++++++++++++++++
 ambari-logsearch/pom.xml | 22 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/ambari-infra/pom.xml b/ambari-infra/pom.xml
index 61f2d69..4185abb 100644
--- a/ambari-infra/pom.xml
+++ b/ambari-infra/pom.xml
@@ -99,6 +99,28 @@
   <build>
     <pluginManagement>
       <plugins>
+       <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>rpm-maven-plugin</artifactId>
+        <version>2.1.4</version>
+        <executions>
+          <execution>
+            <!-- unbinds rpm creation from maven lifecycle -->
+            <phase>none</phase>
+            <goals>
+              <goal>attached-rpm</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <copyright>2012, Apache Software Foundation</copyright>
+          <group>Development</group>
+          <description>Maven Recipe: RPM Package.</description>
+          <release>${package-release}</release>
+          <version>${package-version}</version>
+          <mappings/>
+        </configuration>
+      </plugin>
         <plugin>
           <groupId>org.vafer</groupId>
           <artifactId>jdeb</artifactId>
diff --git a/ambari-logsearch/pom.xml b/ambari-logsearch/pom.xml
index 75e4e05..3fc5974 100644
--- a/ambari-logsearch/pom.xml
+++ b/ambari-logsearch/pom.xml
@@ -131,6 +131,28 @@
       </plugins>
     </pluginManagement>
     <plugins>
+       <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>rpm-maven-plugin</artifactId>
+        <version>2.1.4</version>
+        <executions>
+          <execution>
+            <!-- unbinds rpm creation from maven lifecycle -->
+            <phase>none</phase>
+            <goals>
+              <goal>attached-rpm</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <copyright>2012, Apache Software Foundation</copyright>
+          <group>Development</group>
+          <description>Maven Recipe: RPM Package.</description>
+          <release>${package-release}</release>
+          <version>${package-version}</version>
+          <mappings/>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.vafer</groupId>
         <artifactId>jdeb</artifactId>