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 78c3e61 AMBARI-23903: Add jdeb support (#1840) 78c3e61 is described below commit 78c3e6178780397ac4bce4590e774f0f0f3c11e7 Author: Naresh Bhat <naresh.b...@linaro.org> AuthorDate: Tue Aug 21 04:37:44 2018 +0530 AMBARI-23903: Add jdeb support (#1840) 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 d08ac8a..2915933 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 3934c96..b1ff3b1 100644 --- a/ambari-infra/pom.xml +++ b/ambari-infra/pom.xml @@ -99,6 +99,27 @@ <build> <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.codehaus.mojo</groupId> <artifactId>rpm-maven-plugin</artifactId> diff --git a/ambari-logsearch/pom.xml b/ambari-logsearch/pom.xml index 276a707..3fc5974 100644 --- a/ambari-logsearch/pom.xml +++ b/ambari-logsearch/pom.xml @@ -154,6 +154,27 @@ </configuration> </plugin> <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 c14a8ef..929d6c1 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 d07b365..382037a 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>