druid.
An JDBC datasource implementation..
Here is the list of declaration for druid. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>0.2.8</version> </dependency>
If you think this Maven repository POM file listing for druid is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache 2
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.
The druid-0.2.8 has 30 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
JEE Library | jta 1.1 The javax.transaction package. It is appropriate for inclusion in a classpath, and may be added to a Java 2 installation. | 184 |
Log | commons-logging 1.1.1 Commons Logging is a thin adapter allowing configurable bridging to other, well known logging systems. | 1143 |
Spring | spring-ibatis 2.0.8 Spring Framework: iBATIS | 16 |
ORM | mybatis 3.1.1 The MyBatis data mapper framework makes it easier to use a relational database with object-oriented applications. MyBatis couples objects with stored procedures or SQL statements using a XML descriptor or annotations. Simplicity is the biggest advantage of the MyBatis data mapper over objec... | 17 |
Log | log4j 1.2.16 Apache Log4j 1.2 | 683 |
Log | slf4j-api 1.6.1 The slf4j API | 621 |
Log | slf4j-log4j12 1.6.1 The slf4j log4j-12 binding | 345 |
MySQL | mysql-connector-java 5.1.20 MySQL java connector | 13 |
JDBC | jtds 1.2.4 TDS is an open source 100% pure Java (type 4) JDBC 3.0 driver for Microsoft SQL Server (6.5, 7, 2000,2005, and 2008) and Sybase (10, 11, 12, 15). jTDS is based on FreeTDS and is currently the fastest production-ready JDBC driver for SQL Server and Sybase. jTDS is 100% JDBC 3.0 compati... | 14 |
JDBC | postgresql 9.1-901-1.jdbc4 The PostgreSQL Driver JDBC4 | 28 |
Library | nutz 1.b.40 Nutz, which is a collections of lightweight frameworks, each of them can be used independently | 7 |
JUnit | junit 4.10 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 1957 |
JDBC | derby 10.8.2.2 Contains the core Apache Derby database engine, which also includes the embedded JDBC driver. | 40 |
Database | commons-dbcp 1.4 Commons Database Connection Pooling | 157 |
Library | bonecp 0.7.1.RELEASE Lightweight connection pool. | 43 |
Spring | bonecp-spring 0.7.1.RELEASE Helper classes for additional integration with the spring framework | 16 |
JDBC | c3p0 0.9.1.2 c3p0 is an easy-to-use library for augmenting traditional (DriverManager-based) JDBC drivers with JNDI-bindable DataSources, including DataSources that implement Connection and Statement Pooling, as described by the jdbc3 spec and jdbc2 std extension. | 82 |
JPA Hibernate | hibernate-core 4.1.4.Final A module of the Hibernate Core project | 7 |
JDBC | commons-dbutils 1.5 The Apache Commons-DbUtils package is a set of Java utility classes for easing JDBC development. | 11 |
The following plugins are used in the druid-0.2.8.jar
The following packages are defined in the druid-0.2.8.jar
com.alibaba.druid com.alibaba.druid.filter com.alibaba.druid.filter.config com.alibaba.druid.filter.encoding com.alibaba.druid.filter.logging com.alibaba.druid.filter.stat com.alibaba.druid.mapping com.alibaba.druid.mapping.spi com.alibaba.druid.mock com.alibaba.druid.mock.handler com.alibaba.druid.pool com.alibaba.druid.pool.ha com.alibaba.druid.pool.ha.balance com.alibaba.druid.pool.ha.cobar com.alibaba.druid.pool.ha.config com.alibaba.druid.pool.ha.valid com.alibaba.druid.pool.vendor com.alibaba.druid.pool.xa com.alibaba.druid.proxy com.alibaba.druid.proxy.jdbc com.alibaba.druid.sql com.alibaba.druid.sql.ast com.alibaba.druid.sql.ast.expr com.alibaba.druid.sql.ast.statement com.alibaba.druid.sql.dialect.hive.ast com.alibaba.druid.sql.dialect.hive.ast.stmt com.alibaba.druid.sql.dialect.hive.parser com.alibaba.druid.sql.dialect.hive.visitor com.alibaba.druid.sql.dialect.mysql.ast com.alibaba.druid.sql.dialect.mysql.ast.expr com.alibaba.druid.sql.dialect.mysql.ast.statement com.alibaba.druid.sql.dialect.mysql.parser com.alibaba.druid.sql.dialect.mysql.visitor com.alibaba.druid.sql.dialect.oracle.ast com.alibaba.druid.sql.dialect.oracle.ast.clause com.alibaba.druid.sql.dialect.oracle.ast.expr com.alibaba.druid.sql.dialect.oracle.ast.stmt com.alibaba.druid.sql.dialect.oracle.parser com.alibaba.druid.sql.dialect.oracle.visitor com.alibaba.druid.sql.dialect.postgresql.ast com.alibaba.druid.sql.dialect.postgresql.ast.expr com.alibaba.druid.sql.dialect.postgresql.ast.stmt com.alibaba.druid.sql.dialect.postgresql.parser com.alibaba.druid.sql.dialect.postgresql.visitor com.alibaba.druid.sql.dialect.sqlserver.ast com.alibaba.druid.sql.dialect.sqlserver.ast.expr com.alibaba.druid.sql.dialect.sqlserver.parser com.alibaba.druid.sql.dialect.sqlserver.visitor com.alibaba.druid.sql.dialect.transact.ast com.alibaba.druid.sql.parser com.alibaba.druid.sql.visitor com.alibaba.druid.stat com.alibaba.druid.support.console com.alibaba.druid.support.http com.alibaba.druid.support.http.stat com.alibaba.druid.support.http.util com.alibaba.druid.support.ibatis com.alibaba.druid.support.jconsole com.alibaba.druid.support.jconsole.model com.alibaba.druid.support.jconsole.util com.alibaba.druid.support.json com.alibaba.druid.support.logging com.alibaba.druid.support.monitor com.alibaba.druid.support.profile com.alibaba.druid.support.spring com.alibaba.druid.support.spring.stat com.alibaba.druid.util com.alibaba.druid.util.jdbc com.alibaba.druid.wall com.alibaba.druid.wall.spi com.alibaba.druid.wall.violation
Here is the content of the POM file.
<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.alibaba</groupId> <artifactId>druid</artifactId> <version>0.2.8</version> <packaging>jar</packaging> <name>druid</name> <description>An JDBC datasource implementation.</description> <url>https://github.com/AlibabaTech/druid</url> <inceptionYear>2012</inceptionYear> <properties> <gpg.skip>true</gpg.skip> <junit.version>4.10</junit.version> </properties> <repositories> <repository> <id>bonecp</id> <name>bonecp</name> <url>http://jolbox.com/bonecp/downloads/maven/</url> <layout>default</layout> </repository> <repository> <id>alibaba</id> <name>alibaba</name> <url>http://code.alibabatech.com/mvn/releases/</url> <layout>default</layout> </repository> <repository> <id>local-file</id> <url>file://${basedir}/lib/</url> <layout>default</layout> </repository> <repository> <id>springsource-repo</id> <name>SpringSource Repository</name> <url>http://repo.springsource.org/release</url> </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> <scm> <url>https://wenshao@github.com/AlibabaTech/druid.git</url> <connection>scm:git:https://wenshao@github.com/AlibabaTech/druid.git</connection> </scm> <organization> <name>Alibaba Group</name> <url>http://code.alibabatech.com/</url> </organization> <licenses> <license> <name>Apache 2</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> <comments>A business-friendly OSS license</comments> </license> </licenses> <issueManagement> <system>Jira</system> <url>http://code.alibabatech.com/jira/browse/DRUID</url> </issueManagement> <build> <extensions> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-webdav</artifactId> <version>1.0-beta-2</version> </extension> </extensions> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <encoding>UTF-8</encoding> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.12.2</version> <configuration> <includes> <include>**/bvt/**/*.java</include> </includes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> <configuration> <attach>true</attach> </configuration> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8.1</version> <executions> <execution> <id>attach-javadoc</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <show>public</show> <charset>UTF-8</charset> <encoding>UTF-8</encoding> <docencoding>UTF-8</docencoding> <links> <link>http://docs.oracle.com/javase/6/docs/api</link> </links> </configuration> </plugin> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>1.4</version> <configuration> <skip>${gpg.skip}</skip> </configuration> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <!-- http://code.google.com/p/maven-license-plugin/wiki/HowTo --> <plugin> <!-- Working with multi-module projects --> <inherited>false</inherited> <groupId>com.mycila.maven-license-plugin</groupId> <artifactId>maven-license-plugin</artifactId> <version>1.10.b1</version> <configuration> <header>${basedir}/doc/license.txt</header> <failIfMissing>true</failIfMissing> <aggregate>true</aggregate> <strictCheck>true</strictCheck> <properties> <!-- <year>2012</year> --> </properties> <mapping> <java>SLASHSTAR_STYLE</java> </mapping> <includes> <include>src/main/java/**/*.java</include> </includes> <encoding>UTF-8</encoding> </configuration> <executions> <execution> <id>check-headers</id> <phase>verify</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> <manifestEntries> <Implementation-Build>${buildNumber}</Implementation-Build> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <version>1.1</version> <executions> <execution> <phase>validate</phase> <goals> <goal>create</goal> </goals> </execution> </executions> <configuration> <format>{0,date,yyyy-MM-dd HH:mm:ss}</format> <items> <item>timestamp</item> </items> <doCheck>false</doCheck> <doUpdate>true</doUpdate> </configuration> </plugin> </plugins> </build> <pluginRepositories> <pluginRepository> <id>mc-release</id> <name>Local Maven repository of releases</name> <url>http://mc-repo.googlecode.com/svn/maven2/releases</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> </pluginRepositories> <profiles> <profile> <id>default-profile</id> <activation> <activeByDefault>true</activeByDefault> <file> <exists>${java.home}/../lib/jconsole.jar</exists> </file> </activation> <properties> <toolsjar>${java.home}/../lib/tools.jar</toolsjar> <jconsolejar>${java.home}/../lib/jconsole.jar</jconsolejar> </properties> <dependencies> <dependency> <groupId>com.alibaba</groupId> <artifactId>jconsole</artifactId> <version>1.6.0</version> <scope>system</scope> <systemPath>${jconsolejar}</systemPath> <optional>true</optional> </dependency> <dependency> <groupId>com.alibaba</groupId> <artifactId>tools</artifactId> <version>1.6.0</version> <scope>system</scope> <systemPath>${toolsjar}</systemPath> <optional>true</optional> </dependency> </dependencies> </profile> <profile> <id>mac-profile</id> <activation> <activeByDefault>false</activeByDefault> <file> <exists>${java.home}/../Classes/jconsole.jar</exists> </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> </profiles> <dependencies> <dependency> <groupId>javax.transaction</groupId> <artifactId>jta</artifactId> <version>1.1</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.1</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>3.1.1.RELEASE</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>3.1.1.RELEASE</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-ibatis</artifactId> <version>2.0.8</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.1.1</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis-spring</artifactId> <version>1.1.1</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.16</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.6.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.6.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.20</version> <scope>provided</scope> </dependency> <dependency> <groupId>net.sourceforge.jtds</groupId> <artifactId>jtds</artifactId> <version>1.2.4</version> <scope>provided</scope> </dependency> <dependency> <groupId>postgresql</groupId> <artifactId>postgresql</artifactId> <version>9.1-901-1.jdbc4</version> <scope>provided</scope> </dependency> <!-- <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc5</artifactId> <version>11.2.0.3</version> <scope>provided</scope> </dependency> --> <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc14</artifactId> <version>10.2.0.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>sqljdbc4</artifactId> <version>4.0.2206.100</version> <scope>test</scope> </dependency> <dependency> <groupId>org.nutz</groupId> <artifactId>nutz</artifactId> <version>1.b.40</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>3.1.2.RELEASE</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId> <version>10.8.2.2</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-dbcp</groupId> <artifactId>commons-dbcp</artifactId> <version>1.4</version> <scope>test</scope> </dependency> <dependency> <groupId>com.jolbox</groupId> <artifactId>bonecp</artifactId> <version>0.7.1.RELEASE</version> <scope>test</scope> </dependency> <dependency> <groupId>com.jolbox</groupId> <artifactId>bonecp-spring</artifactId> <version>0.7.1.RELEASE</version> <scope>test</scope> </dependency> <dependency> <groupId>proxool</groupId> <artifactId>proxool</artifactId> <version>0.9.1</version> <scope>test</scope> </dependency> <dependency> <groupId>proxool</groupId> <artifactId>proxool-cglib</artifactId> <version>0.9.1</version> <scope>test</scope> </dependency> <dependency> <groupId>c3p0</groupId> <artifactId>c3p0</artifactId> <version>0.9.1.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.ibatis</groupId> <artifactId>ibatis-sqlmap</artifactId> <version>2.3.4.726</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <version>1.3.168</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>4.1.4.Final</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-dbutils</groupId> <artifactId>commons-dbutils</artifactId> <version>1.5</version> <scope>test</scope> </dependency> </dependencies> </project>