2023-05-22 13:27:22 +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">
|
|
|
|
|
|
<parent>
|
2023-05-24 20:17:45 +08:00
|
|
|
|
<artifactId>cs-device</artifactId>
|
2023-05-22 13:27:22 +08:00
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
2023-05-24 20:17:45 +08:00
|
|
|
|
<artifactId>cs-device-boot</artifactId>
|
2023-05-22 13:27:22 +08:00
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
|
2023-05-24 20:17:45 +08:00
|
|
|
|
<name>cs-device-boot</name>
|
2023-05-22 13:27:22 +08:00
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
|
|
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>common-web</artifactId>
|
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>common-swagger</artifactId>
|
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
|
|
|
<version>2.0.5</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>common-db</artifactId>
|
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
|
</dependency>
|
2023-05-25 11:06:33 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>cs-device-api</artifactId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>common-oss</artifactId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>system-api</artifactId>
|
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
|
</dependency>
|
2023-06-20 08:55:46 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>pqs-influx</artifactId>
|
2024-08-06 13:40:57 +08:00
|
|
|
|
<version>1.0.0</version>
|
2023-06-20 08:55:46 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
|
|
<version>4.9.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
|
|
<artifactId>logging-interceptor</artifactId>
|
|
|
|
|
|
<version>4.9.0</version>
|
|
|
|
|
|
</dependency>
|
2023-06-27 14:24:21 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>user-api</artifactId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
|
</dependency>
|
2023-06-29 14:25:22 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
|
|
|
|
<version>3.5.1</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
|
<version>5.8.5</version>
|
|
|
|
|
|
</dependency>
|
2023-07-11 08:50:47 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>cs-warn-api</artifactId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
|
</dependency>
|
2023-08-21 16:15:10 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- zxing生成二维码 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
|
|
<artifactId>core</artifactId>
|
|
|
|
|
|
<version>3.3.3</version>
|
|
|
|
|
|
</dependency>
|
2023-09-11 09:02:49 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<artifactId>common-poi</artifactId>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
|
<artifactId>poi</artifactId>
|
|
|
|
|
|
<version>4.1.1</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
|
<artifactId>poi-scratchpad</artifactId>
|
|
|
|
|
|
<version>4.1.1</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
|
|
<version>4.1.1</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
|
<artifactId>poi-ooxml-schemas</artifactId>
|
|
|
|
|
|
<version>4.1.1</version>
|
|
|
|
|
|
</dependency>
|
2023-08-21 16:15:10 +08:00
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
|
|
<artifactId>javase</artifactId>
|
|
|
|
|
|
<version>3.3.3</version>
|
|
|
|
|
|
</dependency>
|
2023-09-19 14:44:08 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>cs-harmonic-api</artifactId>
|
|
|
|
|
|
<version>1.0.0</version>
|
2023-09-20 15:33:40 +08:00
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
|
<exclusions>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>cs-device-api</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
2023-09-19 14:44:08 +08:00
|
|
|
|
</dependency>
|
2023-09-20 15:33:40 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>cs-system-api</artifactId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
|
</dependency>
|
2024-09-24 16:40:32 +08:00
|
|
|
|
|
2024-09-09 10:06:04 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>access-api</artifactId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
|
</dependency>
|
2023-08-21 16:15:10 +08:00
|
|
|
|
|
2024-09-24 16:40:32 +08:00
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>common-device-biz</artifactId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
2023-05-22 13:27:22 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<finalName>csDeviceBoot</finalName>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
|
<version>3.8.0</version>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<compilerArgument>-Xlint:unchecked</compilerArgument>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
2023-06-25 15:30:07 +08:00
|
|
|
|
<version>1.2.2</version>
|
2023-05-22 13:27:22 +08:00
|
|
|
|
<executions>
|
|
|
|
|
|
<!--执行mvn package,即执行 mvn clean package docker:build-->
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<id>build-image</id>
|
|
|
|
|
|
<phase>${docker.operate}</phase>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>build</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<!--<serverId>36dockerHarbor</serverId>-->
|
|
|
|
|
|
<registryUrl>http://${docker.repostory}</registryUrl>
|
|
|
|
|
|
<!-- 镜像名称 -->
|
|
|
|
|
|
<imageName>${docker.repostory}/${docker.registry.name}/${project.artifactId}</imageName>
|
|
|
|
|
|
<!-- 指定标签 -->
|
|
|
|
|
|
<imageTags>
|
|
|
|
|
|
<imageTag>latest</imageTag>
|
|
|
|
|
|
</imageTags>
|
|
|
|
|
|
<!-- 指定远程 Docker API地址 -->
|
|
|
|
|
|
<dockerHost>${docker.url}</dockerHost>
|
|
|
|
|
|
<dockerDirectory>${basedir}/</dockerDirectory>
|
|
|
|
|
|
<!-- 复制 jar包到docker容器指定目录-->
|
|
|
|
|
|
<resources>
|
|
|
|
|
|
<resource>
|
|
|
|
|
|
<targetPath>/ROOT</targetPath>
|
|
|
|
|
|
<!-- 用于指定需要复制的根目录,${project.build.directory}表示target目录 -->
|
|
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
|
|
<!-- 用于指定需要复制的文件,${project.build.finalName}.jar就是打包后的target目录下的jar包名称 -->
|
|
|
|
|
|
<include>${project.build.finalName}.jar</include>
|
|
|
|
|
|
</resource>
|
|
|
|
|
|
</resources>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
</project>
|