pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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 http://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.1.4.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>life.majiang.community</groupId>
  12. <artifactId>community</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>community</name>
  15. <description>community</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <profiles>
  20. <profile>
  21. <id>dev</id>
  22. <properties>
  23. <db.url>jdbc:h2:~/community</db.url>
  24. <db.user>sa</db.user>
  25. <db.password>123</db.password>
  26. </properties>
  27. <activation>
  28. <activeByDefault>true</activeByDefault>
  29. </activation>
  30. </profile>
  31. </profiles>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-web</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-jdbc</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.mybatis.spring.boot</groupId>
  47. <artifactId>mybatis-spring-boot-starter</artifactId>
  48. <version>2.0.1</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-test</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.squareup.okhttp3</groupId>
  57. <artifactId>okhttp</artifactId>
  58. <version>3.14.1</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.alibaba</groupId>
  62. <artifactId>fastjson</artifactId>
  63. <version>1.2.57</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>mysql</groupId>
  67. <artifactId>mysql-connector-java</artifactId>
  68. <version>5.1.45</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.google.guava</groupId>
  72. <artifactId>guava</artifactId>
  73. <version>23.0</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.h2database</groupId>
  77. <artifactId>h2</artifactId>
  78. <version>2.0.206</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.projectlombok</groupId>
  82. <artifactId>lombok</artifactId>
  83. <version>1.18.6</version>
  84. <scope>provided</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-devtools</artifactId>
  89. <optional>true</optional>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.commons</groupId>
  93. <artifactId>commons-lang3</artifactId>
  94. <version>3.9</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>commons-io</groupId>
  98. <artifactId>commons-io</artifactId>
  99. <version>2.7</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>cn.ucloud.ufile</groupId>
  103. <artifactId>ufile-client-java</artifactId>
  104. <version>2.1.1</version>
  105. </dependency>
  106. </dependencies>
  107. <build>
  108. <plugins>
  109. <plugin>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-maven-plugin</artifactId>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.flywaydb</groupId>
  115. <artifactId>flyway-maven-plugin</artifactId>
  116. <version>5.2.4</version>
  117. <configuration>
  118. <url>${db.url}</url>
  119. <user>${db.user}</user>
  120. <password>${db.password}</password>
  121. </configuration>
  122. <dependencies>
  123. <dependency>
  124. <groupId>mysql</groupId>
  125. <artifactId>mysql-connector-java</artifactId>
  126. <version>5.1.45</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.h2database</groupId>
  130. <artifactId>h2</artifactId>
  131. <version>2.0.206</version>
  132. </dependency>
  133. </dependencies>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.mybatis.generator</groupId>
  137. <artifactId>mybatis-generator-maven-plugin</artifactId>
  138. <version>1.3.7</version>
  139. <dependencies>
  140. <dependency>
  141. <groupId>com.h2database</groupId>
  142. <artifactId>h2</artifactId>
  143. <version>2.0.206</version>
  144. </dependency>
  145. </dependencies>
  146. </plugin>
  147. </plugins>
  148. </build>
  149. </project>