Skip to content

Commit

Permalink
Merge remote-tracking branch 'karl/master' into 20150818-phyTimeoutMi…
Browse files Browse the repository at this point in the history
…llis

Conflicts:
	pom.xml
	src/main/java/com/alibaba/druid/pool/DruidDataSource.java
	src/main/java/com/alibaba/druid/pool/DruidPooledConnection.java
  • Loading branch information
lijian committed Aug 18, 2015
2 parents 2c09b80 + 888bdb0 commit dace336
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 70 deletions.
158 changes: 89 additions & 69 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
<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.alibaba</groupId> <artifactId>parent-pom</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> -->

<!--
<parent>
<groupId>com.alibaba</groupId>
<artifactId>parent-pom</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
-->

<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>1.0.16-SNAPSHOT</version>
<version>1.0.15-SNAPSHOT</version>

<packaging>jar</packaging>
<name>druid</name>
Expand All @@ -32,9 +38,18 @@
</repository>
</repositories>

<!-- <distributionManagement> <repository> <id>opensesame</id> <url>dav:http://code.alibabatech.com/mvn/releases/</url>
</repository> <snapshotRepository> <id>opensesame</id> <url>dav:http://code.alibabatech.com/mvn/snapshots/</url> </snapshotRepository>
</distributionManagement> -->
<!--
<distributionManagement>
<repository>
<id>opensesame</id>
<url>dav:http://code.alibabatech.com/mvn/releases/</url>
</repository>
<snapshotRepository>
<id>opensesame</id>
<url>dav:http://code.alibabatech.com/mvn/snapshots/</url>
</snapshotRepository>
</distributionManagement>
-->
<developers>
<developer>
<id>wenshao</id>
Expand Down Expand Up @@ -93,6 +108,7 @@
<encoding>UTF-8</encoding>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
<skip>true</skip>
</configuration>
</plugin>

Expand All @@ -104,6 +120,7 @@
<includes>
<include>**/bvt/**/*.java</include>
</includes>
<skip>true</skip>
</configuration>
</plugin>

Expand Down Expand Up @@ -278,42 +295,35 @@
</file>
</activation>
<dependencies>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>jconsole</artifactId>
<version>1.6.0</version>
<scope>system</scope>
<systemPath>${java.home}/../Classes/jconsole.jar</systemPath>
</dependency>
</dependencies>
</profile>

<profile>
<id>mac-profile-oracle-jdk</id>
<activation>
<activeByDefault>false</activeByDefault>
<file>
<exists>${java.home}/../lib/jconsole.jar</exists>
</file>
</activation>
<dependencies>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>jconsole</artifactId>
<version>1.8.0</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/jconsole.jar</systemPath>
</dependency>

<dependency>
<groupId>com.alibaba</groupId>
<artifactId>tools</artifactId>
<version>1.8.0</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
</profile>
<profile>
<id>mac-profile-oracle-jdk</id>
<activation>
<activeByDefault>false</activeByDefault>
<file>
<exists>${java.home}/../lib/jconsole.jar</exists>
</file>
</activation>
<dependencies>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>jconsole</artifactId>
<version>1.8.0</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/jconsole.jar</systemPath>
</dependency>

<dependency>
<groupId>com.alibaba</groupId>
<artifactId>tools</artifactId>
<version>1.8.0</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
</profile>
</profiles>

<dependencies>
Expand Down Expand Up @@ -448,13 +458,18 @@
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
<scope>provided</scope>
</dependency>

<!--<dependency>-->
<!--<groupId>com.oracle</groupId>-->
<!--<artifactId>ojdbc6</artifactId>-->
<!--<version>11.2.0.3</version>-->
<!--<scope>provided</scope>-->
<!--</dependency>-->
<dependency>
<groupId>cn.guoyukun.jdbc</groupId>
<artifactId>oracle-ojdbc6</artifactId>
<version>11.2.0.3.0</version>
</dependency>

<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
Expand All @@ -463,8 +478,14 @@
<optional>true</optional>
</dependency>

<!-- <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>sqljdbc4</artifactId> <version>4.0.2206.100</version>
<scope>test</scope> </dependency> -->
<!--
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc4</artifactId>
<version>4.0.2206.100</version>
<scope>test</scope>
</dependency>
-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down Expand Up @@ -497,14 +518,14 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>proxool</groupId>
<groupId>com.cloudhopper.proxool</groupId>
<artifactId>proxool</artifactId>
<version>0.9.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>proxool</groupId>
<artifactId>proxool-cglib</artifactId>
<groupId>com.cloudhopper.proxool</groupId>
<artifactId>proxool-cglib</artifactId>
<version>0.9.1</version>
<scope>test</scope>
</dependency>
Expand Down Expand Up @@ -550,20 +571,19 @@
<version>1.b.52</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.taobao.tbdatasource</groupId>
<artifactId>tbdatasource</artifactId>
<version>2.0.2</version>
<scope>test</scope>
<version>3.0.1.5.taobaocode</version>
<exclusions>
<exclusion>
<groupId>jboss</groupId>
<artifactId>jboss-j2ee</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.javasimon</groupId>
<artifactId>javasimon-spring</artifactId>
Expand All @@ -588,19 +608,19 @@
<version>14.0.1</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.aliyun.odps</groupId>
<artifactId>odps-sdk-udf</artifactId>
<version>0.17.3</version>
<scope>provided</scope>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<distributionManagement>
<repository>
<id>releases</id>
<name>gozap构件发布版仓库</name>
<url>http://repo.gozap.com/repos/content/repositories/gozap/</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>gozap构件快照版仓库</name>
<url>http://repo.gozap.com/repos/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

</project>
1 change: 0 additions & 1 deletion src/test/java/com/alibaba/druid/pool/MaxWaitTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import java.sql.Statement;
import java.util.concurrent.CountDownLatch;

import EDU.oswego.cs.dl.util.concurrent.CountDown;
import junit.framework.TestCase;

public class MaxWaitTest extends TestCase {
Expand Down

0 comments on commit dace336

Please sign in to comment.