|
|
<?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"
|
|
|
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.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
<version>2.1.2.RELEASE</version>
|
|
|
<relativePath/>
|
|
|
</parent>
|
|
|
<groupId>xyz.wbsite</groupId>
|
|
|
<artifactId>nginx-admin</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
<packaging>jar</packaging>
|
|
|
<!--<packaging>war</packaging>--><!--需要打包成war时放开-->
|
|
|
<name>nginx-admin</name>
|
|
|
<description>project for Spring Boot</description>
|
|
|
|
|
|
<properties>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
<java.version>1.8</java.version>
|
|
|
<maven.test.skip>true</maven.test.skip>
|
|
|
</properties>
|
|
|
|
|
|
<repositories>
|
|
|
<!-- 将中央仓库地址指向阿里云聚合仓库,提高下载速度 -->
|
|
|
<repository>
|
|
|
<id>central</id>
|
|
|
<name>Central Repository</name>
|
|
|
<layout>default</layout>
|
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
|
</repository>
|
|
|
</repositories>
|
|
|
<pluginRepositories>
|
|
|
<!-- 将插件的仓库指向阿里云聚合仓库,解决低版本maven下载插件异常或提高下载速度 -->
|
|
|
<pluginRepository>
|
|
|
<id>central</id>
|
|
|
<name>Central Repository</name>
|
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
|
<layout>default</layout>
|
|
|
</pluginRepository>
|
|
|
</pluginRepositories>
|
|
|
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- mybatis -->
|
|
|
<dependency>
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
<version>1.3.2</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- mybatis 分页插件 -->
|
|
|
<dependency>
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
<version>1.2.5</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- freemarker模板框架 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 安全框架 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 阿里巴巴旗下关于Excel处理类,性能优化可处理超大数据量 -->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
<version>2.2.6</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Java Bean映射工具,已集成中MapperUtil工具类中 -->
|
|
|
<dependency>
|
|
|
<groupId>net.sf.dozer</groupId>
|
|
|
<artifactId>dozer</artifactId>
|
|
|
<version>5.5.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.xerial</groupId>
|
|
|
<artifactId>sqlite-jdbc</artifactId>
|
|
|
<version>3.21.0.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
<scope>provided</scope>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<!-- 项目名称 -->
|
|
|
<finalName>${artifactId}-${version}</finalName>
|
|
|
<!-- 默认的主代码目录 -->
|
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
|
<!-- 默认的测试代码目录 -->
|
|
|
<testSourceDirectory>src/test/java</testSourceDirectory>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<directory>src/main/resources</directory>
|
|
|
</resource>
|
|
|
<!-- 包含java下的xml文件 -->
|
|
|
<resource>
|
|
|
<directory>src/main/java</directory>
|
|
|
<includes>
|
|
|
<include>**/*Mapper.xml</include>
|
|
|
</includes>
|
|
|
</resource>
|
|
|
<!-- 包含lib中所有jar包 -->
|
|
|
<resource>
|
|
|
<directory>${basedir}/src/main/resources/lib</directory>
|
|
|
<targetPath>BOOT-INF/lib/</targetPath>
|
|
|
<includes>
|
|
|
<include>*.jar</include>
|
|
|
</includes>
|
|
|
</resource>
|
|
|
<!-- 启动bat -->
|
|
|
<resource>
|
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
|
<includes>
|
|
|
<include>*.bat</include>
|
|
|
</includes>
|
|
|
<targetPath>${basedir}/target</targetPath>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<webResources>
|
|
|
<resource>
|
|
|
<directory>${project.basedir}/src/main/resources/lib</directory>
|
|
|
<targetPath>WEB-INF/lib</targetPath>
|
|
|
<includes>
|
|
|
<include>*.jar</include>
|
|
|
</includes>
|
|
|
</resource>
|
|
|
</webResources>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</project>
|