You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

163 regels
4.4 KiB

  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>2.4.2</version>-->
  9. <!-- </parent>-->
  10. <groupId>com.moze</groupId>
  11. <artifactId>rms</artifactId>
  12. <version>1.0</version>
  13. <packaging>war</packaging>
  14. <name>rms</name>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. <project.mainClass>com.moze.rms.RmsApplication</project.mainClass>
  18. <maven.compiler.source>1.8</maven.compiler.source>
  19. <maven.compiler.target>1.8</maven.compiler.target>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  22. </properties>
  23. <!--取代parent-->
  24. <dependencyManagement>
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-dependencies</artifactId>
  29. <version>2.4.2</version>
  30. <type>pom</type>
  31. <scope>import</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.jdbi</groupId>
  35. <artifactId>jdbi3-bom</artifactId>
  36. <version>3.18.0</version>
  37. <type>pom</type>
  38. <scope>import</scope>
  39. </dependency>
  40. </dependencies>
  41. </dependencyManagement>
  42. <dependencies>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-web</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-test</artifactId>
  50. <scope>test</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-jdbc</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.jdbi</groupId>
  58. <artifactId>jdbi3-core</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.jdbi</groupId>
  62. <artifactId>jdbi3-sqlobject</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.jdbi</groupId>
  66. <artifactId>jdbi3-postgres</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.jdbi</groupId>
  70. <artifactId>jdbi3-spring4</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.jdbi</groupId>
  74. <artifactId>jdbi3-json</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.postgresql</groupId>
  78. <artifactId>postgresql</artifactId>
  79. <version>42.2.18</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.projectlombok</groupId>
  83. <artifactId>lombok</artifactId>
  84. <version>1.18.16</version>
  85. <optional>true</optional>
  86. </dependency>
  87. <!-- https://mvnrepository.com/artifact/com.microsoft.sqlserver/mssql-jdbc -->
  88. <dependency>
  89. <groupId>com.microsoft.sqlserver</groupId>
  90. <artifactId>mssql-jdbc</artifactId>
  91. <version>9.2.1.jre8</version>
  92. </dependency>
  93. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
  94. <!-- <dependency>-->
  95. <!-- <groupId>org.apache.poi</groupId>-->
  96. <!-- <artifactId>poi</artifactId>-->
  97. <!-- <version>5.0.0</version>-->
  98. <!-- </dependency>-->
  99. <!-- <dependency>-->
  100. <!-- <groupId>org.apache.poi</groupId>-->
  101. <!-- <artifactId>poi-ooxml</artifactId>-->
  102. <!-- <version>3.9</version>-->
  103. <!-- </dependency>-->
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-tomcat</artifactId>
  107. <scope>provided</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.poi</groupId>
  111. <artifactId>poi-ooxml</artifactId>
  112. <version>4.1.0</version>
  113. </dependency>
  114. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
  115. <dependency>
  116. <groupId>org.apache.poi</groupId>
  117. <artifactId>poi</artifactId>
  118. <version>4.1.0</version>
  119. </dependency>
  120. </dependencies>
  121. <build>
  122. <plugins>
  123. <plugin>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-maven-plugin</artifactId>
  126. <configuration>
  127. <mainClass>${project.mainClass}</mainClass>
  128. <excludes>
  129. <exclude>
  130. <groupId>org.projectlombok</groupId>
  131. <artifactId>lombok</artifactId>
  132. </exclude>
  133. </excludes>
  134. </configuration>
  135. </plugin>
  136. <plugin>
  137. <artifactId>maven-war-plugin</artifactId>
  138. <configuration>
  139. <failOnMissingWebXml>false</failOnMissingWebXml>
  140. </configuration>
  141. </plugin>
  142. </plugins>
  143. </build>
  144. </project>