mirror of https://github.com/apache/archiva.git
no more need of commons-* in embeded dist and add testOnBorrow validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1389467 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
59d320506d
commit
54a9e3e843
|
@ -85,16 +85,6 @@
|
|||
<artifactId>tomcat-jdbc</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-dbcp</groupId>
|
||||
<artifactId>commons-dbcp</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-pool</groupId>
|
||||
<artifactId>commons-pool</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
|
|
|
@ -322,6 +322,9 @@
|
|||
<Set name="removeAbandoned">true</Set>
|
||||
<Set name="logAbandoned">true</Set>
|
||||
<Set name="initialSize">5</Set>
|
||||
<Set name="testOnBorrow">true</Set>
|
||||
<!-- very rigourous sql query validation -->
|
||||
<Set name="validationQuery">select 1</Set>
|
||||
</New>
|
||||
</Arg>
|
||||
</New>
|
||||
|
|
Loading…
Reference in New Issue