浏览代码

Added dagger to filesystem-invariants-tests

* Added dependencies to pom
* Moved dagger version in parent pom to variable
Markus Kreusch 9 年之前
父节点
当前提交
c93e4e462b
共有 2 个文件被更改,包括 18 次插入3 次删除
  1. 15 1
      main/filesystem-invariants-tests/pom.xml
  2. 3 2
      main/pom.xml

+ 15 - 1
main/filesystem-invariants-tests/pom.xml

@@ -40,12 +40,26 @@
 			<groupId>org.cryptomator</groupId>
 			<artifactId>filesystem-nio</artifactId>
 		</dependency>
+		<dependency>
+			<groupId>org.cryptomator</groupId>
+			<artifactId>filesystem-stats</artifactId>
+		</dependency>
 		<dependency>
 			<groupId>org.cryptomator</groupId>
 			<artifactId>commons-test</artifactId>
 		</dependency>
+
+		<dependency>
+			<groupId>com.google.dagger</groupId>
+			<artifactId>dagger</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>com.google.dagger</groupId>
+			<artifactId>dagger-compiler</artifactId>
+			<scope>provided</scope>
+		</dependency>
 	</dependencies>
-	
+
 	<build>
 		<plugins>
 			<plugin>

+ 3 - 2
main/pom.xml

@@ -40,6 +40,7 @@
 		<commons-httpclient.version>3.1</commons-httpclient.version>
 		<jackson-databind.version>2.4.4</jackson-databind.version>
 		<mockito.version>1.10.19</mockito.version>
+		<dagger.version>2.0.2</dagger.version>
 	</properties>
 
 	<repositories>
@@ -181,12 +182,12 @@
 			<dependency>
 				<groupId>com.google.dagger</groupId>
 				<artifactId>dagger</artifactId>
-				<version>2.0.2</version>
+				<version>${dagger.version}</version>
 			</dependency>
 			<dependency>
 				<groupId>com.google.dagger</groupId>
 				<artifactId>dagger-compiler</artifactId>
-				<version>2.0.2</version>
+				<version>${dagger.version}</version>
 				<scope>provided</scope>
 			</dependency>