-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
92 lines (76 loc) · 3.35 KB
/
pom.xml
File metadata and controls
92 lines (76 loc) · 3.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.fishfree</groupId>
<artifactId>java-se</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<javax.servlet.api.version>3.1.0</javax.servlet.api.version>
</properties>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${javax.servlet.api.version}</version>
</dependency>
<!--导入spring-data相应的jar包-->
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-redis</artifactId>
<version>2.0.7.RELEASE</version>
</dependency>
<!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.7.25</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>5.0.6.RELEASE</version>
</dependency>
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<!--配置maven仓库位jboss的仓库-->
<repositories>
<repository>
<!--仓库声明的唯一id,尤其需要注意的是,Maven自带的中央仓库使用
的id为central,如果其他仓库声明也使用该id,就会覆盖中央仓库的配置。-->
<id>jboss</id>
<!--仓库的名称,让我们直观方便的知道仓库是哪个,暂时没发现其他太大的含义-->
<name>jboss repository</name>
<!--指向了仓库的地址,一般来说,该地址都基于http协议,
Maven用户都可以在浏览器中打开仓库地址浏览构件。-->
<url>http://repository.jboss.com/maven2/</url>
<releases>
<!--表示开启JBoss仓库的发布版本下载支持-->
<enabled>true</enabled>
<!--配置Maven从远处仓库检查更新的频率-->
<!--never-从不检查更新;always-每次构建都检查更新;
interval:X-每隔X分钟检查一次更新-->
<updatePolicy>daily</updatePolicy>
</releases>
<snapshots>
<!--关闭JBoss仓库的快照版本的下载支持-->
<enabled>false</enabled>
</snapshots>
<!--元素值default表示仓库的布局是Maven2及Maven3的默认布局,而不是Maven1的布局-->
<layout>default</layout>
</repository>
</repositories>
</project>