| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?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>zd-modules</artifactId>
- <groupId>com.zd</groupId>
- <version>3.1.0</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>zd-forward</artifactId>
- <properties>
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- </properties>
- <dependencies>
- <!-- SpringCloud Alibaba Nacos -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
- </dependency>
- <!-- SpringCloud Alibaba Nacos Config -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
- </dependency>
- <!-- SpringCloud Alibaba Sentinel -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
- </dependency>
- <!-- SpringBoot Actuator -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- </dependency>
- <!-- Swagger UI -->
- <!-- <dependency>-->
- <!-- <groupId>io.springfox</groupId>-->
- <!-- <artifactId>springfox-swagger-ui</artifactId>-->
- <!-- <version>${swagger.fox.version}</version>-->
- <!-- </dependency>-->
- <!-- <!– zd Common Log –>-->
- <!-- <dependency>-->
- <!-- <groupId>com.zd</groupId>-->
- <!-- <artifactId>zd-common-log</artifactId>-->
- <!-- </dependency>-->
- <!-- zd Common Swagger -->
- <dependency>
- <groupId>com.zd</groupId>
- <artifactId>zd-common-swagger</artifactId>
- </dependency>
- <dependency>
- <groupId>com.zd</groupId>
- <artifactId>zd-common-security</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.junit.vintage</groupId>
- <artifactId>junit-vintage-engine</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-configuration-processor</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>com.zd</groupId>
- <artifactId>zd-common-mqtt</artifactId>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.bytedeco/ffmpeg-platform -->
- <dependency>
- <groupId>org.bytedeco</groupId>
- <artifactId>ffmpeg-platform</artifactId>
- <version>5.0-1.5.7</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.bytedeco/javacv -->
- <dependency>
- <groupId>org.bytedeco</groupId>
- <artifactId>javacv</artifactId>
- <version>1.5.7</version>
- </dependency>
- </dependencies>
- <build>
- <finalName>${project.artifactId}</finalName>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- 打包时跳过test插件,不运行test测试用例 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${maven-surefire-plugin.version}</version>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
- <!-- docker的maven插件 -->
- <!-- <plugin>-->
- <!-- <groupId>com.spotify</groupId>-->
- <!-- <artifactId>dockerfile-maven-plugin</artifactId>-->
- <!-- <version>${docker.maven.verion}</version>-->
- <!-- <executions>-->
- <!-- <!–执行 mvn package 时 自动构建docker镜像并推送到仓库 –>-->
- <!-- <execution>-->
- <!-- <id>default</id>-->
- <!-- <phase>package</phase>-->
- <!-- <goals>-->
- <!-- <goal>build</goal>-->
- <!-- <goal>push</goal>-->
- <!-- </goals>-->
- <!-- </execution>-->
- <!-- </executions>-->
- <!-- <configuration>-->
- <!-- <repository>${docker.registry}/${docker.namespace}/${project.artifactId}</repository>-->
- <!-- <tag>latest</tag>-->
- <!-- <!– 镜像服务器账号密码 –>-->
- <!-- <username>admin</username>-->
- <!-- <password>zd123456..</password>-->
- <!-- <!– 构建参数,指定jar包名称 –>-->
- <!-- <buildArgs>-->
- <!-- <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
- <!-- </buildArgs>-->
- <!-- </configuration>-->
- <!-- </plugin>-->
- </plugins>
- </build>
- </project>
|