2023-03-21 15:11:58 +08:00
|
|
|
<?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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<groupId>com.kening.platform</groupId>
|
|
|
|
<artifactId>kn-vordm</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<springblade.project.version>3.2.2.RELEASE</springblade.project.version>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<revision>1.0.0-SNAPSHOT</revision>
|
|
|
|
<kn.auth.sys.version>1.0.4</kn.auth.sys.version>
|
|
|
|
<maven.plugin.version>3.8.1</maven.plugin.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<spring.boot.version>2.3.12.RELEASE</spring.boot.version>
|
|
|
|
<spring.cloud.version>Hoxton.SR12</spring.cloud.version>
|
|
|
|
<spring.platform.version>Cairo-SR8</spring.platform.version>
|
|
|
|
<!-- docker -->
|
|
|
|
<docker.registry.url>192.168.31.14:8082</docker.registry.url>
|
|
|
|
<dockerfile.skip>true</dockerfile.skip>
|
|
|
|
<docker.username>admin</docker.username>
|
|
|
|
<docker.password>Harbor12345</docker.password>
|
|
|
|
<docker.namespace>iot</docker.namespace>
|
|
|
|
<docker.plugin.version>1.4.13</docker.plugin.version>
|
2023-05-13 18:04:22 +08:00
|
|
|
<hutool.version>5.0.0</hutool.version>
|
2023-04-06 17:30:04 +08:00
|
|
|
<easyexcel.version>3.2.1</easyexcel.version>
|
2023-03-21 15:11:58 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
<module>kn-common</module>
|
|
|
|
<module>kn-launcher</module>
|
|
|
|
<module>kn-service</module>
|
|
|
|
<module>kn-service-api</module>
|
2023-04-06 09:36:50 +08:00
|
|
|
<module>kn-sys-manager</module>
|
2023-03-21 15:11:58 +08:00
|
|
|
</modules>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springblade.platform</groupId>
|
|
|
|
<artifactId>blade-bom</artifactId>
|
|
|
|
<version>${springblade.project.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
<version>${spring.cloud.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.spring.platform</groupId>
|
|
|
|
<artifactId>platform-bom</artifactId>
|
|
|
|
<version>${spring.platform.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.kening.platform</groupId>
|
|
|
|
<artifactId>kn-launcher</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
2023-04-06 17:30:04 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
|
<version>${easyexcel.version}</version>
|
|
|
|
</dependency>
|
2023-04-06 09:36:50 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.kening.platform</groupId>
|
|
|
|
<artifactId>kn-common</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
2023-03-21 15:11:58 +08:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>${project.name}</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
|
|
<version>1.1.0</version>
|
|
|
|
<configuration>
|
|
|
|
<updatePomFile>true</updatePomFile>
|
|
|
|
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
|
|
|
<pomElements>
|
|
|
|
<dependencies>expand</dependencies>
|
|
|
|
</pomElements>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>flatten</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>flatten</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>flatten.clean</id>
|
|
|
|
<phase>clean</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<fork>true</fork>
|
|
|
|
<finalName>${project.build.finalName}</finalName>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
|
|
|
<version>${docker.plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<username>${docker.username}</username>
|
|
|
|
<password>${docker.password}</password>
|
|
|
|
<repository>${docker.registry.url}/${docker.namespace}/${project.artifactId}</repository>
|
|
|
|
<tag>${project.version}</tag>
|
|
|
|
<useMavenSettingsForAuth>true</useMavenSettingsForAuth>
|
|
|
|
</configuration>
|
|
|
|
<!--子服务添加如下配置,运行 mvn deploy 命令便会自动打包镜像-->
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default</id>
|
|
|
|
<goals>
|
|
|
|
<goal>build</goal>
|
|
|
|
<goal>push</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven.plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<compilerArgs>
|
|
|
|
<arg>-parameters</arg>
|
|
|
|
</compilerArgs>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>kening-release</id>
|
|
|
|
<name>Release Repository</name>
|
|
|
|
<url>http://47.92.168.204:8081/repository/maven-public/</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>kening-plugin</id>
|
|
|
|
<url>http://47.92.168.204:8081/repository/maven-public/</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|