| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <?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-speaker</artifactId>
- <description>
- zd-speaker 喇叭系统
- </description>
- <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>
- <!-- SpringBoot Actuator -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </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>
- <!-- zd Common redis -->
- <dependency>
- <groupId>com.zd</groupId>
- <artifactId>zd-common-redis</artifactId>
- </dependency>
- <!-- zd okhttp -->
- <dependency>
- <groupId>com.squareup.okhttp3</groupId>
- <artifactId>okhttp</artifactId>
- <version>3.10.0</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>
|