pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.bz</groupId>
  7. <artifactId>water-query-api</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.3.1.RELEASE</version>
  13. <relativePath/>
  14. </parent>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <java.version>1.8</java.version>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <maven.build.timestamp.format>yyyy-MM-dd_HH_mm</maven.build.timestamp.format>
  21. <!-- 跳过打包检测 -->
  22. <skipTests>true</skipTests>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-test</artifactId>
  32. <scope>test</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.mybatis.spring.boot</groupId>
  40. <artifactId>mybatis-spring-boot-starter</artifactId>
  41. <version>2.1.3</version>
  42. </dependency>
  43. <!-- MySQL -->
  44. <dependency>
  45. <groupId>mysql</groupId>
  46. <artifactId>mysql-connector-java</artifactId>
  47. <scope>runtime</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>io.springfox</groupId>
  51. <artifactId>springfox-swagger2</artifactId>
  52. <version>2.7.0</version>
  53. <exclusions>
  54. <exclusion>
  55. <artifactId>guava</artifactId>
  56. <groupId>com.google.guava</groupId>
  57. </exclusion>
  58. </exclusions>
  59. </dependency>
  60. <dependency>
  61. <groupId>io.springfox</groupId>
  62. <artifactId>springfox-swagger-ui</artifactId>
  63. <version>2.7.0</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.github.pagehelper</groupId>
  67. <artifactId>pagehelper-spring-boot-starter</artifactId>
  68. <version>1.2.10</version>
  69. </dependency>
  70. <!--Druid-->
  71. <dependency>
  72. <groupId>com.alibaba</groupId>
  73. <artifactId>druid</artifactId>
  74. <version>0.2.9</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-data-jpa</artifactId>
  79. </dependency>
  80. <!-- tomcatd的jsp支持 -->
  81. <dependency>
  82. <groupId>org.apache.tomcat.embed</groupId>
  83. <artifactId>tomcat-embed-jasper</artifactId>
  84. </dependency>
  85. <!-- servlet容器 -->
  86. <dependency>
  87. <groupId>javax.servlet</groupId>
  88. <artifactId>javax.servlet-api</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>javax.servlet</groupId>
  92. <artifactId>jstl</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.projectlombok</groupId>
  96. <artifactId>lombok</artifactId>
  97. <version>1.18.4</version>
  98. <scope>provided</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.commons</groupId>
  102. <artifactId>commons-lang3</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.google.guava</groupId>
  106. <artifactId>guava</artifactId>
  107. <version>20.0</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-data-redis</artifactId>
  112. </dependency>
  113. <!-- mongodb -->
  114. <dependency>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  117. </dependency>
  118. </dependencies>
  119. <build>
  120. <plugins>
  121. <!--编译插件-->
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-compiler-plugin</artifactId>
  125. <configuration>
  126. <source>8</source>
  127. <target>8</target>
  128. <encoding>utf-8</encoding>
  129. </configuration>
  130. </plugin>
  131. <!--打包插件-->
  132. <plugin>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-maven-plugin</artifactId>
  135. </plugin>
  136. </plugins>
  137. <finalName>${project.artifactId}-${maven.build.timestamp}</finalName>
  138. </build>
  139. </project>