|
|
|
<?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>
|
|
|
|
<groupId>com.hnac.hzims</groupId>
|
|
|
|
<artifactId>hzims-service</artifactId>
|
|
|
|
<version>4.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>hzims-alarm</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<spring-boot.version>2.6.13</spring-boot.version>
|
|
|
|
<swagger-bootstrap-ui.version>1.9.6</swagger-bootstrap-ui.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springblade</groupId>
|
|
|
|
<artifactId>blade-common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springblade</groupId>
|
|
|
|
<artifactId>blade-core-boot</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springblade</groupId>
|
|
|
|
<artifactId>blade-starter-redis</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springblade</groupId>
|
|
|
|
<artifactId>blade-starter-redis</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.lettuce</groupId>
|
|
|
|
<artifactId>lettuce-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
<artifactId>jedis</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springblade</groupId>
|
|
|
|
<artifactId>blade-starter-swagger</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springblade</groupId>
|
|
|
|
<artifactId>blade-core-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springblade</groupId>
|
|
|
|
<artifactId>blade-core-auto</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- spring-boot-websocket start -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<!--WebSocket核心依赖包-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.java-websocket</groupId>
|
|
|
|
<artifactId>Java-WebSocket</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--生成代码-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- velocity 模板引擎, Mybatis Plus 代码生成器需要-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.velocity</groupId>
|
|
|
|
<artifactId>velocity-engine-core</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!--swagger-bootstrap-ui-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
|
<artifactId>swagger-bootstrap-ui</artifactId>
|
|
|
|
<version>${swagger-bootstrap-ui.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.hnac.hzims</groupId>
|
|
|
|
<artifactId>alarm-api</artifactId>
|
|
|
|
<version>4.0.0-SNAPSHOT</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.hnac.hzims</groupId>
|
|
|
|
<artifactId>equipment-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.hnac.hzims</groupId>
|
|
|
|
<artifactId>hzims-operational-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.hnac.hzims</groupId>
|
|
|
|
<artifactId>message-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>${project.name}-${project.version}</finalName>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
|
|
|
<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>
|
|
|
|
<buildArgs>
|
|
|
|
<JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
|
|
|
|
</buildArgs>
|
|
|
|
<skip>false</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|