Final push for project
Change-Id: I9103078156eca93df2482b9fe3854d9301bb98b3
diff --git a/backend/demo/pom.xml b/backend/demo/pom.xml
index 6eccaf5..2e50a85 100644
--- a/backend/demo/pom.xml
+++ b/backend/demo/pom.xml
@@ -12,6 +12,16 @@
<version>3.4.4</version>
<relativePath/>
</parent>
+<repositories>
+ <repository>
+ <id>local-ttorrent</id>
+ <name>Local TTorrent Bundle</name>
+ <url>file://${project.basedir}/src/main/resources/lib</url>
+ <releases><enabled>true</enabled></releases>
+ <snapshots><enabled>false</enabled></snapshots>
+ </repository>
+ </repositories>
+
<groupId>com.example</groupId>
<artifactId>demo</artifactId>
@@ -28,7 +38,9 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
-
+
+
+
<!-- 数据库驱动:MySQL、H2 -->
<dependency>
@@ -97,39 +109,42 @@
<version>0.11.5</version>
<scope>runtime</scope>
</dependency>
+<dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>javax.annotation-api</artifactId>
+ <version>1.3.2</version>
+</dependency>
+
<dependency>
<groupId>com.turn</groupId>
<artifactId>ttorrent-bencoding</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
-
- <!-- 通用工具模块(info_hash、文件结构等) -->
- <dependency>
- <groupId>com.turn</groupId>
- <artifactId>ttorrent-common</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
-
- <!-- 网络通信支持(用于 Scrape/Tracker 通信) -->
- <dependency>
- <groupId>com.turn</groupId>
- <artifactId>ttorrent-network</artifactId>
- <version>1.0</version>
- </dependency>
-
- <!-- Tracker 服务(你自己部署的 announce 接口服务) -->
- <dependency>
- <groupId>com.turn</groupId>
- <artifactId>ttorrent-tracker</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
-
- <!-- 客户端支持(如果你需要服务器自动发种、做种) -->
- <dependency>
+ <version>1.3.0-SNAPSHOT</version> <!-- Changed to match your file -->
+</dependency>
+<dependency>
<groupId>com.turn</groupId>
<artifactId>ttorrent-client</artifactId>
- <version>1.3.0-SNAPSHOT</version>
- </dependency>
+ <version>1.3.0-SNAPSHOT</version> <!-- Changed to match your file -->
+</dependency>
+<dependency>
+ <groupId>com.turn</groupId>
+ <artifactId>ttorrent-common</artifactId>
+ <version>1.3.0-SNAPSHOT</version> <!-- Changed to match your file -->
+</dependency>
+<dependency>
+ <groupId>com.turn</groupId>
+ <artifactId>ttorrent-network</artifactId>
+ <version>1.0</version> <!-- Changed to match your file (1.0) -->
+</dependency>
+<dependency>
+ <groupId>com.turn</groupId>
+ <artifactId>ttorrent-tracker</artifactId>
+ <version>1.3.0-SNAPSHOT</version> <!-- Changed to match your file -->
+</dependency>
+
</dependencies>
<build>