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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
<
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/maven-v4_0_0.xsd"
>
<
modelVersion
>4.0.0</
modelVersion
>
<
groupId
>MavenTest01</
groupId
>
<
artifactId
>MavenTest01</
artifactId
>
<
version
>0.0.1-SNAPSHOT</
version
>
<
packaging
>war</
packaging
>
<!-- 版本属性 -->
<
properties
>
<!-- lib version setting -->
<
spring.version
>4.1.6.RELEASE</
spring.version
>
<
mybatis.version
>3.2.8</
mybatis.version
>
<
mybatis-spring.version
>1.2.2</
mybatis-spring.version
>
<
mysql.driver.version
>5.1.35</
mysql.driver.version
>
<
druid.version
>1.0.13</
druid.version
>
<!-- project util lib version setting -->
<
util.version
>0.2.2-SNAPSHOT</
util.version
>
<!-- util lib version setting -->
<
log4j.version
>1.2.17</
log4j.version
>
<
slf4j.version
>1.7.7</
slf4j.version
>
<
jackson.version
>2.5.1</
jackson.version
>
<
commons-lang3.version
>3.3.2</
commons-lang3.version
>
<
commons-beanutils.version
>1.9.2</
commons-beanutils.version
>
<
httpClient.version
>4.5</
httpClient.version
>
<
gson.version
>2.2.4</
gson.version
>
<
junit.version
>4.11</
junit.version
>
<!-- 编译jdk版本 -->
<
jdk.version
>1.7</
jdk.version
>
</
properties
>
<!-- 设定主仓库 -->
<
repositories
>
<!-- nexus私服 -->
<
repository
>
<
id
>nexus-repos</
id
>
<
name
>Team Nexus Repository</
name
>
<
url
>http://127.0.0.1:8081/nexus/content/groups/public/</
url
>
<
releases
>
<
enabled
>true</
enabled
>
</
releases
>
<
snapshots
>
<
enabled
>true</
enabled
>
</
snapshots
>
</
repository
>
</
repositories
>
<!-- 设定插件仓库 -->
<
pluginRepositories
>
<
pluginRepository
>
<
id
>nexus-repos</
id
>
<
name
>Team Nexus Repository</
name
>
<
url
>http://127.0.0.1:8081/nexus/content/groups/public/</
url
>
<
releases
>
<
enabled
>true</
enabled
>
</
releases
>
<
snapshots
>
<
enabled
>true</
enabled
>
</
snapshots
>
</
pluginRepository
>
</
pluginRepositories
>
<
dependencies
>
<!-- spring -->
<
dependency
>
<
groupId
>org.springframework</
groupId
>
<
artifactId
>spring-core</
artifactId
>
<
version
>${spring.version}</
version
>
<
exclusions
>
<
exclusion
>
<
groupId
>commons-logging</
groupId
>
<
artifactId
>commons-logging</
artifactId
>
</
exclusion
>
</
exclusions
>
</
dependency
>
<
dependency
>
<
groupId
>org.springframework</
groupId
>
<
artifactId
>spring-beans</
artifactId
>
<
version
>${spring.version}</
version
>
</
dependency
>
<
dependency
>
<
groupId
>org.springframework</
groupId
>
<
artifactId
>spring-context</
artifactId
>
<
version
>${spring.version}</
version
>
</
dependency
>
<
dependency
>
<
groupId
>org.springframework</
groupId
>
<
artifactId
>spring-aop</
artifactId
>
<
version
>${spring.version}</
version
>
</
dependency
>
<
dependency
>
<
groupId
>com.oracle</
groupId
>
<
artifactId
>odbc</
artifactId
>
<
version
>10.1.0.2.0</
version
>
</
dependency
>
<
dependency
>
<
groupId
>org.mybatis</
groupId
>
<
artifactId
>mybatis-spring</
artifactId
>
<
version
>${mybatis-spring.version}</
version
>
</
dependency
>
</
dependencies
>
<
build
>
<
plugins
>
<
plugin
>
<
groupId
>org.apache.maven.plugins</
groupId
>
<
artifactId
>maven-compiler-plugin</
artifactId
>
<
configuration
>
<
source
>${jdk.version}</
source
>
<
target
>${jdk.version}</
target
>
</
configuration
>
</
plugin
>
</
plugins
>
<
finalName
>MavenTest01</
finalName
>
</
build
>
</
project
>
|
maven搭建nexus私服在myeclipse中的使用
最新推荐文章于 2022-07-15 17:40:28 发布