| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <?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>aivfo-tl-control</artifactId>
- <groupId>com.aivfo</groupId>
- <version>2.2.4.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>aivfo-tl-control-lanucher</artifactId>
- <dependencies>
- <!-- ==========serviceImpl、controller========= -->
- <dependency>
- <groupId>com.aivfo</groupId>
- <artifactId>aivfo-tl-control-controller</artifactId>
- </dependency>
- <!-- ==========serviceImpl、controller========= -->
- <dependency>
- <groupId>com.aivfo</groupId>
- <artifactId>aivfo-nacos-spring-boot-starter</artifactId>
- </dependency>
- <!-- 操作日志 Kafka 发送端:KafkaOperationLogSender 自动装配(@ConditionalOnBean ProducerNormal) -->
- <dependency>
- <groupId>com.aivfo</groupId>
- <artifactId>aivfo-oplog-client</artifactId>
- </dependency>
- </dependencies>
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <excludes>
- <exclude>application-dev.properties</exclude>
- <exclude>application-hospital.properties</exclude>
- <exclude>application-test.properties</exclude>
- </excludes>
- </resource>
- </resources>
- <!-- 其他构建配置 -->
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>2.2.7.RELEASE</version>
- <configuration>
- <skip>false</skip>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <!-- 使用assembly插件打成zip -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <!-- 指定assembly配置文件路径 -->
- <descriptors><descriptor>src/assembly/assembly.xml</descriptor></descriptors>
- <finalName>${project.name}</finalName>
- </configuration>
- <executions>
- <execution>
- <!-- 在执行package打包时,执行assembly:single -->
- <phase>package</phase>
- <goals>
- <!-- 在执行assembly一次 -->
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>buildnumber-maven-plugin</artifactId>
- <version>1.4</version>
- <executions>
- <execution>
- <phase>validate</phase>
- <goals>
- <goal>create-timestamp</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>buildnumber-maven-plugin</artifactId>
- <version>1.4</version>
- <configuration>
- <timestampFormat>yyyyMMddHHmm</timestampFormat>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>create-timestamp</goal>
- </goals>
- </execution>
- </executions>
- <inherited>false</inherited>
- </plugin>
- </plugins>
- </build>
- </project>
|