pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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.inspur</groupId>
  12. <artifactId>elevator-data-schedule</artifactId>
  13. <version>1.0.4</version>
  14. <name>elevator-data-schedule</name>
  15. <description>按天统计加入对字符串空值异常处理</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-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-test</artifactId>
  29. <scope>test</scope>
  30. </dependency>
  31. <!-- 数据库操作相关依赖 -->
  32. <dependency>
  33. <groupId>org.mybatis.spring.boot</groupId>
  34. <artifactId>mybatis-spring-boot-starter</artifactId>
  35. <version>2.0.0</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.alibaba</groupId>
  39. <artifactId>druid-spring-boot-starter</artifactId>
  40. <version>1.1.13</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>mysql</groupId>
  44. <artifactId>mysql-connector-java</artifactId>
  45. <version>${mysql-driver-version}</version>
  46. </dependency>
  47. <!--lombok-->
  48. <dependency>
  49. <groupId>org.projectlombok</groupId>
  50. <artifactId>lombok</artifactId>
  51. <optional>true</optional>
  52. </dependency>
  53. <!--json相关-->
  54. <dependency>
  55. <groupId>com.alibaba</groupId>
  56. <artifactId>fastjson</artifactId>
  57. <version>1.2.54</version>
  58. </dependency>
  59. <!--mongodb-->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-data-redis</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.commons</groupId>
  70. <artifactId>commons-pool2</artifactId>
  71. <version>2.6.2</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>redis.clients</groupId>
  75. <artifactId>jedis</artifactId>
  76. </dependency>
  77. <!--自定义properties-->
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-configuration-processor</artifactId>
  81. <optional>true</optional>
  82. </dependency>
  83. <!--配置加密-->
  84. <dependency>
  85. <groupId>com.github.ulisesbocchio</groupId>
  86. <artifactId>jasypt-spring-boot-starter</artifactId>
  87. <version>3.0.3</version>
  88. </dependency>
  89. </dependencies>
  90. <build>
  91. <plugins>
  92. <plugin>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-maven-plugin</artifactId>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.mybatis.generator</groupId>
  98. <artifactId>mybatis-generator-maven-plugin</artifactId>
  99. <version>${mybatis-generator.version}</version>
  100. <configuration>
  101. <verbose>true</verbose>
  102. <overwrite>true</overwrite>
  103. </configuration>
  104. <dependencies>
  105. <dependency>
  106. <groupId>org.mybatis.generator</groupId>
  107. <artifactId>mybatis-generator-core</artifactId>
  108. <version>${mybatis-generator.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>mysql</groupId>
  112. <artifactId>mysql-connector-java</artifactId>
  113. <version>${mysql-driver-version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.inspur.idm.plantform</groupId>
  117. <artifactId>code-gen-plugin</artifactId>
  118. <version>1.1.2</version>
  119. </dependency>
  120. </dependencies>
  121. </plugin>
  122. <plugin>
  123. <groupId>com.inspur.idm.plantform</groupId>
  124. <artifactId>codegen-maven-plugin</artifactId>
  125. <version>1.1.2</version>
  126. <dependencies>
  127. <dependency>
  128. <groupId>mysql</groupId>
  129. <artifactId>mysql-connector-java</artifactId>
  130. <version>${mysql-driver-version}</version>
  131. </dependency>
  132. </dependencies>
  133. </plugin>
  134. </plugins>
  135. </build>
  136. </project>