481 lines
18 KiB
XML
481 lines
18 KiB
XML
<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>
|
||
<groupId>io.github.ehlxr</groupId>
|
||
<artifactId>budd</artifactId>
|
||
<packaging>war</packaging>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
|
||
<name>budd</name>
|
||
<url>http://maven.apache.org</url>
|
||
|
||
<properties>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
<!--目标编译的 Java 版本可以通过以下属性指定,不用配置 maven-compiler-plugin 插件-->
|
||
<maven.compiler.source>1.8</maven.compiler.source>
|
||
<maven.compiler.target>1.8</maven.compiler.target>
|
||
|
||
<spring.version>5.2.6.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.4.0</mybatis.generator.core.version>
|
||
<file_encoding>utf-8</file_encoding>
|
||
<jdk.verion>1.8</jdk.verion>
|
||
<powermock.version>1.7.1</powermock.version>
|
||
<kotlin.version>1.3.61</kotlin.version>
|
||
</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.13.1</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.4.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>8.0.16</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>
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
<version>2.5</version>
|
||
</dependency>
|
||
|
||
<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>
|
||
<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>28.2-jre</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.jodd</groupId>
|
||
<artifactId>jodd-props</artifactId>
|
||
<version>3.6.1</version>
|
||
</dependency>
|
||
<!--<dependency>-->
|
||
<!-- <groupId>cn.ceres.did</groupId>-->
|
||
<!-- <artifactId>did-sdk</artifactId>-->
|
||
<!-- <version>1.0-SNAPSHOT</version>-->
|
||
<!--</dependency>-->
|
||
<!--<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>
|
||
|
||
<dependency>
|
||
<groupId>com.rabbitmq</groupId>
|
||
<artifactId>amqp-client</artifactId>
|
||
<version>4.8.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.hbase</groupId>
|
||
<artifactId>hbase-client</artifactId>
|
||
<version>1.3.5</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-annotations</artifactId>
|
||
<version>2.10.3</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-databind</artifactId>
|
||
<version>2.10.3</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp</artifactId>
|
||
<version>3.14.7</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>io.vavr</groupId>
|
||
<artifactId>vavr</artifactId>
|
||
<version>0.10.3</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>pl.touk</groupId>
|
||
<artifactId>throwing-function</artifactId>
|
||
<version>1.3</version>
|
||
</dependency>
|
||
</dependencies>
|
||
<build>
|
||
<finalName>budd</finalName>
|
||
<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>${mybatis.generator.core.version}</version>
|
||
<configuration>
|
||
<verbose>true</verbose>
|
||
<overwrite>true</overwrite>
|
||
</configuration>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<version>8.0.16</version>
|
||
</dependency>
|
||
</dependencies>
|
||
</plugin>
|
||
|
||
<!-- 指定JDK编译版本 -->
|
||
<!--<plugin>-->
|
||
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
||
<!-- <artifactId>maven-compiler-plugin</artifactId>-->
|
||
<!-- <configuration>-->
|
||
<!-- <source>${jdk.verion}</source>-->
|
||
<!-- <target>${jdk.verion}</target>-->
|
||
<!-- <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>
|
||
<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>
|
||
<defaultGoal>compile</defaultGoal>
|
||
</build>
|
||
</project>
|