ddth-cache-adapter.
DDTH's adapter for various cache systems.
Here is the list of declaration for ddth-cache-adapter. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.github.ddth</groupId> <artifactId>ddth-cache-adapter</artifactId> <version>0.2.0.2</version> </dependency>
If you think this Maven repository POM file listing for ddth-cache-adapter is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following plugins are used in the ddth-cache-adapter-0.2.0.2.jar
The following packages are defined in the ddth-cache-adapter-0.2.0.2.jar
com.github.ddth.cacheadapter com.github.ddth.cacheadapter.guava com.github.ddth.cacheadapter.localremote com.github.ddth.cacheadapter.redis com.github.ddth.cacheadapter.threadlocal
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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.github.ddth</groupId> <artifactId>ddth-parent</artifactId> <version>2</version> </parent> <groupId>com.github.ddth</groupId> <artifactId>ddth-cache-adapter</artifactId> <version>0.2.0.2</version> <packaging>bundle</packaging> <name>ddth-cache-adapter</name> <description>DDTH's adapter for various cache systems</description> <url>https://github.com/DDTH/ddth-cache-adapter</url> <!-- <licenses> <license> <name>The MIT License (MIT)</name> <url>http://opensource.org/licenses/MIT</url> <distribution>repo</distribution> </license> </licenses> --> <scm> <url>git@github.com:DDTH/ddth-cache-adapter</url> <connection>scm:git:git@github.com:DDTH/ddth-cache-adapter</connection> <developerConnection>scm:git:git@github.com:DDTH/ddth-cache-adapter</developerConnection> </scm> <properties> <version.ddth-redis>0.1.0.1</version.ddth-redis> <version.ddth-commons>0.2.1.1</version.ddth-commons> </properties> <dependencies> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${version.guava}</version> </dependency> <dependency> <groupId>com.github.ddth</groupId> <artifactId>ddth-redis</artifactId> <version>${version.ddth-redis}</version> <optional>true</optional> </dependency> <dependency> <groupId>com.github.ddth</groupId> <artifactId>ddth-commons</artifactId> <version>${version.ddth-commons}</version> <optional>true</optional> </dependency> </dependencies> <build> <plugins> <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>${version.java}</source> <target>${version.java}</target> </configuration> </plugin> --> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <!-- <Bundle-Activator></Bundle-Activator> --> <Export-Package>com.github.ddth.cacheadapter,com.github.ddth.cacheadapter.guava,com.github.ddth.cacheadapter.redis,com.github.ddth.cacheadapter.localremote,com.github.ddth.cacheadapter.threadlocal</Export-Package> <Import-Package>com.google.common.*;version="${version.guava}",*</Import-Package> <!-- <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency> <Embed-Transitive>false</Embed-Transitive> <Embed-Directory>lib</Embed-Directory> --> </instructions> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <id>distro-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <descriptors> <descriptor>assembly/ddth-cache-adapter-withdeps.xml</descriptor> </descriptors> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>