Seamher | b222aaa | 2025-03-18 14:37:10 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | <parent> |
| 6 | <groupId>org.springframework.boot</groupId> |
| 7 | <artifactId>spring-boot-starter-parent</artifactId> |
| 8 | <version>3.4.3</version> |
| 9 | <relativePath/> <!-- lookup parent from repository --> |
| 10 | </parent> |
| 11 | <groupId>com.g9</groupId> |
| 12 | <artifactId>G9Backend</artifactId> |
| 13 | <version>0.0.1-SNAPSHOT</version> |
| 14 | <name>G9Backend</name> |
| 15 | <description>G9Backend</description> |
| 16 | <url/> |
| 17 | <licenses> |
| 18 | <license/> |
| 19 | </licenses> |
| 20 | <developers> |
| 21 | <developer/> |
| 22 | </developers> |
| 23 | <scm> |
| 24 | <connection/> |
| 25 | <developerConnection/> |
| 26 | <tag/> |
| 27 | <url/> |
| 28 | </scm> |
| 29 | <properties> |
| 30 | <java.version>21</java.version> |
| 31 | </properties> |
| 32 | <dependencies> |
| 33 | <dependency> |
| 34 | <groupId>org.springframework.boot</groupId> |
| 35 | <artifactId>spring-boot-starter-web</artifactId> |
| 36 | </dependency> |
| 37 | |
| 38 | <dependency> |
| 39 | <groupId>org.springframework.boot</groupId> |
| 40 | <artifactId>spring-boot-devtools</artifactId> |
| 41 | <scope>runtime</scope> |
| 42 | <optional>true</optional> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>com.mysql</groupId> |
| 46 | <artifactId>mysql-connector-j</artifactId> |
| 47 | <scope>runtime</scope> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.projectlombok</groupId> |
| 51 | <artifactId>lombok</artifactId> |
| 52 | <optional>true</optional> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.springframework.boot</groupId> |
| 56 | <artifactId>spring-boot-starter-test</artifactId> |
| 57 | <scope>test</scope> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.springframework.restdocs</groupId> |
| 61 | <artifactId>spring-restdocs-mockmvc</artifactId> |
| 62 | <scope>test</scope> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>com.baomidou</groupId> |
| 66 | <artifactId>mybatis-plus</artifactId> |
| 67 | <version>3.5.7</version> |
| 68 | </dependency> |
| 69 | </dependencies> |
| 70 | |
| 71 | <build> |
| 72 | <plugins> |
| 73 | <plugin> |
| 74 | <groupId>org.apache.maven.plugins</groupId> |
| 75 | <artifactId>maven-compiler-plugin</artifactId> |
| 76 | <configuration> |
| 77 | <annotationProcessorPaths> |
| 78 | <path> |
| 79 | <groupId>org.projectlombok</groupId> |
| 80 | <artifactId>lombok</artifactId> |
| 81 | </path> |
| 82 | </annotationProcessorPaths> |
| 83 | </configuration> |
| 84 | </plugin> |
| 85 | <plugin> |
| 86 | <groupId>org.asciidoctor</groupId> |
| 87 | <artifactId>asciidoctor-maven-plugin</artifactId> |
| 88 | <version>2.2.1</version> |
| 89 | <executions> |
| 90 | <execution> |
| 91 | <id>generate-docs</id> |
| 92 | <phase>prepare-package</phase> |
| 93 | <goals> |
| 94 | <goal>process-asciidoc</goal> |
| 95 | </goals> |
| 96 | <configuration> |
| 97 | <backend>html</backend> |
| 98 | <doctype>book</doctype> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | </executions> |
| 102 | <dependencies> |
| 103 | <dependency> |
| 104 | <groupId>org.springframework.restdocs</groupId> |
| 105 | <artifactId>spring-restdocs-asciidoctor</artifactId> |
| 106 | <version>${spring-restdocs.version}</version> |
| 107 | </dependency> |
| 108 | </dependencies> |
| 109 | </plugin> |
| 110 | <plugin> |
| 111 | <groupId>org.springframework.boot</groupId> |
| 112 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 113 | <configuration> |
| 114 | <excludes> |
| 115 | <exclude> |
| 116 | <groupId>org.projectlombok</groupId> |
| 117 | <artifactId>lombok</artifactId> |
| 118 | </exclude> |
| 119 | </excludes> |
| 120 | </configuration> |
| 121 | </plugin> |
| 122 | </plugins> |
| 123 | </build> |
| 124 | |
| 125 | </project> |