122 lines
4.2 KiB
XML
122 lines
4.2 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>
|
|
|
|
<groupId>com.jacklei.poetry</groupId>
|
|
<artifactId>PoetryOfTheFourSeasons</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<modules>
|
|
<module>poetry-api-commons</module>
|
|
<module>poetry-provider-poem-8501</module>
|
|
<module>poetry-provider-dynasty-8502</module>
|
|
<module>poetry-provider-user-8503</module>
|
|
<module>poetry-consumer-login</module>
|
|
<module>poetry-consumer-creation</module>
|
|
<module>poetry-consumer-attention</module>
|
|
<module>poetry-consumer-collection</module>
|
|
<module>poetry-consumer-givelike</module>
|
|
<module>poetry-consumer-comments</module>
|
|
<module>poetry-consumer-category</module>
|
|
|
|
</modules>
|
|
|
|
<name>PoetryOfTheFourSeasons</name>
|
|
<!-- FIXME change it to the project's website -->
|
|
<url>http://www.example.com</url>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<junit.version>4.12</junit.version>
|
|
<log4j.version>1.2.17</log4j.version>
|
|
<lombok.version>1.16.18</lombok.version>
|
|
<mysql.version>5.1.47</mysql.version>
|
|
<druid.version>1.1.16</druid.version>
|
|
<mybatis.spring.boot.version>1.3.0</mybatis.spring.boot.version>
|
|
</properties>
|
|
<!-- 子模块继承之后,提供作用:锁定版本+子modlue不用写groupId和version -->
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
<!-- spring boot 2.6.4 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>2.6.4</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<!-- spring cloud Hoxton.SR1 -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>2021.0.1</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<!-- spring cloud alibaba 2.1.0.RELEASE -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
<version>2.2.7.RELEASE </version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid</artifactId>
|
|
<version>${druid.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
<version>${mybatis.spring.boot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version> <!-- 指定插件版本 -->
|
|
<configuration>
|
|
<source>1.8</source> <!-- 设置 Java 源代码版本 -->
|
|
<target>1.8</target> <!-- 设置 Java 字节码版本 -->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |