1 Star 0 Fork 780

hanjunjun/12306

forked from nageoffer/12306 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 6.40 KB
一键复制 编辑 原始数据 按行查看 历史
<?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>
<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/license-header</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>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/hanjunjun25/12306.git
git@gitee.com:hanjunjun25/12306.git
hanjunjun25
12306
12306
main

搜索帮助