2016-02-02 05:46:18 +00:00
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2016-07-12 06:15:58 +00:00
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<groupId>osc.git.eh3</groupId>
|
2017-08-03 05:18:52 +00:00
|
|
|
|
<artifactId>java-utils</artifactId>
|
2016-07-12 06:15:58 +00:00
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
|
2019-01-22 07:38:12 +00:00
|
|
|
|
<name>java-utils</name>
|
2016-07-12 06:15:58 +00:00
|
|
|
|
<url>http://maven.apache.org</url>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<spring.version>4.0.2.RELEASE</spring.version>
|
|
|
|
|
<servlet.version>2.5</servlet.version>
|
|
|
|
|
<mybatis.version>3.2.7</mybatis.version>
|
|
|
|
|
<mybatis.spring.version>1.1.1</mybatis.spring.version>
|
|
|
|
|
<mybatis.generator.core.version>1.3.2</mybatis.generator.core.version>
|
|
|
|
|
<file_encoding>utf-8</file_encoding>
|
2017-06-21 06:16:14 +00:00
|
|
|
|
<jdk.verion>1.8</jdk.verion>
|
2017-11-03 06:04:13 +00:00
|
|
|
|
<powermock.version>1.7.1</powermock.version>
|
2019-12-12 09:59:40 +00:00
|
|
|
|
<kotlin.version>1.3.61</kotlin.version>
|
2016-07-12 06:15:58 +00:00
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.jcraft</groupId>
|
|
|
|
|
<artifactId>jsch</artifactId>
|
|
|
|
|
<version>0.1.53</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
|
<artifactId>bcprov-jdk16</artifactId>
|
|
|
|
|
<version>1.46</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<version>4.11</version>
|
|
|
|
|
<!-- <scope>test</scope> -->
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
|
<version>1.1.3</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
|
<artifactId>shiro-core</artifactId>
|
|
|
|
|
<version>1.2.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- spring begin-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-beans</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-oxm</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-tx</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-aop</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-jms</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-expression</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- spring end-->
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
|
<version>1.6</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.sf.json-lib</groupId>
|
|
|
|
|
<artifactId>json-lib</artifactId>
|
|
|
|
|
<version>2.4</version>
|
|
|
|
|
<classifier>jdk15</classifier>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.caucho</groupId>
|
|
|
|
|
<artifactId>hessian</artifactId>
|
|
|
|
|
<version>4.0.38</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
|
<artifactId>jedis</artifactId>
|
|
|
|
|
<version>2.8.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
<version>5.1.38</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- servlet -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
<version>${servlet.version}</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- mybatis start -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
<artifactId>mybatis</artifactId>
|
|
|
|
|
<version>${mybatis.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
|
|
<version>${mybatis.spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mybatis.generator</groupId>
|
|
|
|
|
<artifactId>mybatis-generator-core</artifactId>
|
|
|
|
|
<version>${mybatis.generator.core.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>c3p0</groupId>
|
|
|
|
|
<artifactId>c3p0</artifactId>
|
|
|
|
|
<version>0.9.1.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- mybatis end -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
|
<version>4.5.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
|
<artifactId>cxf-rt-frontend-jaxws</artifactId>
|
|
|
|
|
<version>3.1.6</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
|
<artifactId>cxf-rt-transports-http</artifactId>
|
|
|
|
|
<version>3.1.6</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
|
<artifactId>activemq-all</artifactId>
|
|
|
|
|
<version>5.13.3</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.xbean</groupId>
|
|
|
|
|
<artifactId>xbean-spring</artifactId>
|
|
|
|
|
<version>4.5</version>
|
|
|
|
|
</dependency>
|
2016-11-08 09:06:59 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
|
<version>2.5</version>
|
|
|
|
|
</dependency>
|
2017-11-03 06:04:13 +00:00
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
|
<artifactId>powermock-module-junit4</artifactId>
|
|
|
|
|
<version>${powermock.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
|
<artifactId>powermock-api-mockito2</artifactId>
|
|
|
|
|
<version>${powermock.version}</version>
|
|
|
|
|
</dependency>
|
2018-01-16 10:22:27 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.reactivex</groupId>
|
|
|
|
|
<artifactId>rxjava</artifactId>
|
|
|
|
|
<version>1.3.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.reactivex.rxjava2</groupId>
|
|
|
|
|
<artifactId>rxjava</artifactId>
|
|
|
|
|
<version>2.1.8</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
<version>22.0</version>
|
|
|
|
|
</dependency>
|
2018-04-04 09:00:29 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jodd</groupId>
|
|
|
|
|
<artifactId>jodd-props</artifactId>
|
|
|
|
|
<version>3.6.1</version>
|
|
|
|
|
</dependency>
|
2019-12-12 09:59:40 +00:00
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>cn.ceres.did</groupId>-->
|
|
|
|
|
<!-- <artifactId>did-sdk</artifactId>-->
|
|
|
|
|
<!-- <version>1.0-SNAPSHOT</version>-->
|
|
|
|
|
<!-- </dependency>-->
|
2019-01-22 07:38:12 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.enncloud.ceres</groupId>
|
|
|
|
|
<artifactId>ceres</artifactId>
|
|
|
|
|
<version>1.1.0-SNAPSHOT</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<artifactId>kotlin-test</artifactId>
|
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2019-01-22 09:31:07 +00:00
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.rabbitmq/amqp-client -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.rabbitmq</groupId>
|
|
|
|
|
<artifactId>amqp-client</artifactId>
|
|
|
|
|
<version>4.0.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2016-07-12 06:15:58 +00:00
|
|
|
|
</dependencies>
|
|
|
|
|
<build>
|
2017-08-03 05:18:52 +00:00
|
|
|
|
<finalName>java-utils</finalName>
|
2016-07-12 06:15:58 +00:00
|
|
|
|
<pluginManagement>
|
|
|
|
|
<plugins>
|
|
|
|
|
<!-- mybatis-generator 插件; Run AS——>Maven Build… ——>在Goals框中输入:mybatis-generator:generate -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.mybatis.generator</groupId>
|
|
|
|
|
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
|
|
|
|
<version>1.3.2</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<verbose>true</verbose>
|
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
|
</configuration>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
<version>5.1.38</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<!-- 指定JDK编译版本 -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<configuration>
|
2017-06-21 06:16:14 +00:00
|
|
|
|
<source>${jdk.verion}</source>
|
|
|
|
|
<target>${jdk.verion}</target>
|
2016-07-12 06:15:58 +00:00
|
|
|
|
<encoding>${file_encoding}</encoding>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<!-- jetty 服务器; Maven build... -> jetty:run -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
|
|
|
<version>8.1.15.v20140411</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<webApp>
|
|
|
|
|
<contextPath>/usefull-code</contextPath>
|
|
|
|
|
</webApp>
|
|
|
|
|
<stopKey>exit</stopKey>
|
|
|
|
|
<stopPort>9090</stopPort>
|
|
|
|
|
<scanIntervalSeconds>1</scanIntervalSeconds>
|
|
|
|
|
<connectors>
|
|
|
|
|
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
|
|
|
|
|
<port>8080</port>
|
|
|
|
|
<maxIdleTime>60000</maxIdleTime>
|
|
|
|
|
</connector>
|
|
|
|
|
</connectors>
|
|
|
|
|
<requestLog implementation="org.eclipse.jetty.server.NCSARequestLog">
|
|
|
|
|
<filename>target/access.log</filename>
|
|
|
|
|
<retainDays>90</retainDays>
|
|
|
|
|
<append>false</append>
|
|
|
|
|
<extended>false</extended>
|
|
|
|
|
<logTimeZone>GMT+8:00</logTimeZone>
|
|
|
|
|
</requestLog>
|
|
|
|
|
<!-- <systemProperties> <systemProperty> <name>productionMode</name>
|
|
|
|
|
<value>${productionMode}</value> </systemProperty> </systemProperties> -->
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!-- 生成javadoc文档包的插件 -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
|
<version>2.10.2</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<aggregate>true</aggregate>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>jar</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!-- 生成sources源码包的插件 -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
|
<version>2.1.2</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>attach-sources</id>
|
|
|
|
|
<phase>verify</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</pluginManagement>
|
2019-01-22 07:38:12 +00:00
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>compile</id>
|
|
|
|
|
<phase>compile</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>compile</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>test-compile</id>
|
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>test-compile</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
<configuration>
|
|
|
|
|
<jvmTarget>1.8</jvmTarget>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>compile</id>
|
|
|
|
|
<phase>compile</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>compile</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>testCompile</id>
|
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
2016-07-12 06:15:58 +00:00
|
|
|
|
<defaultGoal>compile</defaultGoal>
|
|
|
|
|
</build>
|
2016-02-02 05:46:18 +00:00
|
|
|
|
</project>
|