You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
128 lines
4.8 KiB
128 lines
4.8 KiB
<?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-system-api</artifactId> |
|
</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>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>org.apache.httpcomponents</groupId> |
|
<artifactId>httpclient</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>redis.clients</groupId> |
|
<artifactId>jedis</artifactId> |
|
</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> |
|
<version>3.5.5</version> |
|
</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.xuxueli</groupId> |
|
<artifactId>xxl-job-core</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.eclipse.paho</groupId> |
|
<artifactId>org.eclipse.paho.client.mqttv3</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>
|
|
|