107 lines
3.5 KiB
XML
107 lines
3.5 KiB
XML
<?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.ski</groupId>
|
||
<artifactId>ski-dashboard</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
</parent>
|
||
|
||
<artifactId>ski-dashboard-service</artifactId>
|
||
|
||
<properties>
|
||
<maven.compiler.source>21</maven.compiler.source>
|
||
<maven.compiler.target>21</maven.compiler.target>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
</properties>
|
||
|
||
<repositories>
|
||
<!-- ThingsBoard 官方仓库 -->
|
||
<repository>
|
||
<id>thingsboard</id>
|
||
<name>ThingsBoard Repository</name>
|
||
<url>https://repo.thingsboard.io/artifactory/libs-release-public</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>true</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
<!-- 阿里云镜像配置 -->
|
||
<repository>
|
||
<id>aliyunmaven</id>
|
||
<name>aliyunmaven</name>
|
||
<url>https://maven.aliyun.com/repository/public</url>
|
||
<layout>default</layout>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>true</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
</repositories>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>com.ski</groupId>
|
||
<artifactId>ski-dashboard-model</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
<scope>compile</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.ski</groupId>
|
||
<artifactId>ski-dashboard-common</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
<scope>compile</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.thingsboard</groupId>
|
||
<artifactId>rest-client</artifactId>
|
||
<version>4.2.1</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<pluginRepositories>
|
||
<pluginRepository>
|
||
<id>aliyunmaven</id>
|
||
<name>aliyunmaven</name>
|
||
<url>https://maven.aliyun.com/repository/public</url>
|
||
<layout>default</layout>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>true</enabled>
|
||
</snapshots>
|
||
</pluginRepository>
|
||
<pluginRepository>
|
||
<id>thingsboard</id>
|
||
<name>ThingsBoard Repository</name>
|
||
<url>https://repo.thingsboard.io/artifactory/libs-release-public</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>true</enabled>
|
||
</snapshots>
|
||
</pluginRepository>
|
||
</pluginRepositories>
|
||
|
||
<build>
|
||
<plugins>
|
||
<!-- 排除Spring Boot Maven插件,因为这是一个数据模型模块,不是可执行应用程序 -->
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<configuration>
|
||
<skip>true</skip>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project> |