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

oleewere 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 fdb83bc  AMBARI-24407: Add rpm support infra and logsearch (#1967)
fdb83bc is described below

commit fdb83bc1743d3c39612da54608e9693175c88033
Author: Naresh Bhat <[email protected]>
AuthorDate: Wed Aug 8 17:19:25 2018 +0530

    AMBARI-24407: Add rpm support infra and logsearch (#1967)
    
    The patch will add rpm support for the following
    packages.
    -ambari-infra
    -ambari-logsearch
    
    Signed-off-by: Naresh Bhat <[email protected]>
---
 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 79bff9b..0b3e5a8 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.apache.maven.plugins</groupId>
           <artifactId>maven-enforcer-plugin</artifactId>
diff --git a/ambari-logsearch/pom.xml b/ambari-logsearch/pom.xml
index cbe644b..f1d269a 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>
         <inherited>false</inherited>
         <artifactId>maven-assembly-plugin</artifactId>

Reply via email to