| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- <?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>
- <artifactId>wuye-gateway</artifactId>
- <groupId>com.cyzh</groupId>
- <version>1.0</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>wuye-device-gateway</artifactId>
- <packaging>jar</packaging>
- <dependencies>
- <!-- lombok -->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
- <!-- FastDfs 客户端 -->
- <dependency>
- <groupId>com.github.tobato</groupId>
- <artifactId>fastdfs-client</artifactId>
- </dependency>
- <!-- Apache工具组件 -->
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- </dependency>
- <!-- ===================================== Spring Boot JAR ===================================== -->
- <!-- 测试用例 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- </dependency>
- <!-- ===================================== Modular JAR ===================================== -->
- <!-- core -->
- <dependency>
- <groupId>com.cyzh</groupId>
- <artifactId>wuye-common-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <!-- 权限组件 -->
- <dependency>
- <groupId>com.cyzh</groupId>
- <artifactId>wuye-common-security</artifactId>
- <version>${project.version}</version>
- </dependency>
- <!-- 设备模块 -->
- <dependency>
- <groupId>com.cyzh</groupId>
- <artifactId>wuye-device-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <!-- 统计模块 -->
- <dependency>
- <groupId>com.cyzh</groupId>
- <artifactId>wuye-statistics-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <!-- 广告模块 -->
- <dependency>
- <groupId>com.cyzh</groupId>
- <artifactId>wuye-ad-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <!-- 物业模块接口 -->
- <dependency>
- <groupId>com.cyzh</groupId>
- <artifactId>wuye-estate-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <!-- Iot物联网模块接口 -->
- <dependency>
- <groupId>com.cyzh</groupId>
- <artifactId>wuye-iot-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <!-- Iot物联网模块接口 -->
- <dependency>
- <groupId>com.cyzh</groupId>
- <artifactId>wuye-third-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <!-- 视频云模块接口 -->
- <dependency>
- <groupId>com.cyzh</groupId>
- <artifactId>wuye-video-cloud-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- </dependency>
- </dependencies>
- <build>
- <finalName>wuye-device-gateway</finalName>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>2.0.7.RELEASE</version>
- <configuration>
- <finalName>${project.build.finalName}</finalName>
- <layout>ZIP</layout>
- <includes>
- <include>
- <groupId>nothing</groupId>
- <artifactId>nothing</artifactId>
- </include>
- </includes>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <!-- Spring Boot 打包插件( 非“Web模块”请勿引入) -->
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <!--target/lib是依赖jar包的输出目录,根据自己喜好配置-->
- <outputDirectory>target/lib</outputDirectory>
- <excludeTransitive>false</excludeTransitive>
- <stripVersion>false</stripVersion>
- <includeScope>runtime</includeScope>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- </resources>
- <outputDirectory>${project.build.directory}/resources</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|