pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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.4.0</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.palatform</groupId>
  12. <artifactId>yijia</artifactId>
  13. <version>1.0.1-SNAPSHOT</version>
  14. <packaging>war</packaging>
  15. <name>YijiaRestful</name>
  16. <description>YijiaRestful project for Spring Boot</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <!-- 极光推送依赖 -->
  22. <dependency>
  23. <groupId>cn.jpush.api</groupId>
  24. <artifactId>jpush-client</artifactId>
  25. <version>3.3.10</version>
  26. </dependency>
  27. <!-- Spring Boot Reids 依赖 -->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-data-redis</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-web</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.mybatis.spring.boot</groupId>
  38. <artifactId>mybatis-spring-boot-starter</artifactId>
  39. <version>2.1.4</version>
  40. </dependency>
  41. <!-- Mysql驱动包 -->
  42. <dependency>
  43. <groupId>mysql</groupId>
  44. <artifactId>mysql-connector-java</artifactId>
  45. <version>8.0.22</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-tomcat</artifactId>
  50. <scope>provided</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-test</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. <!-- Gson json 格式化 -->
  58. <dependency>
  59. <groupId>com.google.code.gson</groupId>
  60. <artifactId>gson</artifactId>
  61. <version>2.8.5</version>
  62. </dependency>
  63. <!--阿里数据库连接池 -->
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>druid-spring-boot-starter</artifactId>
  67. <version>1.2.1</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.alibaba</groupId>
  71. <artifactId>fastjson</artifactId>
  72. <version>1.2.37</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.httpcomponents</groupId>
  76. <artifactId>httpcore</artifactId>
  77. <version>4.4.6</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.httpcomponents</groupId>
  81. <artifactId>httpclient</artifactId>
  82. <version>4.5.5</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.commons</groupId>
  86. <artifactId>commons-lang3</artifactId>
  87. <version>3.11</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. <!--Mybatis-generator插件,用于自动生成Mapper和POJO-->
  98. <groupId>org.mybatis.generator</groupId>
  99. <artifactId>mybatis-generator-maven-plugin</artifactId>
  100. <version>1.3.7</version>
  101. <configuration>
  102. <!--配置文件的位置-->
  103. <configurationFile>src/main/resources/generator/generatorConfig.xml</configurationFile>
  104. <verbose>true</verbose>
  105. <overwrite>true</overwrite>
  106. </configuration>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-surefire-plugin</artifactId>
  111. <version>2.22.2</version>
  112. <configuration>
  113. <skipTests>true</skipTests>
  114. </configuration>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. <repositories>
  119. <repository>
  120. <id>public</id>
  121. <name>aliyun nexus</name>
  122. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  123. <releases>
  124. <enabled>true</enabled>
  125. </releases>
  126. </repository>
  127. </repositories>
  128. <pluginRepositories>
  129. <pluginRepository>
  130. <id>public</id>
  131. <name>aliyun nexus</name>
  132. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  133. <releases>
  134. <enabled>true</enabled>
  135. </releases>
  136. <snapshots>
  137. <enabled>false</enabled>
  138. </snapshots>
  139. </pluginRepository>
  140. </pluginRepositories>
  141. </project>