123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>com.yushu</groupId>
- <artifactId>iot</artifactId>
- <version>${revision}</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>iot-admin-server</artifactId>
- <packaging>jar</packaging>
- <name>iot-admin-server</name>
- <description>管理后台 Server,提供其 API 接口</description>
- <dependencies>
- <!-- Web 相关 -->
- <dependency>
- <groupId>com.yushu</groupId>
- <artifactId>iot-spring-boot-starter-web</artifactId>
- </dependency>
- <!-- spring boot 配置所需依赖 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-configuration-processor</artifactId>
- <optional>true</optional>
- </dependency>
- <!-- DB 相关 -->
- <dependency>
- <groupId>com.yushu</groupId>
- <artifactId>iot-spring-boot-starter-mybatis</artifactId>
- </dependency>
- <!-- <dependency>-->
- <!-- <groupId>com.yushu</groupId>-->
- <!-- <artifactId>iot-spring-boot-starter-redis</artifactId>-->
- <!-- </dependency>-->
- <!-- 监控相关 -->
- <!-- <dependency>-->
- <!-- <groupId>com.yushu</groupId>-->
- <!-- <artifactId>iot-spring-boot-starter-monitor</artifactId>-->
- <!-- </dependency>-->
- <dependency>
- <groupId>de.codecentric</groupId>
- <artifactId>spring-boot-admin-starter-server</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
- </dependency>
- <!-- Test 测试相关 -->
- <dependency>
- <groupId>com.yushu</groupId>
- <artifactId>iot-spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- 工具类相关 -->
- <dependency>
- <groupId>com.yushu</groupId>
- <artifactId>iot-spring-boot-starter-excel</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.velocity</groupId>
- <artifactId>velocity-engine-core</artifactId>
- </dependency>
- <dependency>
- <groupId>cn.smallbun.screw</groupId>
- <artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
- </dependency>
- <!-- 工具类相关 -->
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
- <!-- TODO 后续看情况,进行调整 -->
- <dependency>
- <groupId>com.xkcoding.justauth</groupId>
- <artifactId>justauth-spring-boot-starter</artifactId>
- <version>1.4.0</version>
- </dependency>
- </dependencies>
- <build>
- <!-- 设置构建的 jar 包名 -->
- <finalName>${project.artifactId}</finalName>
- <plugins>
- <!-- 打包 -->
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>${spring-boot-maven-plugin.version}</version>
- <configuration>
- <fork>true</fork>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|