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.
180 lines
6.6 KiB
180 lines
6.6 KiB
5 months ago
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<parent>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||
|
<version>2.7.1</version>
|
||
|
<relativePath/> <!-- lookup parent from repository -->
|
||
|
</parent>
|
||
|
|
||
|
<groupId>com.sinenux</groupId>
|
||
|
<artifactId>qn-ys-hub</artifactId>
|
||
|
<version>1.0.0</version>
|
||
|
<name>SNHub</name>
|
||
|
<description>qn-ys-hub</description>
|
||
|
|
||
|
<properties>
|
||
|
<hub.project.name>qn-ys-hub</hub.project.name>
|
||
|
|
||
|
<java.version>8</java.version>
|
||
|
<maven.plugin.version>3.8.1</maven.plugin.version>
|
||
|
|
||
|
<!-- 推荐使用Harbor -->
|
||
|
<harbor.library>qn-ys-hub</harbor.library>
|
||
|
<harbor.tag>1.0.0</harbor.tag>
|
||
|
|
||
|
<docker.serverId>harbor</docker.serverId>
|
||
|
<docker.registry.url>192.168.1.251</docker.registry.url>
|
||
|
<!-- <docker.registry.url>192.168.40.203:8089</docker.registry.url>-->
|
||
|
<docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host>
|
||
|
<docker.username>admin</docker.username>
|
||
|
<docker.plugin.version>1.4.13</docker.plugin.version>
|
||
|
<docker.username>admin</docker.username>
|
||
|
<docker.password>Qingniao13542</docker.password>
|
||
|
</properties>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>mysql</groupId>
|
||
|
<artifactId>mysql-connector-java</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.dream-orm</groupId>
|
||
|
<artifactId>dream-orm-spring-boot-starter</artifactId>
|
||
|
<version>1.2.6</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- fastjson -->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
<artifactId>fastjson</artifactId>
|
||
|
<version>2.0.25</version>
|
||
|
</dependency>
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>com.bluebird</groupId>-->
|
||
|
<!-- <artifactId>hulk-starter-http</artifactId>-->
|
||
|
<!-- <version>1.2.2.RELEASE</version>-->
|
||
|
<!-- </dependency>-->
|
||
|
<!-- mongo -->
|
||
|
<dependency>
|
||
|
<groupId>com.bluebird</groupId>
|
||
|
<artifactId>hulk-starter-mongo</artifactId>
|
||
|
<version>1.2.2.RELEASE</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>com.bluebird</groupId>
|
||
|
<artifactId>hulk-core-launch</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.baomidou</groupId>
|
||
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
|
<version>3.5.3.2</version>
|
||
|
</dependency>
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>com.bluebird</groupId>-->
|
||
|
<!-- <artifactId>hulk-starter-mybatis</artifactId>-->
|
||
|
<!-- <version>1.2.2.RELEASE</version>-->
|
||
|
<!-- </dependency>-->
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<finalName>${hub.project.name}</finalName>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>com.spotify</groupId>
|
||
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
||
|
<version>${docker.plugin.version}</version>
|
||
|
<configuration>
|
||
|
<username>${docker.username}</username>
|
||
|
<password>${docker.password}</password>
|
||
|
<repository>${docker.registry.url}/${harbor.library}/${project.artifactId}</repository>
|
||
|
<tag>${harbor.tag}</tag>
|
||
|
<useMavenSettingsForAuth>true</useMavenSettingsForAuth>
|
||
|
<buildArgs>
|
||
|
<JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
|
||
|
</buildArgs>
|
||
|
<skip>false</skip>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>${maven.plugin.version}</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>compile</id>
|
||
|
<phase>compile</phase>
|
||
|
<goals>
|
||
|
<goal>compile</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
<execution>
|
||
|
<id>testCompile</id>
|
||
|
<phase>test-compile</phase>
|
||
|
<goals>
|
||
|
<goal>testCompile</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
|
||
|
<resources>
|
||
|
<!-- 扫描src/main/java下所有xx.xml文件 -->
|
||
|
<resource>
|
||
|
<directory>src/main/java</directory>
|
||
|
<includes>
|
||
|
<include>**/*.xml</include>
|
||
|
</includes>
|
||
|
</resource>
|
||
|
<!-- 扫描resources下所有资源 -->
|
||
|
<resource>
|
||
|
<directory>src/main/resources</directory>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
</build>
|
||
|
|
||
|
<repositories>
|
||
|
<repository>
|
||
|
<id>aliyun-repos</id>
|
||
|
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
|
||
|
<snapshots>
|
||
|
<enabled>false</enabled>
|
||
|
</snapshots>
|
||
|
</repository>
|
||
|
</repositories>
|
||
|
|
||
|
<pluginRepositories>
|
||
|
<pluginRepository>
|
||
|
<id>aliyun-plugin</id>
|
||
|
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
|
||
|
<snapshots>
|
||
|
<enabled>false</enabled>
|
||
|
</snapshots>
|
||
|
</pluginRepository>
|
||
|
</pluginRepositories>
|
||
|
|
||
|
</project>
|