Files
12306/pom.xml

172 lines
6.8 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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>
<groupId>org.opengoofy.index12306</groupId>
<artifactId>index12306-all</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<description>
🔥热门推荐🔥大学春招、秋招、应届项目SpringBoot3+Java17+SpringCloudAlibaba+RocketMQ等技术架构完成铁路12306用户+购票+订单+支付服务,帮助学生主打就业的项目。
</description>
<developers>
<developer>
<name>马丁</name>
<email>machen@apache.org</email>
<url>https://github.com/magestacks</url>
<organization>Apache and openGoofy</organization>
</developer>
<developer>
<name>懒洋洋</name>
<email>2084276225@qq.com</email>
<url>https://github.com/2084276225</url>
</developer>
</developers>
<properties>
<java.version>17</java.version>
<spotless-maven-plugin.version>2.22.1</spotless-maven-plugin.version>
<skip.checkstyle.check>true</skip.checkstyle.check>
<maven-common-plugin.version>3.1.0</maven-common-plugin.version>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<lombok.version>1.18.30</lombok.version>
</properties>
<modules>
<module>dependencies</module>
<module>frameworks</module>
<module>services</module>
<module>tests</module>
</modules>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.opengoofy.index12306</groupId>
<artifactId>index12306-dependencies</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${maven-common-plugin.version}</version>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-common-plugin.version}</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-common-plugin.version}</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>${spotless-maven-plugin.version}</version>
<configuration>
<java>
<!--<eclipse>
<file>${maven.multiModuleProjectDirectory}/format/12306_spotless_formatter.xml</file>
</eclipse>-->
<licenseHeader>
<!-- ${maven.multiModuleProjectDirectory} 爆红属于正常,并不影响编译或者运行,忽略就好 -->
<file>${maven.multiModuleProjectDirectory}/format/copyright.txt</file>
</licenseHeader>
</java>
</configuration>
<executions>
<execution>
<goals>
<goal>apply</goal>
</goals>
<phase>compile</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-common-plugin.version}</version>
<configuration>
<!-- ${maven.multiModuleProjectDirectory} 爆红属于正常,并不影响编译或者运行,忽略就好 -->
<configLocation>${maven.multiModuleProjectDirectory}/checkstyle/12306_checkstyle.xml
</configLocation>
<!-- ${maven.multiModuleProjectDirectory} 爆红属于正常,并不影响编译或者运行,忽略就好 -->
<suppressionsLocation>
${maven.multiModuleProjectDirectory}/checkstyle/12306_checkstyle_suppression.xml
</suppressionsLocation>
<!-- Do not scan the test directory for now -->
<includeTestSourceDirectory>false</includeTestSourceDirectory>
<consoleOutput>true</consoleOutput>
<encoding>UTF-8</encoding>
<skip>${skip.checkstyle.check}</skip>
<violationSeverity>error</violationSeverity>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
</plugins>
</build>
</project>