2019-04-20 05:10:59 +00:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-10-10 08:18:22 +00:00
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2019-04-20 05:10:59 +00:00
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<version>2.1.7.RELEASE</version>
|
2019-04-20 05:10:59 +00:00
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
|
</parent>
|
|
|
|
|
<groupId>com.songpeng</groupId>
|
|
|
|
|
<artifactId>sparchetype</artifactId>
|
2020-01-16 00:30:12 +00:00
|
|
|
|
<version>1.0.0</version>
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<name>sparchetype</name>
|
2019-04-20 05:10:59 +00:00
|
|
|
|
<description>maven 骨架生成所需项目</description>
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<java.version>1.8</java.version>
|
2020-01-16 00:30:12 +00:00
|
|
|
|
<!-- docker 前缀名,通常用在上传镜像 -->
|
|
|
|
|
<docker.image.prefix>sparchetype</docker.image.prefix>
|
2019-04-20 05:10:59 +00:00
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2019-04-20 05:10:59 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2019-05-23 09:45:41 +00:00
|
|
|
|
|
2019-05-11 07:10:54 +00:00
|
|
|
|
<dependency>
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
<version>3.1.2</version>
|
2019-05-11 07:10:54 +00:00
|
|
|
|
</dependency>
|
2019-06-15 09:52:43 +00:00
|
|
|
|
|
2019-05-11 07:10:54 +00:00
|
|
|
|
<dependency>
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
|
|
|
<version>1.1.9</version>
|
2019-05-11 07:10:54 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2019-05-22 08:17:10 +00:00
|
|
|
|
<dependency>
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
<scope>runtime</scope>
|
2019-05-22 08:17:10 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<!--解决默认的情况下,在mybatis里面不支持java8的时间、日期-->
|
2019-05-22 08:17:10 +00:00
|
|
|
|
<dependency>
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
<artifactId>mybatis-typehandlers-jsr310</artifactId>
|
|
|
|
|
<version>1.0.1</version>
|
2019-05-22 08:17:10 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<!--渲染模板:freemarker启动器的坐标-->
|
2019-05-22 08:17:10 +00:00
|
|
|
|
<dependency>
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
2019-05-22 08:17:10 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<!--代码生成器-->
|
2019-05-22 08:17:10 +00:00
|
|
|
|
<dependency>
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|
|
|
|
<version>3.2.0</version>
|
2019-05-22 08:17:10 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<!--解决java8的时间、日期序列化问题-->
|
2019-05-22 08:17:10 +00:00
|
|
|
|
<dependency>
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
|
|
|
<artifactId>jackson-module-parameter-names</artifactId>
|
2019-05-22 08:17:10 +00:00
|
|
|
|
</dependency>
|
2019-06-22 06:08:13 +00:00
|
|
|
|
<dependency>
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
|
<artifactId>jackson-datatype-jdk8</artifactId>
|
2019-06-22 06:08:13 +00:00
|
|
|
|
</dependency>
|
2019-05-22 08:17:10 +00:00
|
|
|
|
<dependency>
|
2019-10-10 08:18:22 +00:00
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
2019-05-22 08:17:10 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2019-10-16 10:00:45 +00:00
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-web -->
|
2019-10-15 02:40:24 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
|
<artifactId>shiro-web</artifactId>
|
2019-10-16 10:00:45 +00:00
|
|
|
|
<version>1.4.0</version>
|
2019-10-15 02:40:24 +00:00
|
|
|
|
</dependency>
|
2019-10-16 10:00:45 +00:00
|
|
|
|
|
2019-10-15 02:40:24 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
|
<artifactId>shiro-spring</artifactId>
|
2019-10-16 10:00:45 +00:00
|
|
|
|
<version>1.4.0</version>
|
2019-10-15 02:40:24 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2019-10-17 09:50:21 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
|
<artifactId>shiro-ehcache</artifactId>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>net.sf.ehcache</groupId>
|
|
|
|
|
<artifactId>ehcache-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
<version>1.4.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2019-10-16 10:00:45 +00:00
|
|
|
|
<!-- https://mvnrepository.com/artifact/net.mingsoft/shiro-freemarker-tags -->
|
2019-10-15 02:40:24 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.mingsoft</groupId>
|
|
|
|
|
<artifactId>shiro-freemarker-tags</artifactId>
|
2019-10-16 10:00:45 +00:00
|
|
|
|
<version>1.0.1</version>
|
2019-10-15 02:40:24 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2019-10-17 09:50:21 +00:00
|
|
|
|
<!-- ehchache -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.sf.ehcache</groupId>
|
|
|
|
|
<artifactId>ehcache</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- ehchache -->
|
|
|
|
|
|
|
|
|
|
<!-- 添加redis支持-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
|
<artifactId>jedis</artifactId>
|
|
|
|
|
<version>2.9.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2019-10-15 02:40:24 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
|
<version>3.6</version>
|
|
|
|
|
</dependency>
|
2020-01-16 00:30:12 +00:00
|
|
|
|
|
|
|
|
|
<!--logStash-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.logstash.logback</groupId>
|
|
|
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
|
|
|
|
<version>5.3</version>
|
|
|
|
|
</dependency>
|
2020-02-25 06:35:23 +00:00
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
|
|
|
<version>2.9.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
|
|
|
<version>2.9.2</version>
|
|
|
|
|
</dependency>
|
2019-04-20 05:10:59 +00:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
</plugin>
|
2020-01-16 00:30:12 +00:00
|
|
|
|
|
|
|
|
|
<!-- Docker 插件 -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<!-- 三坐标 -->
|
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
|
<version>1.1.1</version>
|
|
|
|
|
<!-- 配置信息 -->
|
|
|
|
|
<configuration>
|
|
|
|
|
<!-- 镜像名称 -->
|
|
|
|
|
<imageName>${docker.image.prefix}/${project.artifactId}:${project.version}</imageName>
|
|
|
|
|
<!-- Dockerfile 文件的位置 -->
|
|
|
|
|
<dockerDirectory>src/main/docker</dockerDirectory>
|
|
|
|
|
<!-- 文件资源 -->
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<targetPath>/</targetPath>
|
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
|
<include>${project.build.finalName}.jar</include>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2019-04-20 05:10:59 +00:00
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</project>
|