pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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>com.cretin</groupId>
  7. <artifactId>tcl_web_api</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <!-- <relativePath>../pom.xml</relativePath>-->
  10. </parent>
  11. <groupId>com.cretin</groupId>
  12. <artifactId>webapi</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>WebApi</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <kotlin.version>1.4.32</kotlin.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.cretin</groupId>
  27. <artifactId>web-services</artifactId>
  28. <version>0.0.1-SNAPSHOT</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.cretin</groupId>
  32. <artifactId>web-notice</artifactId>
  33. <version>0.0.1-SNAPSHOT</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-web</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.session</groupId>
  41. <artifactId>spring-session-core</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-test</artifactId>
  46. <scope>test</scope>
  47. </dependency>
  48. </dependencies>
  49. <build>
  50. <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
  51. <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
  52. <plugins>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-surefire-plugin</artifactId>
  56. <configuration>
  57. <testFailureIgnore>true</testFailureIgnore>
  58. </configuration>
  59. </plugin>
  60. <plugin>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-maven-plugin</artifactId>
  63. <configuration>
  64. <includeSystemScope>true</includeSystemScope>
  65. </configuration>
  66. <executions>
  67. <execution>
  68. <goals>
  69. <goal>repackage</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.jetbrains.kotlin</groupId>
  76. <artifactId>kotlin-maven-plugin</artifactId>
  77. <configuration>
  78. <args>
  79. <arg>-Xjsr305=strict</arg>
  80. </args>
  81. <compilerPlugins>
  82. <plugin>spring</plugin>
  83. </compilerPlugins>
  84. </configuration>
  85. <dependencies>
  86. <dependency>
  87. <groupId>org.jetbrains.kotlin</groupId>
  88. <artifactId>kotlin-maven-allopen</artifactId>
  89. <version>${kotlin.version}</version>
  90. </dependency>
  91. </dependencies>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>