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.
310 lines
11 KiB
310 lines
11 KiB
1 year 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>edu-training-api</artifactId>
|
||
|
<packaging>jar</packaging>
|
||
|
<version>3.0.0.RELEASE</version>
|
||
|
|
||
|
<properties>
|
||
|
<bladex.project.id>${project.artifactId}</bladex.project.id>
|
||
|
<bladex.project.version>${project.version}</bladex.project.version>
|
||
|
|
||
|
<java.version>1.8</java.version>
|
||
|
<maven.plugin.version>3.8.1</maven.plugin.version>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
|
||
|
<spring.boot.version>2.7.1</spring.boot.version>
|
||
|
<spring.platform.version>Cairo-SR8</spring.platform.version>
|
||
|
|
||
|
<!-- 推荐使用Harbor -->
|
||
|
<docker.registry.url>192.168.0.157</docker.registry.url>
|
||
|
<docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host>
|
||
|
<docker.username>admin</docker.username>
|
||
|
<docker.password>Harbor12345</docker.password>
|
||
|
<docker.namespace>blade</docker.namespace>
|
||
|
<docker.plugin.version>1.4.13</docker.plugin.version>
|
||
|
</properties>
|
||
|
|
||
|
<dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.springblade.platform</groupId>
|
||
|
<artifactId>blade-bom</artifactId>
|
||
|
<version>${bladex.project.version}</version>
|
||
|
<type>pom</type>
|
||
|
<scope>import</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-dependencies</artifactId>
|
||
|
<version>${spring.boot.version}</version>
|
||
|
<type>pom</type>
|
||
|
<scope>import</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.spring.platform</groupId>
|
||
|
<artifactId>platform-bom</artifactId>
|
||
|
<version>${spring.platform.version}</version>
|
||
|
<type>pom</type>
|
||
|
<scope>import</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</dependencyManagement>
|
||
|
|
||
|
<dependencies>
|
||
|
<!-- Blade -->
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-core-boot</artifactId>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-core-cloud</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-starter-http</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-starter-api-crypto</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-starter-datascope</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-starter-tenant</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-starter-develop</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-starter-swagger</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-starter-excel</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-starter-social</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.github.xiaoymin</groupId>
|
||
|
<artifactId>knife4j-spring-ui</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-core-auto</artifactId>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-core-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<!-- 报表 -->
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-starter-report</artifactId>
|
||
|
</dependency>
|
||
|
<!-- 工作流 -->
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-starter-flowable</artifactId>
|
||
|
</dependency>
|
||
|
<!-- 验证码 -->
|
||
|
<dependency>
|
||
|
<groupId>com.github.whvcse</groupId>
|
||
|
<artifactId>easy-captcha</artifactId>
|
||
|
</dependency>
|
||
|
<!--webSocket-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Mybatis-Plus -->
|
||
|
<dependency>
|
||
|
<groupId>com.baomidou</groupId>
|
||
|
<artifactId>mybatis-plus-generator</artifactId>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.velocity</groupId>
|
||
|
<artifactId>velocity</artifactId>
|
||
|
<version>1.7</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<!--Oss-->
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-starter-oss</artifactId>
|
||
|
</dependency>
|
||
|
<!--Sms-->
|
||
|
<dependency>
|
||
|
<groupId>org.springblade</groupId>
|
||
|
<artifactId>blade-starter-sms</artifactId>
|
||
|
</dependency>
|
||
|
<!--MinIO-->
|
||
|
<dependency>
|
||
|
<groupId>io.minio</groupId>
|
||
|
<artifactId>minio</artifactId>
|
||
|
</dependency>
|
||
|
<!--Alioss-->
|
||
|
<dependency>
|
||
|
<groupId>com.aliyun.oss</groupId>
|
||
|
<artifactId>aliyun-sdk-oss</artifactId>
|
||
|
</dependency>
|
||
|
<!--AliSms-->
|
||
|
<dependency>
|
||
|
<groupId>com.aliyun</groupId>
|
||
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
||
|
</dependency>
|
||
|
<!--腾讯COS-->
|
||
|
<dependency>
|
||
|
<groupId>com.qcloud</groupId>
|
||
|
<artifactId>cos_api</artifactId>
|
||
|
</dependency>
|
||
|
<!--腾讯SMS-->
|
||
|
<dependency>
|
||
|
<groupId>com.github.qcloudsms</groupId>
|
||
|
<artifactId>qcloudsms</artifactId>
|
||
|
</dependency>
|
||
|
<!--QiNiu-->
|
||
|
<dependency>
|
||
|
<groupId>com.qiniu</groupId>
|
||
|
<artifactId>qiniu-java-sdk</artifactId>
|
||
|
</dependency>
|
||
|
<!--YunPian-->
|
||
|
<dependency>
|
||
|
<groupId>com.yunpian.sdk</groupId>
|
||
|
<artifactId>yunpian-java-sdk</artifactId>
|
||
|
</dependency>
|
||
|
<!-- lombok -->
|
||
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-test</artifactId>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<finalName>${bladex.project.id}</finalName>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>src/main/resources</directory>
|
||
|
</resource>
|
||
|
<resource>
|
||
|
<directory>src/main/java</directory>
|
||
|
<includes>
|
||
|
<include>**/*.xml</include>
|
||
|
</includes>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
<pluginManagement>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
<version>${spring.boot.version}</version>
|
||
|
<configuration>
|
||
|
<finalName>${project.build.finalName}</finalName>
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<goals>
|
||
|
<goal>repackage</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</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>${project.build.finalName}</repository>
|
||
|
<tag>${project.version}</tag>
|
||
|
<useMavenSettingsForAuth>true</useMavenSettingsForAuth>
|
||
|
<buildArgs>
|
||
|
<JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
|
||
|
</buildArgs>
|
||
|
</configuration>
|
||
|
<!--添加如下配置,运行 mvn deploy 命令便会自动打包镜像-->
|
||
|
<!--<executions>
|
||
|
<execution>
|
||
|
<id>default</id>
|
||
|
<goals>
|
||
|
<goal>build</goal>
|
||
|
<goal>push</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>-->
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</pluginManagement>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>${maven.plugin.version}</version>
|
||
|
<configuration>
|
||
|
<source>${java.version}</source>
|
||
|
<target>${java.version}</target>
|
||
|
<encoding>UTF-8</encoding>
|
||
|
<compilerArgs>
|
||
|
<arg>-parameters</arg>
|
||
|
</compilerArgs>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<repositories>
|
||
|
<repository>
|
||
|
<id>aliyun-repos</id>
|
||
|
<url>https://maven.aliyun.com/repository/public/</url>
|
||
|
<snapshots>
|
||
|
<enabled>false</enabled>
|
||
|
</snapshots>
|
||
|
</repository>
|
||
|
<repository>
|
||
|
<id>blade-release</id>
|
||
|
<name>Release Repository</name>
|
||
|
<url>http://nexus.bladex.vip/repository/maven-releases/</url>
|
||
|
</repository>
|
||
|
</repositories>
|
||
|
|
||
|
<pluginRepositories>
|
||
|
<pluginRepository>
|
||
|
<id>aliyun-plugin</id>
|
||
|
<url>https://maven.aliyun.com/repository/public/</url>
|
||
|
<snapshots>
|
||
|
<enabled>false</enabled>
|
||
|
</snapshots>
|
||
|
</pluginRepository>
|
||
|
</pluginRepositories>
|
||
|
|
||
|
</project>
|