pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. 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. <groupId>org.jeecgframework.boot</groupId>
  6. <artifactId>jeecg-boot</artifactId>
  7. <version>1.0.1</version>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>2.0.3.RELEASE</version>
  12. <relativePath/>
  13. </parent>
  14. <repositories>
  15. <repository>
  16. <id>aliyun</id>
  17. <name>aliyun Repository</name>
  18. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  19. <snapshots>
  20. <enabled>false</enabled>
  21. </snapshots>
  22. </repository>
  23. <repository>
  24. <id>jeecg</id>
  25. <name>jeecg Repository</name>
  26. <url>http://maven.jeecg.org/nexus/content/repositories/jeecg</url>
  27. <snapshots>
  28. <enabled>false</enabled>
  29. </snapshots>
  30. </repository>
  31. </repositories>
  32. <properties>
  33. <java.version>1.8</java.version>
  34. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  35. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  36. <mybatis-plus.version>3.0.6</mybatis-plus.version>
  37. <druid.version>1.1.10</druid.version>
  38. <jwt.version>0.9.1</jwt.version>
  39. </properties>
  40. <dependencies>
  41. <!--集成springmvc框架并实现自动配置 -->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-web</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-test</artifactId>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-aop</artifactId>
  54. </dependency>
  55. <!-- Lombok get set 构造方法 toString logger 自动生成工具-->
  56. <!--注意:需要IDE也安装对应插件,可直接在plugins里面搜,不安装,语法报错但不影响编译和运行-->
  57. <dependency>
  58. <groupId>org.projectlombok</groupId>
  59. <artifactId>lombok</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-devtools</artifactId>
  64. <optional>true</optional>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-freemarker</artifactId>
  69. </dependency>
  70. <!-- mybatis-plus -->
  71. <dependency>
  72. <groupId>com.baomidou</groupId>
  73. <artifactId>mybatis-plus-boot-starter</artifactId>
  74. <version>${mybatis-plus.version}</version>
  75. </dependency>
  76. <!-- mybatis-plus -->
  77. <!-- druid阿里巴巴数据库连接池 -->
  78. <dependency>
  79. <groupId>com.alibaba</groupId>
  80. <artifactId>druid-spring-boot-starter</artifactId>
  81. <version>1.1.10</version>
  82. </dependency>
  83. <!-- 动态数据源 -->
  84. <dependency>
  85. <groupId>com.baomidou</groupId>
  86. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  87. <version>2.5.0</version>
  88. </dependency>
  89. <!-- json -->
  90. <dependency>
  91. <groupId>com.alibaba</groupId>
  92. <artifactId>fastjson</artifactId>
  93. <version>1.2.35</version>
  94. </dependency>
  95. <!--mysql-->
  96. <dependency>
  97. <groupId>mysql</groupId>
  98. <artifactId>mysql-connector-java</artifactId>
  99. <scope>runtime</scope>
  100. </dependency>
  101. <!-- Quartz定时任务 -->
  102. <dependency>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-starter-quartz</artifactId>
  105. </dependency>
  106. <!--JWT-->
  107. <dependency>
  108. <groupId>com.auth0</groupId>
  109. <artifactId>java-jwt</artifactId>
  110. <version>3.4.1</version>
  111. </dependency>
  112. <!--shiro-->
  113. <dependency>
  114. <groupId>org.apache.shiro</groupId>
  115. <artifactId>shiro-spring-boot-starter</artifactId>
  116. <version>1.4.0-RC2</version>
  117. </dependency>
  118. <!-- Swagger API文档 -->
  119. <dependency>
  120. <groupId>io.springfox</groupId>
  121. <artifactId>springfox-swagger2</artifactId>
  122. <version>2.9.2</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>io.springfox</groupId>
  126. <artifactId>springfox-swagger-ui</artifactId>
  127. <version>2.9.2</version>
  128. </dependency>
  129. <!-- redis -->
  130. <dependency>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-starter-data-redis</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.commons</groupId>
  136. <artifactId>commons-pool2</artifactId>
  137. </dependency>
  138. <!-- jeecg-boot 代码生成器 -->
  139. <dependency>
  140. <groupId>org.jeecgframework.boot</groupId>
  141. <artifactId>codegenerate</artifactId>
  142. <version>1.0.0</version>
  143. </dependency>
  144. </dependencies>
  145. <build>
  146. <plugins>
  147. <plugin>
  148. <groupId>org.springframework.boot</groupId>
  149. <artifactId>spring-boot-maven-plugin</artifactId>
  150. </plugin>
  151. <!-- 指定JDK编译版本 -->
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-compiler-plugin</artifactId>
  155. <configuration>
  156. <source>1.8</source>
  157. <target>1.8</target>
  158. <encoding>UTF-8</encoding>
  159. </configuration>
  160. </plugin>
  161. </plugins>
  162. <resources>
  163. <resource>
  164. <directory>src/main/resources</directory>
  165. <filtering>true</filtering>
  166. </resource>
  167. <resource>
  168. <directory>src/main/java</directory>
  169. <includes>
  170. <include>**/*.xml</include>
  171. <include>**/*.json</include>
  172. </includes>
  173. </resource>
  174. </resources>
  175. </build>
  176. </project>