1 Star 0 Fork 0

fancypants/redis-cache

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 7.58 KB
一键复制 编辑 原始数据 按行查看 历史
fancypants 提交于 2017-05-04 18:29 +08:00 . Reimplement the redis pool config
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2015-2016 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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>org.mybatis</groupId>-->
<!--<artifactId>mybatis-parent</artifactId>-->
<!--<version>28</version>-->
<!--<relativePath />-->
<!--</parent>-->
<groupId>com.wxhxsoft.mybatis.caches</groupId>
<artifactId>mybatis-redis</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>mybatis-redis</name>
<description>Redis support for MyBatis Cache</description>
<!--<url>https://github.com/mybatis/redis-cache</url>-->
<!--<inceptionYear>2015</inceptionYear>-->
<!--<scm>-->
<!--<url>http://github.com/mybatis/redis-cache</url>-->
<!--<connection>scm:git:ssh://github.com/mybatis/redis-cache.git</connection>-->
<!--<developerConnection>scm:git:ssh://git@github.com/mybatis/redis-cache.git</developerConnection>-->
<!--<tag>HEAD</tag>-->
<!--</scm>-->
<!--<issueManagement>-->
<!--<system>GitHub Issue Management</system>-->
<!--<url>https://github.com/mybatis/redis-cache/issues</url>-->
<!--</issueManagement>-->
<!--<ciManagement>-->
<!--<system>Travis CI</system>-->
<!--<url>https://travis-ci.org/mybatis/redis-cache</url>-->
<!--</ciManagement>-->
<distributionManagement>
<repository>
<id>releases</id>
<url>http://nexus.youcsoft.cn/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<url>http://nexus.youcsoft.cn/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<properties>
<java-version>1.7</java-version>
<clirr.comparisonVersion>1.0.3</clirr.comparisonVersion>
<findbugs.onlyAnalyze>org.mybatis.caches.redis.*</findbugs.onlyAnalyze>
<gcu.product>Cache</gcu.product>
</properties>
<dependencies>
<!--
| Provided dependencies
-->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.4.4</version>
<scope>provided</scope>
</dependency>
<!--
| compile dependencies
-->
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
<scope>compile</scope>
</dependency>
<!--
| trick to fix javadoc generation
-->
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>transaction-api</artifactId>
<version>1.1</version>
<scope>provided</scope>
</dependency>
<!--
| test dependencies
-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.25</version>
<scope>test</scope>
</dependency>
</dependencies>
<!--<profiles>-->
<!--<profile>-->
<!--<id>noTest</id>-->
<!--<activation>-->
<!--<property>-->
<!--<name>noTest</name>-->
<!--<value>true</value>-->
<!--</property>-->
<!--</activation>-->
<!--<build>-->
<!--<plugins>-->
<!--<plugin>-->
<!--<groupId>org.apache.maven.plugins</groupId>-->
<!--<artifactId>maven-surefire-plugin</artifactId>-->
<!--<configuration>-->
<!--<skipTests>true</skipTests>-->
<!--</configuration>-->
<!--</plugin>-->
<!--</plugins>-->
<!--</build>-->
<!--</profile>-->
<!--</profiles>-->
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<!-- 资源根目录排除各环境的配置,防止在生成目录中多余其它目录 -->
<excludes>
<exclude>test/*</exclude>
<exclude>pro/*</exclude>
<exclude>dev/*</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources/${profiles.active}</directory>
</resource>
</resources>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>${java-version}</source>
<target>${java-version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
<configuration>
<includes>
<include>**/*Tests.java</include>
</includes>
<excludes>
<exclude>**/Abstract*.java</exclude>
</excludes>
<junitArtifactName>junit:junit</junitArtifactName>
<argLine>-Xmx512m</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>install</id>
<phase>install</phase>
<goals>
<goal>sources</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.26</version>
<configuration>
<webAppSourceDirectory>src/main/webapp</webAppSourceDirectory>
<scanIntervalSeconds>3</scanIntervalSeconds>
<contextPath>/</contextPath>
<connectors>
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>8088</port>
</connector>
</connectors>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<webResources>
<resource>
<filtering>true</filtering>
<directory>src/main/webapp</directory>
<includes>
<include>**/web.xml</include>
</includes>
</resource>
</webResources>
<warSourceDirectory>src/main/webapp</warSourceDirectory>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/fancypant/redis-cache.git
git@gitee.com:fancypant/redis-cache.git
fancypant
redis-cache
redis-cache
master

搜索帮助