Fix Sentry when running from shaded jar.
This commit is contained in:
parent
95c22a59fd
commit
6d7dbf6c67
@ -1,11 +1,11 @@
|
|||||||
From 88aa565b786a6240eb48e756394180b2e867d390 Mon Sep 17 00:00:00 2001
|
From 742d6b5d828128519f06f7c6f5e188847263e609 Mon Sep 17 00:00:00 2001
|
||||||
From: md_5 <git@md-5.net>
|
From: md_5 <git@md-5.net>
|
||||||
Date: Sun, 7 Feb 2016 20:28:54 +1100
|
Date: Sun, 7 Feb 2016 20:28:54 +1100
|
||||||
Subject: [PATCH] Implement Sentry for exception monitoring.
|
Subject: [PATCH] Implement Sentry for exception monitoring.
|
||||||
|
|
||||||
|
|
||||||
diff --git a/pom.xml b/pom.xml
|
diff --git a/pom.xml b/pom.xml
|
||||||
index c1d1fb7..8bb25ad 100644
|
index c1d1fb7..ceb3ec2 100644
|
||||||
--- a/pom.xml
|
--- a/pom.xml
|
||||||
+++ b/pom.xml
|
+++ b/pom.xml
|
||||||
@@ -29,6 +29,12 @@
|
@@ -29,6 +29,12 @@
|
||||||
@ -21,18 +21,27 @@ index c1d1fb7..8bb25ad 100644
|
|||||||
<groupId>net.sf.trove4j</groupId>
|
<groupId>net.sf.trove4j</groupId>
|
||||||
<artifactId>trove4j</artifactId>
|
<artifactId>trove4j</artifactId>
|
||||||
<version>3.0.3</version>
|
<version>3.0.3</version>
|
||||||
@@ -88,6 +94,11 @@
|
@@ -202,6 +208,20 @@
|
||||||
<version>1.3</version>
|
<goal>shade</goal>
|
||||||
<scope>test</scope>
|
</goals>
|
||||||
</dependency>
|
<configuration>
|
||||||
+ <dependency>
|
+ <filters>
|
||||||
+ <groupId>org.slf4j</groupId>
|
+ <filter>
|
||||||
+ <artifactId>slf4j-simple</artifactId>
|
+ <artifact>*:*</artifact>
|
||||||
+ <version>1.7.9</version>
|
+ <excludes>
|
||||||
+ </dependency>
|
+ <exclude>META-INF/org/apache/logging/log4j/core/config/plugins/</exclude>
|
||||||
</dependencies>
|
+ </excludes>
|
||||||
|
+ </filter>
|
||||||
<!-- required until fixed plexus-compiler-eclipse is deployed -->
|
+ <filter>
|
||||||
|
+ <artifact>*:minecraft-server</artifact>
|
||||||
|
+ <excludes>
|
||||||
|
+ <exclude>org/apache/logging/log4j/</exclude>
|
||||||
|
+ </excludes>
|
||||||
|
+ </filter>
|
||||||
|
+ </filters>
|
||||||
|
<relocations>
|
||||||
|
<relocation>
|
||||||
|
<pattern>joptsimple</pattern>
|
||||||
diff --git a/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java b/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
|
diff --git a/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java b/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
|
||||||
deleted file mode 100644
|
deleted file mode 100644
|
||||||
index 341eaa3..0000000
|
index 341eaa3..0000000
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user