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.
75 lines
2.9 KiB
75 lines
2.9 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"> |
|
<modelVersion>4.0.0</modelVersion> |
|
<parent> |
|
<groupId>com.hnac.hzims</groupId> |
|
<artifactId>hzims-service</artifactId> |
|
<version>4.0.0-SNAPSHOT</version> |
|
</parent> |
|
|
|
<artifactId>hzims-ecological</artifactId> |
|
|
|
<properties> |
|
<maven.compiler.source>8</maven.compiler.source> |
|
<maven.compiler.target>8</maven.compiler.target> |
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
</properties> |
|
|
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>com.baomidou</groupId> |
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.hnac.hzinfo.data</groupId> |
|
<artifactId>hzinfo-data-sdk</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.hnac.hzims</groupId> |
|
<artifactId>hzims-ecological-api</artifactId> |
|
<version>${hzims.project.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.hnac.hzims</groupId> |
|
<artifactId>hzims-operational-api</artifactId> |
|
<version>${hzims.project.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.hnac.hzims</groupId> |
|
<artifactId>message-alarm-api</artifactId> |
|
<version>${hzims.project.version}</version> |
|
</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> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
<configuration> |
|
<!--设置为true,以便把本地的system的jar也包括进来--> |
|
<includeSystemScope>true</includeSystemScope> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</project> |