summaryrefslogtreecommitdiffstats
path: root/jdisc_core
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahoo-inc.com>2017-07-11 17:47:55 +0200
committerBjørn Christian Seime <bjorncs@yahoo-inc.com>2017-07-11 17:47:55 +0200
commitf19f1c0c910436d4f9a28731775854617dd6502c (patch)
tree91a55b001916e1f03d4303b0bb011b34c36d37da /jdisc_core
parent3d502afb34e208d3297aad0c5ca762155038027a (diff)
Fix bug where AOP version of Guice was included
Diffstat (limited to 'jdisc_core')
-rw-r--r--jdisc_core/pom.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/jdisc_core/pom.xml b/jdisc_core/pom.xml
index f3e7b48c6e4..928dea20e46 100644
--- a/jdisc_core/pom.xml
+++ b/jdisc_core/pom.xml
@@ -56,17 +56,31 @@
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<scope>compile</scope>
- <classifier>no_aop</classifier>
+ <classifier>no_aop</classifier> <!-- Non-AOP version required for Java 8 compatibility -->
</dependency>
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-assistedinject</artifactId>
<scope>compile</scope>
+ <exclusions>
+ <!-- Depends on AOP version of Guice 3.0, which is not Java 8 compatible -->
+ <exclusion>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-multibindings</artifactId>
<scope>compile</scope>
+ <exclusions>
+ <!-- Depends on AOP version of Guice 3.0, which is not Java 8 compatible -->
+ <exclusion>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>commons-daemon</groupId>