forked from apache/commons-dbcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
420 lines (403 loc) · 15.4 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
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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">
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
<version>46</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>commons-dbcp2</artifactId>
<version>2.3.1-SNAPSHOT</version>
<name>Apache Commons DBCP</name>
<inceptionYear>2001</inceptionYear>
<description>Apache Commons DBCP software implements Database Connection Pooling</description>
<url>http://commons.apache.org/dbcp/</url>
<!-- Maven 3.0 needed for scmpublish 1.0 -->
<prerequisites>
<maven>3.0.5</maven>
</prerequisites>
<distributionManagement>
<!-- Cannot define in parent ATM, see COMMONSSITE-26 -->
<site>
<id>apache.website</id>
<name>Apache Commons Site</name>
<url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-dbcp/</url>
</site>
</distributionManagement>
<issueManagement>
<system>jira</system>
<url>http://issues.apache.org/jira/browse/DBCP</url>
</issueManagement>
<scm>
<connection>scm:git:http://git-wip-us.apache.org/repos/asf/commons-dbcp.git</connection>
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-dbcp.git</developerConnection>
<url>https://git-wip-us.apache.org/repos/asf?p=commons-dbcp.git</url>
</scm>
<developers>
<developer>
<name>Morgan Delagrange</name>
<id>morgand</id>
<email></email>
<organization></organization>
</developer>
<developer>
<name>Geir Magnusson</name>
<id>geirm</id>
<email></email>
<organization></organization>
</developer>
<developer>
<name>Craig McClanahan</name>
<id>craigmcc</id>
<email></email>
<organization></organization>
</developer>
<developer>
<name>John McNally</name>
<id>jmcnally</id>
<email></email>
<organization></organization>
</developer>
<developer>
<name>Martin Poeschl</name>
<id>mpoeschl</id>
<email>[email protected]</email>
<organization>tucana.at</organization>
</developer>
<developer>
<name>Rodney Waldhoff</name>
<id>rwaldhoff</id>
<email></email>
<organization></organization>
</developer>
<developer>
<name>David Weinrich</name>
<id>dweinr1</id>
<email></email>
<organization></organization>
</developer>
<developer>
<name>Dirk Verbeeck</name>
<id>dirkv</id>
<email></email>
<organization></organization>
</developer>
<developer>
<name>Yoav Shapira</name>
<id>yoavs</id>
<email>[email protected]</email>
<organization>The Apache Software Foundation</organization>
</developer>
<developer>
<name>Jörg Schaible</name>
<id>joehni</id>
<email>[email protected]</email>
<organization></organization>
<timezone>+1</timezone>
</developer>
<developer>
<name>Mark Thomas</name>
<id>markt</id>
<email>[email protected]</email>
<organization>The Apache Software Foundation</organization>
</developer>
<developer>
<name>Gary Gregory</name>
<id>ggregory</id>
<email>[email protected]</email>
<organization>The Apache Software Foundation</organization>
</developer>
</developers>
<contributors>
<contributor>
<name>Todd Carmichael</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>Wayne Woodfield</name>
</contributor>
<contributor>
<name>Dain Sundstrom</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>Philippe Mouawad</name>
</contributor>
</contributors>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>${commons.pool.version}</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<!-- For managed connections -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.1_spec</artifactId>
<version>1.1.1</version>
<optional>true</optional>
</dependency>
<!-- tomcat naming jars for jndi reference tests -->
<dependency>
<groupId>tomcat</groupId>
<artifactId>naming-common</artifactId>
<version>5.0.28</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>tomcat</groupId>
<artifactId>naming-java</artifactId>
<version>5.0.28</version>
<scope>test</scope>
</dependency>
<!-- for testing of managed connections -->
<dependency>
<groupId>org.apache.geronimo.modules</groupId>
<artifactId>geronimo-transaction</artifactId>
<!--
Cannot update this currently; anything later causes failures:
java.lang.NoClassDefFoundError:
Could not initialize class org.apache.geronimo.transaction.manager.TransactionManagerImpl
-->
<version>1.2-beta</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>junit</artifactId>
<groupId>junit</groupId>
</exclusion>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/dbcp/</commons.distSvnStagingUrl>
<commons.release.isDistModule>true</commons.release.isDistModule>
<commons.componentid>dbcp2</commons.componentid>
<commons.rc.version>RC1</commons.rc.version>
<commons.module.name>org.apache.commons.dbcp2</commons.module.name>
<commons.release.version>2.3.0</commons.release.version>
<commons.release.desc>for JDBC 4.1 (Java 7.0+)</commons.release.desc>
<commons.release.2.version>1.4</commons.release.2.version>
<commons.release.2.desc>for JDBC 4 (Java 6.0)</commons.release.2.desc>
<!-- override parent name, because 1.x uses different artifactId -->
<commons.release.2.name>commons-dbcp-${commons.release.2.version}</commons.release.2.name>
<commons.release.3.version>1.3</commons.release.3.version>
<commons.release.3.desc>for JDBC 3 (Java 1.4 or 5)</commons.release.3.desc>
<!-- override parent name, because 1.x uses different artifactId -->
<commons.release.3.name>commons-dbcp-${commons.release.3.version}</commons.release.3.name>
<commons.site.path>dbcp</commons.site.path>
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-dbcp</commons.scmPubUrl>
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
<commons.jira.id>DBCP</commons.jira.id>
<commons.jira.pid>12310469</commons.jira.pid>
<!-- Override CP version until that is updated -->
<commons.checkstyle.version>3.0.0</commons.checkstyle.version>
<!-- Constant for Commons Pool version (used in multiple places) -->
<commons.pool.version>2.5.0</commons.pool.version>
<!-- See DBCP-445 and DBCP-454 -->
<commons.osgi.import>javax.transaction;version="1.1.0",javax.transaction.xa;version="1.1.0";partial=true;mandatory:=partial,*</commons.osgi.import>
<commons.japicmp.ignoreMissingClasses>true</commons.japicmp.ignoreMissingClasses>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>${commons.scm-publish.version}</version>
<configuration>
<ignorePathsToDelete>
<ignorePathToDelete>javadocs</ignorePathToDelete>
</ignorePathsToDelete>
</configuration>
</plugin>
<!-- Allow use of "mvn checkstyle:checkstyle" -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${commons.checkstyle.version}</version>
<configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<!-- Ensure that logging messages can be inspected -->
<org.apache.commons.logging.Log>org.apache.commons.dbcp2.StackMessageLog</org.apache.commons.logging.Log>
</systemPropertyVariables>
<reportFormat>plain</reportFormat>
<excludes>
<!-- Test support files -->
<exclude>**/Tester*.java</exclude>
<!-- Exclude nested classes which Surefire cannot handle -->
<exclude>**/Test*$*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/bin.xml</descriptor>
<descriptor>src/main/assembly/src-tar-gz.xml</descriptor>
<descriptor>src/main/assembly/src-zip.xml</descriptor>
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<configuration>
<ignorePathsToDelete>
<ignorePathToDelete>api-*</ignorePathToDelete>
</ignorePathsToDelete>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${commons.javadoc.version}</version>
<configuration>
<links>
<link>http://docs.oracle.com/javase/7/docs/api</link>
<link>http://commons.apache.org/proper/commons-pool/api-${commons.pool.version}</link>
<link>http://docs.oracle.com/javaee/7/api/</link>
</links>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<version>${commons.japicmp.version}</version>
<reportSets>
<reportSet>
<reports>
<!-- This is the only way I could find to skip generating this report -->
<!-- Version 0.11.1 throws an exception because it cannot find a Geronimo class -->
<!-- Version 0.12.0 throws an NullPointerException because it seems Maven did not inject the report Mojo with any values-->
<!-- <report>cmp-report</report> -->
</reports>
</reportSet>
</reportSets>
<configuration>
<parameter>
<onlyModified>true</onlyModified>
<breakBuildOnBinaryIncompatibleModifications>${commons.japicmp.breakBuildOnBinaryIncompatibleModifications}</breakBuildOnBinaryIncompatibleModifications>
<!-- skip japicmp on "mvn site" - use "mvn package site" to include report -->
<ignoreMissingNewVersion>true</ignoreMissingNewVersion>
<reportOnlyFilename>true</reportOnlyFilename>
<skipPomModules>true</skipPomModules>
<ignoreMissingClasses>${commons.japicmp.ignoreMissingClasses}</ignoreMissingClasses>
<oldVersionPattern>2.2.0</oldVersionPattern>
</parameter>
<dependencies>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.1_spec</artifactId>
<version>1.1.1</version>
</dependency>
</dependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5</version>
<configuration>
<threshold>Normal</threshold>
<effort>Default</effort>
<excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${commons.javadoc.version}</version>
<configuration>
<links>
<link>http://docs.oracle.com/javase/7/docs/api</link>
<link>http://commons.apache.org/proper/commons-pool/api-${commons.pool.version}</link>
<link>http://docs.oracle.com/javaee/7/api/</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>${commons.changes.version}</version>
<configuration>
<template>release-notes.vm</template>
<templateDirectory>src/changes</templateDirectory>
<!-- Limit this to released, supported versions else there are -->
<!-- to many issues in the report -->
<fixVersionIds>12313721,12326766,12328750</fixVersionIds>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${commons.checkstyle.version}</version>
<configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>${commons.clirr.version}</version>
<configuration>
<minSeverity>info</minSeverity>
</configuration>
</plugin>
</plugins>
</reporting>
</project>