|
|
|
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
<modules>
|
|
|
|
|
<module>web</module>
|
|
|
|
|
<module>modules</module>
|
|
|
|
|
<module>modules/common</module>
|
|
|
|
|
<module>modules/filter</module>
|
|
|
|
|
</modules>
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
<version>2.3.1.RELEASE</version>
|
|
|
|
|
<relativePath/>
|
|
|
|
|
</parent>
|
|
|
|
|
<groupId>com.leaper</groupId>
|
|
|
|
|
<artifactId>springbootstart</artifactId>
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
<name>duoji</name>
|
|
|
|
|
<description>堆垛机随行监控系统</description>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
<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-data-redis</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--json工具 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
<version>1.2.47</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
<profile>
|
|
|
|
|
<!-- 测试环境 -->
|
|
|
|
|
<id>dev</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<profileActive>dev</profileActive>
|
|
|
|
|
</properties>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<!-- 测试环境 -->
|
|
|
|
|
<id>test</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<profileActive>test</profileActive>
|
|
|
|
|
</properties>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<!-- 生产环境 -->
|
|
|
|
|
<id>prod</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<profileActive>prod</profileActive>
|
|
|
|
|
</properties>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>application*.yml</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</resource>
|
|
|
|
|
<resource>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>bootstrap.yml</include>
|
|
|
|
|
<include>application.yml</include>
|
|
|
|
|
<include>application-${profileActive}.yml</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|