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

jluniya 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 dfaaf33  AMBARI-23903: Add jdeb support (#1642)
dfaaf33 is described below

commit dfaaf33a9e8d01390a7ecefd5b14ea740f5ee6e7
Author: Naresh Bhat <naresh.b...@linaro.org>
AuthorDate: Tue Aug 21 12:48:54 2018 +0530

    AMBARI-23903: Add jdeb support (#1642)
    
    This patch add jdeb (debian) package creation support for the following
    packages.
    -ambari-funtest
    -ambari-infra
    -ambari-logsearch
    -ambari-metrics-grafana
    -ambari-metrics-host-aggregator
    
    Signed-off-by: Naresh Bhat <naresh.b...@linaro.org>
---
 ambari-funtest/pom.xml                              | 21 +++++++++++++++++++++
 ambari-infra/pom.xml                                | 21 +++++++++++++++++++++
 ambari-logsearch/pom.xml                            | 21 +++++++++++++++++++++
 ambari-metrics/ambari-metrics-grafana/pom.xml       | 21 +++++++++++++++++++++
 .../ambari-metrics-host-aggregator/pom.xml          | 21 +++++++++++++++++++++
 5 files changed, 105 insertions(+)

diff --git a/ambari-funtest/pom.xml b/ambari-funtest/pom.xml
index 813afa7..80d71c7 100644
--- a/ambari-funtest/pom.xml
+++ b/ambari-funtest/pom.xml
@@ -24,6 +24,27 @@
   <description>Ambari Functional Tests</description>
   <build>
     <plugins>
+       <plugin>
+         <groupId>org.vafer</groupId>
+         <artifactId>jdeb</artifactId>
+         <version>1.0.1</version>
+         <executions>
+           <execution>
+             <!--Stub execution on direct plugin call - workaround for ambari 
deb build process-->
+             <id>stub-execution</id>
+             <phase>none</phase>
+             <goals>
+               <goal>jdeb</goal>
+             </goals>
+           </execution>
+         </executions>
+         <configuration>
+           <skip>true</skip>
+           <attach>false</attach>
+           <submodules>false</submodules>
+           
<controlDir>${project.basedir}/../src/main/package/deb/control</controlDir>
+         </configuration>
+      </plugin>
       <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
diff --git a/ambari-infra/pom.xml b/ambari-infra/pom.xml
index 3b4df8c..61f2d69 100644
--- a/ambari-infra/pom.xml
+++ b/ambari-infra/pom.xml
@@ -100,6 +100,27 @@
     <pluginManagement>
       <plugins>
         <plugin>
+          <groupId>org.vafer</groupId>
+          <artifactId>jdeb</artifactId>
+          <version>1.4</version>
+          <executions>
+            <execution>
+              <!--Stub execution on direct plugin call - workaround for ambari 
deb build process-->
+              <id>stub-execution</id>
+              <phase>none</phase>
+              <goals>
+                <goal>jdeb</goal>
+              </goals>
+            </execution>
+          </executions>
+          <configuration>
+            <skip>true</skip>
+            <attach>false</attach>
+            <submodules>false</submodules>
+            
<controlDir>${project.basedir}/../src/main/package/deb/control</controlDir>
+          </configuration>
+       </plugin>
+        <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-enforcer-plugin</artifactId>
           <version>1.4.1</version>
diff --git a/ambari-logsearch/pom.xml b/ambari-logsearch/pom.xml
index 0f07bfa..75e4e05 100644
--- a/ambari-logsearch/pom.xml
+++ b/ambari-logsearch/pom.xml
@@ -132,6 +132,27 @@
     </pluginManagement>
     <plugins>
       <plugin>
+        <groupId>org.vafer</groupId>
+        <artifactId>jdeb</artifactId>
+        <version>1.4</version>
+        <executions>
+          <execution>
+            <!--Stub execution on direct plugin call - workaround for ambari 
deb build process-->
+            <id>stub-execution</id>
+            <phase>none</phase>
+            <goals>
+              <goal>jdeb</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <skip>true</skip>
+          <attach>false</attach>
+          <submodules>false</submodules>
+          
<controlDir>${project.basedir}/../src/main/package/deb/control</controlDir>
+        </configuration>
+      </plugin>
+      <plugin>
         <inherited>false</inherited>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
diff --git a/ambari-metrics/ambari-metrics-grafana/pom.xml 
b/ambari-metrics/ambari-metrics-grafana/pom.xml
index c737b2b..6ca4f96 100644
--- a/ambari-metrics/ambari-metrics-grafana/pom.xml
+++ b/ambari-metrics/ambari-metrics-grafana/pom.xml
@@ -34,6 +34,27 @@
   <build>
     <plugins>
       <plugin>
+        <groupId>org.vafer</groupId>
+        <artifactId>jdeb</artifactId>
+        <version>1.0.1</version>
+        <executions>
+          <execution>
+            <!--Stub execution on direct plugin call - workaround for ambari 
deb build process-->
+            <id>stub-execution</id>
+            <phase>none</phase>
+            <goals>
+              <goal>jdeb</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <skip>true</skip>
+          <attach>false</attach>
+          <submodules>false</submodules>
+          
<controlDir>${project.basedir}/../src/main/package/deb/control</controlDir>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>
         <version>1.8</version>
diff --git a/ambari-metrics/ambari-metrics-host-aggregator/pom.xml 
b/ambari-metrics/ambari-metrics-host-aggregator/pom.xml
index 41081d0..7d8f6b5 100644
--- a/ambari-metrics/ambari-metrics-host-aggregator/pom.xml
+++ b/ambari-metrics/ambari-metrics-host-aggregator/pom.xml
@@ -115,6 +115,27 @@
 
     <build>
         <plugins>
+        <plugin>
+          <groupId>org.vafer</groupId>
+          <artifactId>jdeb</artifactId>
+          <version>1.0.1</version>
+          <executions>
+            <execution>
+              <!--Stub execution on direct plugin call - workaround for ambari 
deb build process-->
+              <id>stub-execution</id>
+              <phase>none</phase>
+              <goals>
+                <goal>jdeb</goal>
+              </goals>
+            </execution>
+          </executions>
+          <configuration>
+            <skip>true</skip>
+            <attach>false</attach>
+            <submodules>false</submodules>
+            
<controlDir>${project.basedir}/../src/main/package/deb/control</controlDir>
+          </configuration>
+        </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-shade-plugin</artifactId>

Reply via email to