[dropwizard-metrics] 01/02: Build metrics-graphite
Apollon Oikonomopoulos
apoikos at moszumanska.debian.org
Sat Aug 5 21:01:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
apoikos pushed a commit to branch master
in repository dropwizard-metrics.
commit 2b5252c0c5a457484e5f06fa1dfc8e6ed43d6541
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date: Sat Aug 5 16:17:37 2017 -0400
Build metrics-graphite
---
debian/libdropwizard-metrics-java.poms | 2 +-
debian/maven.ignoreRules | 2 ++
.../patches/drop-graphite-rabbitmq-support.patch | 27 ++++++++++++++++++++++
debian/patches/series | 1 +
4 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/debian/libdropwizard-metrics-java.poms b/debian/libdropwizard-metrics-java.poms
index 1ba48ce..1e0c5de 100644
--- a/debian/libdropwizard-metrics-java.poms
+++ b/debian/libdropwizard-metrics-java.poms
@@ -38,7 +38,7 @@ metrics-json/pom.xml --java-lib
metrics-jersey/pom.xml --ignore
metrics-jetty9/pom.xml --ignore
metrics-jetty9-legacy/pom.xml --ignore
-metrics-graphite/pom.xml --ignore
+metrics-graphite/pom.xml --java-lib
metrics-annotation/pom.xml --java-lib
metrics-jvm/pom.xml --java-lib
metrics-ehcache/pom.xml --ignore
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
index b9234de..abe665c 100644
--- a/debian/maven.ignoreRules
+++ b/debian/maven.ignoreRules
@@ -11,3 +11,5 @@ org.assertj assertj-core * * * *
org.codehaus.mojo findbugs-maven-plugin * * * *
org.mockito mockito-core * * * *
org.slf4j slf4j-simple * * * *
+com.rabbitmq amqp-client * * * *
+org.python jython-standalone * * * *
diff --git a/debian/patches/drop-graphite-rabbitmq-support.patch b/debian/patches/drop-graphite-rabbitmq-support.patch
new file mode 100644
index 0000000..ddb552a
--- /dev/null
+++ b/debian/patches/drop-graphite-rabbitmq-support.patch
@@ -0,0 +1,27 @@
+Author: Apollon Oikonomopoulos <apoikos at debian.org>
+Description: Do not build the Graphite RabbitMQ exporter
+ We are missing the amqp client library. Since this is only optional for
+ metrics-graphite to work, exclude GraphiteRabbitMQ from the build.
+Last-Update: 2017-08-05
+Forwarded: no
+--- a/metrics-graphite/pom.xml
++++ b/metrics-graphite/pom.xml
+@@ -34,4 +34,18 @@
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
++ <build>
++ <plugins>
++ <plugin>
++ <groupId>org.apache.maven.plugins</groupId>
++ <artifactId>maven-compiler-plugin</artifactId>
++ <version>3.6.1</version>
++ <configuration>
++ <excludes>
++ <exclude>**/GraphiteRabbitMQ*</exclude>
++ </excludes>
++ </configuration>
++ </plugin>
++ </plugins>
++ </build>
+ </project>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..292775c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+drop-graphite-rabbitmq-support.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/dropwizard-metrics.git
More information about the pkg-java-commits
mailing list