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:
Olivier Lamy 2012-09-24 16:12:14 +00:00
parent 59d320506d
commit 54a9e3e843
2 changed files with 3 additions and 10 deletions

View File

@ -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>

View File

@ -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>