123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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.7.6</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.example</groupId>
  12. <artifactId>civilizedCity</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>civilizedCity</name>
  15. <description>civilizedCity</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.mysql</groupId>
  26. <artifactId>mysql-connector-j</artifactId>
  27. <scope>runtime</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-configuration-processor</artifactId>
  32. <optional>true</optional>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.projectlombok</groupId>
  36. <artifactId>lombok</artifactId>
  37. <optional>true</optional>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-test</artifactId>
  42. <scope>test</scope>
  43. </dependency>
  44. <!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
  45. <dependency>
  46. <groupId>cn.dev33</groupId>
  47. <artifactId>sa-token-spring-boot-starter</artifactId>
  48. <version>1.33.0</version>
  49. </dependency>
  50. <!-- Sa-Token 整合 jwt -->
  51. <dependency>
  52. <groupId>cn.dev33</groupId>
  53. <artifactId>sa-token-jwt</artifactId>
  54. <version>1.33.0</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>easyexcel</artifactId>
  59. <version>3.1.3</version>
  60. </dependency>
  61. <!--mybatis-plus start-->
  62. <dependency>
  63. <groupId>com.baomidou</groupId>
  64. <artifactId>mybatis-plus-boot-starter</artifactId>
  65. <version>3.5.1</version>
  66. </dependency>
  67. <!--mybatis-plus end-->
  68. <!--weixin-miniapp start-->
  69. <dependency>
  70. <groupId>com.github.binarywang</groupId>
  71. <artifactId>weixin-java-miniapp</artifactId>
  72. <version>4.4.0</version>
  73. </dependency>
  74. <!--weixin-miniapp start-->
  75. <!--swagger start-->
  76. <dependency>
  77. <groupId>io.springfox</groupId>
  78. <artifactId>springfox-boot-starter</artifactId>
  79. <version>3.0.0</version>
  80. </dependency>
  81. <!--swagger end-->
  82. </dependencies>
  83. <profiles>
  84. <profile>
  85. <id>dev</id>
  86. <properties>
  87. <profileActive>dev</profileActive>
  88. </properties>
  89. <activation>
  90. <activeByDefault>true</activeByDefault>
  91. </activation>
  92. </profile>
  93. <profile>
  94. <id>prod</id>
  95. <properties>
  96. <profileActive>prod</profileActive>
  97. </properties>
  98. <activation>
  99. <activeByDefault>false</activeByDefault>
  100. </activation>
  101. <build>
  102. </build>
  103. </profile>
  104. </profiles>
  105. <build>
  106. <plugins>
  107. <plugin>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-maven-plugin</artifactId>
  110. <configuration>
  111. <excludes>
  112. <exclude>
  113. <groupId>org.projectlombok</groupId>
  114. <artifactId>lombok</artifactId>
  115. </exclude>
  116. </excludes>
  117. </configuration>
  118. </plugin>
  119. </plugins>
  120. <resources>
  121. <resource>
  122. <directory>src/main/resources</directory>
  123. <filtering>true</filtering>
  124. <includes>
  125. <include>**/*.xml</include>
  126. <include>application.yml</include>
  127. <include>application-${profileActive}.yml</include>
  128. </includes>
  129. </resource>
  130. </resources>
  131. </build>
  132. </project>