249 lines
9.3 KiB
XML
249 lines
9.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
||
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.5</version>
|
||
<relativePath/> <!-- lookup parent from repository -->
|
||
</parent>
|
||
<groupId>com.northtecom.visatrack</groupId>
|
||
<artifactId>api</artifactId>
|
||
<version>0.0.2-SNAPSHOT</version>
|
||
<name>usvisartrackapi</name>
|
||
<description>Visa track API project for North Tecom</description>
|
||
|
||
<licenses>
|
||
<license>
|
||
<name>The MIT license</name>
|
||
<url>https://opensource.org/licenses/mit-license.php</url>
|
||
<distribution>repo</distribution>
|
||
</license>
|
||
</licenses>
|
||
|
||
<distributionManagement>
|
||
<repository>
|
||
<id>ossez-repo</id>
|
||
<url>https://repo.ossez.com/repository/maven-releases/</url>
|
||
</repository>
|
||
|
||
<snapshotRepository>
|
||
<id>ossez-repo</id>
|
||
<url>https://repo.ossez.com/repository/maven-snapshots/</url>
|
||
</snapshotRepository>
|
||
</distributionManagement>
|
||
|
||
<properties>
|
||
<java.version>11</java.version>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-devtools</artifactId>
|
||
<scope>runtime</scope>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
|
||
<!-- guava 基础库 -->
|
||
<dependency>
|
||
<groupId>com.google.guava</groupId>
|
||
<artifactId>guava</artifactId>
|
||
<version>31.1-jre</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.configcat</groupId>
|
||
<artifactId>configcat-java-client</artifactId>
|
||
<version>7.2.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-security</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||
</dependency>
|
||
|
||
<!-- swagger -->
|
||
<dependency>
|
||
<groupId>org.springdoc</groupId>
|
||
<artifactId>springdoc-openapi-ui</artifactId>
|
||
<version>1.6.11</version>
|
||
</dependency>
|
||
|
||
<!-- hutool -->
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
<version>5.8.8</version>
|
||
</dependency>
|
||
|
||
<!-- hibernate enhancement -->
|
||
<dependency>
|
||
<groupId>com.vladmihalcea</groupId>
|
||
<artifactId>hibernate-types-55</artifactId>
|
||
<version>2.19.2</version>
|
||
</dependency>
|
||
|
||
<!-- DATABASE Client -->
|
||
<dependency>
|
||
<groupId>org.mariadb.jdbc</groupId>
|
||
<artifactId>mariadb-java-client</artifactId>
|
||
<version>3.0.7</version>
|
||
</dependency>
|
||
|
||
<!-- Crawl tools -->
|
||
<dependency>
|
||
<groupId>org.jsoup</groupId>
|
||
<artifactId>jsoup</artifactId>
|
||
<version>1.15.3</version>
|
||
</dependency>
|
||
|
||
<!--JWT-->
|
||
<dependency>
|
||
<groupId>io.jsonwebtoken</groupId>
|
||
<artifactId>jjwt</artifactId>
|
||
<version>0.9.1</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.github.javafaker</groupId>
|
||
<artifactId>javafaker</artifactId>
|
||
<version>1.0.2</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||
<artifactId>jackson-datatype-jsr310</artifactId>
|
||
<version>2.13.4</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.mailgun</groupId>
|
||
<artifactId>mailgun-java</artifactId>
|
||
<version>1.0.3</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-simple</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<!--Thymeleaf support email template -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
|
||
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<configuration>
|
||
<!-- 没有该配置,devtools 不生效 -->
|
||
<fork>true</fork>
|
||
<!-- <addResources>true</addResources>-->
|
||
<!-- <excludes>-->
|
||
<!-- <exclude>-->
|
||
<!-- <groupId>org.projectlombok</groupId>-->
|
||
<!-- <artifactId>lombok</artifactId>-->
|
||
<!-- </exclude>-->
|
||
<!-- </excludes>-->
|
||
<!-- <image>-->
|
||
<!-- <!–配置镜像名称–>-->
|
||
<!-- <name>repo-docker.ossez.com/docker-hub/${project.name}:${project.version}</name>-->
|
||
<!-- <!–镜像打包完成后自动推送到镜像仓库–>-->
|
||
<!-- <publish>true</publish>-->
|
||
<!-- </image>-->
|
||
<!-- <docker>-->
|
||
<!--<!– <host>repo-docker.ossez.com</host>–>-->
|
||
<!-- <tlsVerify>false</tlsVerify>-->
|
||
<!-- <publishRegistry>-->
|
||
<!-- <username>${docker.credentials.username}</username>-->
|
||
<!-- <password>${docker.credentials.password}</password>-->
|
||
<!-- <url>https://repo-docker.ossez.com/docker-hub</url>-->
|
||
<!-- </publishRegistry>-->
|
||
<!-- </docker>-->
|
||
</configuration>
|
||
<!-- <executions>-->
|
||
<!-- <execution>-->
|
||
<!-- <goals>-->
|
||
<!-- <goal>build-image</goal>-->
|
||
<!-- </goals>-->
|
||
<!-- </execution>-->
|
||
<!-- </executions>-->
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.10.1</version>
|
||
<configuration>
|
||
<source>11</source>
|
||
<target>11</target>
|
||
<encoding>UTF-8</encoding>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>io.fabric8</groupId>
|
||
<artifactId>docker-maven-plugin</artifactId>
|
||
<version>0.40.2</version>
|
||
<configuration>
|
||
|
||
<pushRegistry>repo-docker.ossez.com/docker-hub</pushRegistry>
|
||
<verbose>true</verbose>
|
||
<images>
|
||
<image>
|
||
<name>${project.name}:${project.version}</name>
|
||
<build>
|
||
<dockerFileDir>${project.basedir}</dockerFileDir>
|
||
</build>
|
||
</image>
|
||
</images>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>default</id>
|
||
<phase>deploy</phase>
|
||
<goals>
|
||
<goal>build</goal>
|
||
<goal>push</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</project>
|