-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpom.xml
392 lines (352 loc) · 15.2 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
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
<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.hunantv.mpp.fw</groupId>
<artifactId>mpp-fw</artifactId>
<version>0.4.4-snapshot</version>
<name>fw</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<commons-beanutils.version>1.9.2</commons-beanutils.version>
<jetty.version>9.3.21.v20170918</jetty.version>
<spring.version>4.1.6.RELEASE</spring.version>
<jdk.version>1.8</jdk.version>
<logback-classic.version>1.2.3</logback-classic.version>
<slf4j.version>1.7.25</slf4j.version>
<nexus.url>http://192.168.1.121:8881</nexus.url>
<commons-beanutils.version>1.9.2</commons-beanutils.version>
<c3p0.version>0.9.1.2</c3p0.version>
<ehcache.version>2.9.0</ehcache.version>
<easymock.version>3.0</easymock.version>
<freemarker.version>2.3.20</freemarker.version>
<fastjson.version>1.2.40</fastjson.version>
<httpclient.version>4.5.3</httpclient.version>
<javax.servlet-api.version>3.1.0</javax.servlet-api.version>
<jedis.version>2.9.0</jedis.version>
<mysql-connector-java.version>5.1.37</mysql-connector-java.version>
<sqlite-jdbc.version>3.7.2</sqlite-jdbc.version>
<junit.version>4.11</junit.version>
<maven-jar-plugin.version>2.3.1</maven-jar-plugin.version>
<commons-lang3.version>3.6</commons-lang3.version>
</properties>
<distributionManagement>
<repository>
<id>hunantv-releases</id>
<name>hunantv releases</name>
<url>${nexus.url}/nexus/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>hunantv-snapshots</id>
<name>hunantv snapshots</name>
<url>${nexus.url}/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<dependencies>
<!-- jetty lib -->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlets</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<!-- jetty lib end -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${javax.servlet-api.version}</version>
</dependency>
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>${c3p0.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-connector-java.version}</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>${sqlite-jdbc.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback-classic.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>${easymock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>${commons-beanutils.version}</version>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>${freemarker.version}</version>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>${jedis.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>${ehcache.version}</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.7</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptor>assembly.xml</descriptor>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
</plugin>
<plugin>
<groupId>com.juvenxu.portable-config-maven-plugin</groupId>
<artifactId>portable-config-maven-plugin</artifactId>
<version>${portable-config-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>replace-package</goal>
</goals>
</execution>
</executions>
<configuration>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>2.2.2</version>
<executions>
<execution>
<id>get-the-git-infos</id>
<goals>
<goal>revision</goal>
</goals>
</execution>
<execution>
<id>validate-the-git-infos</id>
<goals>
<goal>validateRevision</goal>
</goals>
<!-- *NOTE*: The default phase of validateRevision is verify, but in
case you want to change it, you can do so by adding the phase here -->
<phase>package</phase>
</execution>
</executions>
<configuration>
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
<prefix>git</prefix>
<dateFormat>yyyy-MM-dd HH:mm:ss z</dateFormat>
<dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
<verbose>true</verbose>
<!-- ALTERNATE SETUP - GENERATE FILE -->
<!-- If you want to keep git information, even in your WAR file etc,
use this mode, which will generate a properties file (with filled out values)
which you can then normally read using new Properties().load(/**/) -->
<!-- This is false by default, forces the plugin to generate the git.properties
file. Note that the functional meaning of git.build.time becomes different
in a very subtle way (see later in this README) -->
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.basedir}/confs/git.properties
</generateGitPropertiesFilename>
<format>properties</format>
<injectAllReactorProjects>false</injectAllReactorProjects>
<failOnNoGitDirectory>true</failOnNoGitDirectory>
<failOnUnableToExtractRepoInfo>true</failOnUnableToExtractRepoInfo>
<skip>false</skip>
<runOnlyOnce>false</runOnlyOnce>
<!-- @since 2.1.9 -->
<!-- Can be used to exclude certain properties from being emitted into
the resulting file. May be useful when you want to hide {@code git.remote.origin.url}
(maybe because it contains your repo password?), or the email of the committer
etc. Each value may be globbing, that is, you can write {@code git.commit.user.*}
to exclude both, the {@code name}, as well as {@code email} properties from
being emitted into the resulting files. Please note that the strings here
are Java regexes ({@code .*} is globbing, not plain {@code *}). -->
<excludeProperties>
<!-- <excludeProperty>git.user.*</excludeProperty> -->
</excludeProperties>
<!-- @since 2.1.14 -->
<!-- Can be used to include only certain properties into the resulting
file. Will be overruled by the exclude properties. Each value may be globbing,
that is, you can write {@code git.commit.user.*} to include both, the {@code
name}, as well as {@code email} properties into the resulting files. Please
note that the strings here are Java regexes ({@code .*} is globbing, not
plain {@code *}). -->
<includeOnlyProperties>
<!-- <includeOnlyProperty>^git.commit.id.full$</includeOnlyProperty> -->
</includeOnlyProperties>
<abbrevLength>8</abbrevLength>
<!-- @since v2.2.0 -->
<!-- The option can be used to tell the plugin how it should generate
the 'git.commit.id' property. Due to some naming issues when exporting the
properties as an json-object (https://github.com/ktoso/maven-git-commit-id-plugin/issues/122)
we needed to make it possible to export all properties as a valid json-object.
Due to the fact that this is one of the major properties the plugin is exporting
we just don't want to change the exporting mechanism and somehow throw the
backwards compatibility away. We rather provide a convenient switch where
you can choose if you would like the properties as they always had been,
or if you rather need to support full json-object compatibility. In the case
you need to fully support json-object we unfortunately need to change the
'git.commit.id' property from 'git.commit.id' to 'git.commit.id.full' in
the exporting mechanism to allow the generation of a fully valid json object.
Currently the switch allows two different options: 1. By default this property
is set to 'flat' and will generate the formerly known property 'git.commit.id'
as it was in the previous versions of the plugin. Keeping it to 'flat' by
default preserve backwards compatibility and does not require further adjustments
by the end user. 2. If you set this switch to 'full' the plugin will export
the formerly known property 'git.commit.id' as 'git.commit.id.full' and therefore
will generate a fully valid json object in the exporting mechanism. *Note*:
Depending on your plugin configuration you obviously can choose the 'prefix'
of your properties by setting it accordingly in the plugin's configuration.
As a result this is therefore only an illustration what the switch means
when the 'prefix' is set to it's default value. *Note*: If you set the value
to something that's not equal to 'flat' or 'full' (ignoring the case) the
plugin will output a warning and will fallback to the default 'flat' mode. -->
<commitIdGenerationMode>flat</commitIdGenerationMode>
<!-- @since 2.1.0 -->
<!-- read up about git-describe on the in man, or it's homepage - it's
a really powerful versioning helper and the recommended way to use git-commit-id-plugin.
The configuration bellow is optional, by default describe will run "just
like git-describe on the command line", even though it's a JGit reimplementation. -->
<gitDescribe>
<!-- don't generate the describe property -->
<skip>false</skip>
<!-- if no tag was found "near" this commit, just print the commit's
id instead, helpful when you always expect this field to be not-empty -->
<always>false</always>
<!-- how many chars should be displayed as the commit object id? 7
is git's default, 0 has a special meaning (see end of this README.md), and
40 is the maximum value here -->
<abbrev>8</abbrev>
<!-- when the build is triggered while the repo is in "dirty state",
append this suffix -->
<dirty>-dirty</dirty>
<!-- Only consider tags matching the given pattern. This can be used
to avoid leaking private tags from the repository. -->
<match>*</match>
<!-- when you run git-describe it only looks only for *annotated tags*
by default if you wish to consider *lightweight tags* in your describe as
well you would need to switch this to *true* The difference between *annotated
tags* and *lightweight tags* is outlined in more depth here: https://github.com/ktoso/maven-git-commit-id-plugin/#git-describe-and-a-small-gotcha-with-tags -->
<tags>false</tags>
<!-- always print using the "tag-commits_from_tag-g_commit_id-maybe_dirty"
format, even if "on" a tag. The distance will always be 0 if you're "on"
the tag. -->
<forceLongFormat>false</forceLongFormat>
</gitDescribe>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>