pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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.6.1</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.example</groupId>
  12. <artifactId>elevator-data-analysis</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>elevator-data-analysis</name>
  15. <description>elevator-data-analysis</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <mysql-driver-version>5.1.48</mysql-driver-version>
  19. <mybatis-generator.version>1.3.6</mybatis-generator.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-devtools</artifactId>
  33. <scope>runtime</scope>
  34. <optional>true</optional>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.projectlombok</groupId>
  38. <artifactId>lombok</artifactId>
  39. <optional>true</optional>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-test</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>mysql</groupId>
  48. <artifactId>mysql-connector-java</artifactId>
  49. <version>8.0.17</version>
  50. </dependency>
  51. <!--配置加密-->
  52. <dependency>
  53. <groupId>com.github.ulisesbocchio</groupId>
  54. <artifactId>jasypt-spring-boot-starter</artifactId>
  55. <version>3.0.3</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.alibaba</groupId>
  59. <artifactId>druid-spring-boot-starter</artifactId>
  60. <version>1.1.13</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.mybatis.spring.boot</groupId>
  64. <artifactId>mybatis-spring-boot-starter</artifactId>
  65. <version>2.0.0</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-configuration-processor</artifactId>
  70. <optional>true</optional>
  71. </dependency>
  72. <!--swagger-->
  73. <dependency>
  74. <groupId>io.springfox</groupId>
  75. <artifactId>springfox-swagger2</artifactId>
  76. <version>2.8.0</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>io.springfox</groupId>
  80. <artifactId>springfox-swagger-ui</artifactId>
  81. <version>2.8.0</version>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <plugins>
  86. <plugin>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-maven-plugin</artifactId>
  89. <configuration>
  90. <image>
  91. <builder>paketobuildpacks/builder-jammy-base:latest</builder>
  92. </image>
  93. <excludes>
  94. <exclude>
  95. <groupId>org.projectlombok</groupId>
  96. <artifactId>lombok</artifactId>
  97. </exclude>
  98. </excludes>
  99. </configuration>
  100. </plugin>
  101. <plugin>
  102. <groupId>org.mybatis.generator</groupId>
  103. <artifactId>mybatis-generator-maven-plugin</artifactId>
  104. <version>${mybatis-generator.version}</version>
  105. <configuration>
  106. <verbose>true</verbose>
  107. <overwrite>true</overwrite>
  108. </configuration>
  109. <dependencies>
  110. <dependency>
  111. <groupId>org.mybatis.generator</groupId>
  112. <artifactId>mybatis-generator-core</artifactId>
  113. <version>${mybatis-generator.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>mysql</groupId>
  117. <artifactId>mysql-connector-java</artifactId>
  118. <version>${mysql-driver-version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.inspur.idm.plantform</groupId>
  122. <artifactId>code-gen-plugin</artifactId>
  123. <version>1.1.2</version>
  124. </dependency>
  125. </dependencies>
  126. </plugin>
  127. <plugin>
  128. <groupId>com.inspur.idm.plantform</groupId>
  129. <artifactId>codegen-maven-plugin</artifactId>
  130. <version>1.1.2</version>
  131. <dependencies>
  132. <dependency>
  133. <groupId>mysql</groupId>
  134. <artifactId>mysql-connector-java</artifactId>
  135. <version>${mysql-driver-version}</version>
  136. </dependency>
  137. </dependencies>
  138. </plugin>
  139. </plugins>
  140. </build>
  141. </project>