88 lines
3.0 KiB
XML
88 lines
3.0 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>cn.bunny</groupId>
|
||
|
<artifactId>common</artifactId>
|
||
|
<version>1.0.0</version>
|
||
|
</parent>
|
||
|
|
||
|
<artifactId>common-service</artifactId>
|
||
|
|
||
|
<dependencies>
|
||
|
<!-- 解决 javax.xml.bind 错误 -->
|
||
|
<dependency>
|
||
|
<groupId>javax.xml.bind</groupId>
|
||
|
<artifactId>jaxb-api</artifactId>
|
||
|
<version>2.3.1</version>
|
||
|
</dependency>
|
||
|
<!-- httpclient -->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.httpcomponents</groupId>
|
||
|
<artifactId>httpclient</artifactId>
|
||
|
<version>4.5.14</version>
|
||
|
</dependency>
|
||
|
<!-- redis -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
|
</dependency>
|
||
|
<!-- redisson 分布式锁-->
|
||
|
<dependency>
|
||
|
<groupId>org.redisson</groupId>
|
||
|
<artifactId>redisson</artifactId>
|
||
|
<version>3.26.1</version>
|
||
|
</dependency>
|
||
|
<!-- 查询ip地址 -->
|
||
|
<dependency>
|
||
|
<groupId>org.lionsoul</groupId>
|
||
|
<artifactId>ip2region</artifactId>
|
||
|
<version>2.6.5</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.jetbrains.kotlin</groupId>
|
||
|
<artifactId>kotlin-maven-plugin</artifactId>
|
||
|
<version>${kotlin.version}</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>compile</id>
|
||
|
<phase>compile</phase>
|
||
|
<goals>
|
||
|
<goal>compile</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
<execution>
|
||
|
<id>test-compile</id>
|
||
|
<phase>test-compile</phase>
|
||
|
<goals>
|
||
|
<goal>test-compile</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
|
<version>2.22.2</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||
|
<version>2.22.2</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>exec-maven-plugin</artifactId>
|
||
|
<version>1.6.0</version>
|
||
|
<configuration>
|
||
|
<mainClass>MainKt</mainClass>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|