summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Bhat <naresh.bhat@linaro.org>2018-05-29 14:31:39 +0530
committerNaresh Bhat <naresh.bhat@linaro.org>2018-06-06 19:29:23 +0530
commitebb56d6a41588e77350296c99e6d3181f6ffcbda (patch)
tree70c1c821e16c6296a9af2b332f785592ef2e6ded
parent1016bc107d5394ae4dc08d77e12f227f7cde8a5c (diff)
ambari: Add jdeb supportv2.5.2
This patch add jdeb (debian) package creation support for the following packages. -ambari-funtest -ambari-logsearch -ambari-metrics-grafana -utility Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org>
-rw-r--r--ambari-funtest/pom.xml22
-rw-r--r--ambari-logsearch/pom.xml22
-rw-r--r--ambari-metrics/ambari-metrics-grafana/pom.xml22
-rw-r--r--utility/pom.xml22
4 files changed, 88 insertions, 0 deletions
diff --git a/ambari-funtest/pom.xml b/ambari-funtest/pom.xml
index df0f934128..e05b94adb9 100644
--- a/ambari-funtest/pom.xml
+++ b/ambari-funtest/pom.xml
@@ -24,6 +24,28 @@
<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-logsearch/pom.xml b/ambari-logsearch/pom.xml
index 84d16895e1..5f5b0ca126 100644
--- a/ambari-logsearch/pom.xml
+++ b/ambari-logsearch/pom.xml
@@ -49,6 +49,28 @@
</properties>
<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>
<inherited>false</inherited>
<artifactId>maven-assembly-plugin</artifactId>
diff --git a/ambari-metrics/ambari-metrics-grafana/pom.xml b/ambari-metrics/ambari-metrics-grafana/pom.xml
index 4064b7c654..7b26738e04 100644
--- a/ambari-metrics/ambari-metrics-grafana/pom.xml
+++ b/ambari-metrics/ambari-metrics-grafana/pom.xml
@@ -33,6 +33,28 @@
<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>
diff --git a/utility/pom.xml b/utility/pom.xml
index f130fbb73d..1ad0658a36 100644
--- a/utility/pom.xml
+++ b/utility/pom.xml
@@ -58,6 +58,28 @@
<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-compiler-plugin</artifactId>
<version>3.2</version>