forked from ifeilong/feilong-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
266 lines (235 loc) · 7.63 KB
/
pom.xml
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
<?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>
<parent>
<groupId>com.feilong.platform</groupId>
<artifactId>parent</artifactId>
<version>1.10.3-SNAPSHOT</version>
</parent>
<artifactId>feilong-core</artifactId>
<name>feilong-core</name>
<!-- 成立年份 -->
<inceptionYear>2008</inceptionYear>
<!-- 会出现在site 界面 -->
<description>${project.name} ${project.version} API</description>
<url>https://github.com/venusdrogon/feilong-core</url>
<!-- 项目的贡献者,但不属于开发小组 -->
<contributors>
<contributor>
<name>benjamin.liu</name>
<url>https://github.com/benjaliu</url>
</contributor>
<contributor>
<name>yi.huang</name>
<url>https://github.com/ananbeike</url>
</contributor>
<contributor>
<name>minglei.feng</name>
<url>https://github.com/shade41-code</url>
</contributor>
</contributors>
<dependencies>
<!-- commons-lang3 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<!-- commons-collections4 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
</dependency>
<!-- commons-beanutils -->
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
<exclusion>
<artifactId>commons-collections</artifactId>
<groupId>commons-collections</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- **********************log日志************************************ -->
<!-- slf4j-log4j12 -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<optional>true</optional><!-- 日志系统根据每个项目 决定 -->
</dependency>
<!-- log4j -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<optional>true</optional><!-- 日志系统根据每个项目 决定 -->
</dependency>
<!-- **********************仅仅 统一下版本************************************** -->
<!-- commons-logging 仅仅 统一下版本 feilong platform 不直接使用这个jar -->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</dependency>
<!-- commons-collections 仅仅 统一下版本 feilong platform 不直接使用这个jar -->
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
</dependency>
<!-- xml-apis:xml-apis 这2个包的类在jdk1.6里自带有了,可能有冲突,如果你的运行环境是1.6的话就可以删掉这2个包 -->
<!-- 规范下 xercesImpl版本 -->
<!-- 解决This parser does not support specification "null" version "null" -->
<!-- xerces:xercesImpl 这2个包的类在jdk1.6里自带有了,可能有冲突,如果你的运行环境是1.6的话就可以删掉这2个包 -->
</dependencies>
<build>
<plugins>
<!-- maven-surefire-plugin -->
<plugin>
<inherited>false</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>false</skip>
<includes>
<include>**/FeiLongSuiteTests</include>
</includes>
</configuration>
</plugin>
<!-- 测试覆盖率 http://stackoverflow.com/questions/25293433/coberturainstrumenter-unable-to-instrument-file -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<instrumentation>
<!-- <ignore>.*</ignore> -->
<excludes>
<exclude>**/*Test.class</exclude>
</excludes>
</instrumentation>
<formats>
<format>xml</format>
</formats>
<check>
<branchRate>0</branchRate>
<lineRate>0</lineRate>
<haltOnFailure>true</haltOnFailure>
<totalBranchRate>0</totalBranchRate>
<totalLineRate>0</totalLineRate>
<packageLineRate>0</packageLineRate>
<packageBranchRate>0</packageBranchRate>
<regexes>
<regex>
<pattern>**/DateUtilTest.java</pattern>
<branchRate>60</branchRate>
<lineRate>80</lineRate>
</regex>
</regexes>
</check>
</configuration>
<!-- <executions>
<execution>
<goals>
<goal>clean</goal>
<goal>check</goal>
</goals>
</execution>
</executions> -->
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>5.0.3</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>${version.xml-apis}</version>
</dependency>
</dependencies>
</plugin>
<!-- 打包时,添加信息 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<!-- <manifestFile>
src/main/resources/META-INF/MANIFEST.MF
</manifestFile> -->
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<!-- <mainClass>com.mypackage.MyClass</mainClass> -->
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<copyright>feilong</copyright>
</manifestEntries>
</archive>
<!-- <excludes> <exclude>**/temple/**</exclude> </excludes> -->
</configuration>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- [ERROR] 'git' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<version>2.3</version>
<configuration>
<type>range</type>
<range>30</range>
<headingDateFormat>MM-dd</headingDateFormat>
<dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<!-- 单元测试报告 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${v.maven-surefire-plugin}</version>
</plugin>
</plugins>
</reporting>
<!-- 软件配置管理,如cvs 和svn -->
<!-- The scm url must start with 'scm:' -->
<scm>
<url>https://github.com/venusdrogon/feilong-core</url>
<connection>scm:git:https://github.com/venusdrogon/feilong-core</connection>
<developerConnection>scm:git:[email protected]:venusdrogon/feilong-core.git</developerConnection>
</scm>
<!-- 用于管理此项目的发布跟踪(bug跟踪) -->
<issueManagement>
<system>github</system>
<url>https://github.com/venusdrogon/feilong-core/issues</url>
</issueManagement>
<!-- 项目提交者信息 -->
<developers>
<developer>
<id>feilong</id>
<name>金鑫</name>
<email>${developer.feilong.email}</email>
<url>http://venusdrogon.github.io/feilong-platform/</url>
<organization>feilong</organization>
<organizationUrl>http://venusdrogon.github.io/feilong-platform/</organizationUrl>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>8</timezone>
</developer>
</developers>
</project>