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.
172 lines
6.9 KiB
172 lines
6.9 KiB
<?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">
|
|
<parent>
|
|
<version>1.2.0</version>
|
|
<groupId>com.iteaj</groupId>
|
|
<artifactId>iboot</artifactId>
|
|
</parent>
|
|
|
|
<name>iboot:bootstrap</name>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>bootstrap</artifactId>
|
|
<properties>
|
|
<iot.version>2.6.0</iot.version>
|
|
<!--当前项目的根目录, 用于代码生成器-->
|
|
<project.root.path>${project.basedir}</project.root.path>
|
|
</properties>
|
|
<dependencies>
|
|
<!-- iot 物联网框架jar依赖 start -->
|
|
<dependency>
|
|
<groupId>com.iteaj</groupId>
|
|
<artifactId>iot-boot-starter</artifactId>
|
|
<version>${iot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.iteaj</groupId>
|
|
<version>${iot.version}</version>
|
|
<artifactId>iot-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.iteaj</groupId>
|
|
<version>${iot.version}</version>
|
|
<artifactId>iot-modbus</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.iteaj</groupId>
|
|
<artifactId>iot-mqtt</artifactId>
|
|
<version>${iot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.iteaj</groupId>
|
|
<artifactId>iot-plc</artifactId>
|
|
<version>${iot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.iteaj</groupId>
|
|
<version>${iot.version}</version>
|
|
<artifactId>iot-serial</artifactId>
|
|
</dependency>
|
|
<!-- iot end -->
|
|
|
|
<dependency>
|
|
<groupId>org.hibernate.validator</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<version>4.3.0</version>
|
|
<groupId>cn.afterturn</groupId>
|
|
<artifactId>easypoi-spring-boot-starter</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
<artifactId>quartz</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- 非开发环境可注释掉 start -->
|
|
<dependency>
|
|
<groupId>com.iteaj</groupId>
|
|
<artifactId>generator</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>p6spy</groupId>
|
|
<artifactId>p6spy</artifactId>
|
|
<version>${p6spy.version}</version>
|
|
</dependency>
|
|
<!-- 非开发环境可注释掉 end -->
|
|
|
|
<!-- 缓存配置 -->
|
|
<!-- <dependency>-->
|
|
<!-- <artifactId>caffeine</artifactId>-->
|
|
<!-- <groupId>com.github.ben-manes.caffeine</groupId>-->
|
|
<!-- </dependency>-->
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
<filtering>false</filtering>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<includes>
|
|
<include>**/*.xml</include>
|
|
<include>**/*.yml</include>
|
|
<include>**/*.yaml</include>
|
|
<include>**/*.json</include>
|
|
<include>/META-INF/*</include>
|
|
<include>**/*.properties</include>
|
|
</includes>
|
|
<filtering>true</filtering>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<mainClass>com.iteaj.iboot.boot.IBootApplication</mainClass>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<version>2.2.1</version>
|
|
<groupId>com.github.shalousun</groupId>
|
|
<artifactId>smart-doc-maven-plugin</artifactId>
|
|
<configuration>
|
|
<!--指生成文档的使用的配置文件,配置文件放在自己的项目中-->
|
|
<configFile>./src/main/resources/smart-doc.json</configFile>
|
|
<!--指定项目名称-->
|
|
<projectName>测试</projectName>
|
|
<!--smart-doc实现自动分析依赖树加载第三方依赖的源码,如果一些框架依赖库加载不到导致报错,这时请使用excludes排除掉-->
|
|
<excludes>
|
|
<!--格式为:groupId:artifactId;参考如下-->
|
|
<exclude>com.alibaba:fastjson</exclude>
|
|
</excludes>
|
|
<!--自1.0.8版本开始,插件提供includes支持,配置了includes后插件会按照用户配置加载而不是自动加载,因此使用时需要注意-->
|
|
<!--smart-doc能自动分析依赖树加载所有依赖源码,原则上会影响文档构建效率,因此你可以使用includes来让插件加载你配置的组件-->
|
|
<includes>
|
|
<!--格式为:groupId:artifactId;参考如下-->
|
|
<include>com.alibaba:fastjson</include>
|
|
</includes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<!--如果不需要在执行编译时启动smart-doc,则将phase注释掉-->
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<!--smart-doc提供了html、openapi、markdown等goal,可按需配置-->
|
|
<goal>html</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|