killbill-memoizeit
Changes
beatrix/pom.xml 10(+10 -0)
junction/pom.xml 5(+0 -5)
overdue/pom.xml 5(+0 -5)
profiles/killbill/pom.xml 8(+8 -0)
profiles/killbill/src/main/java/org/killbill/billing/server/security/KillbillJdbcRealm.java 2(+1 -1)
util/pom.xml 9(+0 -9)
Details
beatrix/pom.xml 10(+10 -0)
diff --git a/beatrix/pom.xml b/beatrix/pom.xml
index a5fb633..d61c57e 100644
--- a/beatrix/pom.xml
+++ b/beatrix/pom.xml
@@ -45,6 +45,11 @@
<artifactId>bonecp</artifactId>
</dependency>
<dependency>
+ <groupId>com.zaxxer</groupId>
+ <artifactId>HikariCP-java6</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
@@ -64,6 +69,11 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.javassist</groupId>
+ <artifactId>javassist</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi</artifactId>
</dependency>
junction/pom.xml 5(+0 -5)
diff --git a/junction/pom.xml b/junction/pom.xml
index 58e80e6..7b18dd5 100644
--- a/junction/pom.xml
+++ b/junction/pom.xml
@@ -54,11 +54,6 @@
<artifactId>joda-time</artifactId>
</dependency>
<dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
<groupId>org.kill-bill.billing</groupId>
<artifactId>killbill-account</artifactId>
<type>test-jar</type>
overdue/pom.xml 5(+0 -5)
diff --git a/overdue/pom.xml b/overdue/pom.xml
index a4fdc4e..ca7d38a 100644
--- a/overdue/pom.xml
+++ b/overdue/pom.xml
@@ -63,11 +63,6 @@
<artifactId>joda-time</artifactId>
</dependency>
<dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi</artifactId>
</dependency>
profiles/killbill/pom.xml 8(+8 -0)
diff --git a/profiles/killbill/pom.xml b/profiles/killbill/pom.xml
index 30f7566..79dd76e 100644
--- a/profiles/killbill/pom.xml
+++ b/profiles/killbill/pom.xml
@@ -64,6 +64,10 @@
<artifactId>jersey-guice</artifactId>
</dependency>
<dependency>
+ <groupId>com.zaxxer</groupId>
+ <artifactId>HikariCP-java6</artifactId>
+ </dependency>
+ <dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
@@ -120,6 +124,10 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.javassist</groupId>
+ <artifactId>javassist</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.kill-bill.billing</groupId>
<artifactId>killbill-account</artifactId>
</dependency>
diff --git a/profiles/killbill/src/main/java/org/killbill/billing/server/security/KillbillJdbcRealm.java b/profiles/killbill/src/main/java/org/killbill/billing/server/security/KillbillJdbcRealm.java
index 5b0ead6..5f2da5a 100644
--- a/profiles/killbill/src/main/java/org/killbill/billing/server/security/KillbillJdbcRealm.java
+++ b/profiles/killbill/src/main/java/org/killbill/billing/server/security/KillbillJdbcRealm.java
@@ -73,7 +73,7 @@ public class KillbillJdbcRealm extends JdbcRealm {
}
private void configureDataSource() {
- final DataSource realDataSource = new DataSourceProvider(config).get();
+ final DataSource realDataSource = new DataSourceProvider(config, SHIRO_DATA_SOURCE_ID).get();
final DataSource dataSource = new ReferenceableDataSourceSpy(realDataSource, SHIRO_DATA_SOURCE_ID);
setDataSource(dataSource);
}
util/pom.xml 9(+0 -9)
diff --git a/util/pom.xml b/util/pom.xml
index 631f23e..0403061 100644
--- a/util/pom.xml
+++ b/util/pom.xml
@@ -65,10 +65,6 @@
<artifactId>bonecp</artifactId>
</dependency>
<dependency>
- <groupId>com.mchange</groupId>
- <artifactId>c3p0</artifactId>
- </dependency>
- <dependency>
<groupId>com.samskivert</groupId>
<artifactId>jmustache</artifactId>
</dependency>
@@ -82,11 +78,6 @@
<artifactId>joda-time</artifactId>
</dependency>
<dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
<type>jar</type>