pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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.2.0</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.example</groupId>
  12. <artifactId>problemJson</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>problemJson</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-validation</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.projectlombok</groupId>
  30. <artifactId>lombok</artifactId>
  31. <optional>true</optional>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-test</artifactId>
  36. <scope>test</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.restdocs</groupId>
  40. <artifactId>spring-restdocs-mockmvc</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <plugins>
  46. <plugin>
  47. <groupId>org.asciidoctor</groupId>
  48. <artifactId>asciidoctor-maven-plugin</artifactId>
  49. <version>2.2.1</version>
  50. <executions>
  51. <execution>
  52. <id>generate-docs</id>
  53. <phase>prepare-package</phase>
  54. <goals>
  55. <goal>process-asciidoc</goal>
  56. </goals>
  57. <configuration>
  58. <backend>spring-html</backend>
  59. <attributes>
  60. <lang>ja</lang>
  61. <docinfo>shared</docinfo>
  62. <icons>font</icons>
  63. <sectnums>true</sectnums>
  64. <sectnumlevels>2</sectnumlevels>
  65. <sectanchors>true</sectanchors>
  66. <toc>left</toc>
  67. <toclevels>4</toclevels>
  68. <author>Kiyotakeshi</author>
  69. <revnumber>${project.version}</revnumber>
  70. <revdate>${maven.build.timestamp}</revdate>
  71. </attributes>
  72. </configuration>
  73. </execution>
  74. </executions>
  75. <dependencies>
  76. <dependency>
  77. <groupId>org.springframework.restdocs</groupId>
  78. <artifactId>spring-restdocs-asciidoctor</artifactId>
  79. <version>${spring-restdocs.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>io.spring.asciidoctor.backends</groupId>
  83. <artifactId>spring-asciidoctor-backends</artifactId>
  84. <version>0.0.7</version>
  85. </dependency>
  86. </dependencies>
  87. </plugin>
  88. <plugin>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-maven-plugin</artifactId>
  91. <configuration>
  92. <excludes>
  93. <exclude>
  94. <groupId>org.projectlombok</groupId>
  95. <artifactId>lombok</artifactId>
  96. </exclude>
  97. </excludes>
  98. </configuration>
  99. </plugin>
  100. </plugins>
  101. </build>
  102. </project>