You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
159 lines
5.3 KiB
159 lines
5.3 KiB
5 years ago
|
<?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>xyz.wbsite</groupId>
|
||
|
<artifactId>nginx-admin</artifactId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
|
||
|
<groupId>xyz.wbsite</groupId>
|
||
|
<artifactId>admin</artifactId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
<packaging>jar</packaging>
|
||
|
|
||
|
<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>spring-milestones</id>
|
||
|
<name>Spring Milestones</name>
|
||
|
<url>https://repo.spring.io/milestone</url>
|
||
|
</repository>
|
||
|
</repositories>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>xyz.wbsite</groupId>
|
||
|
<artifactId>wsqlite</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.mybatis.spring.boot</groupId>
|
||
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>commons-io</groupId>
|
||
|
<artifactId>commons-io</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- mybatis 分页插件 -->
|
||
|
<dependency>
|
||
|
<groupId>com.github.pagehelper</groupId>
|
||
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- freemarker -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
||
|
</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>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-security</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>net.sf.dozer</groupId>
|
||
|
<artifactId>dozer</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>mysql</groupId>
|
||
|
<artifactId>mysql-connector-java</artifactId>
|
||
|
<scope>runtime</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>**/mpr/*.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>
|