pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. <parent>
  6. <artifactId>market_warehouse</artifactId>
  7. <groupId>com.liangjiang</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>hot_collection</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-web</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.baomidou</groupId>
  21. <artifactId>mybatis-plus-boot-starter</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.apache.httpcomponents</groupId>
  25. <artifactId>httpclient</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-aop</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>mysql</groupId>
  33. <artifactId>mysql-connector-java</artifactId>
  34. </dependency>
  35. <!-- druid数据源驱动 -->
  36. <dependency>
  37. <groupId>com.alibaba</groupId>
  38. <artifactId>druid-spring-boot-starter</artifactId>
  39. </dependency>
  40. <!-- activemq -->
  41. <!--json-->
  42. <dependency>
  43. <groupId>com.alibaba</groupId>
  44. <artifactId>fastjson</artifactId>
  45. </dependency>
  46. <!-- 由于SpringBoot 2.x中默认并没有使用Redis连接池,所以需要添加commons-pool2的依赖 -->
  47. <!-- <dependency>-->
  48. <!-- <groupId>org.apache.commons</groupId>-->
  49. <!-- <artifactId>commons-pool2</artifactId>-->
  50. <!-- </dependency>-->
  51. <!-- &lt;!&ndash;redis依赖配置&ndash;&gt;-->
  52. <!-- <dependency>-->
  53. <!-- <groupId>org.springframework.boot</groupId>-->
  54. <!-- <artifactId>spring-boot-starter-data-redis</artifactId>-->
  55. <!-- </dependency>-->
  56. <!-- hutool 一个常用工具集 -->
  57. <dependency>
  58. <groupId>cn.hutool</groupId>
  59. <artifactId>hutool-all</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.commons</groupId>
  63. <artifactId>commons-collections4</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.google.guava</groupId>
  67. <artifactId>guava</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.projectlombok</groupId>
  71. <artifactId>lombok</artifactId>
  72. <scope>provided</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.github.pagehelper</groupId>
  76. <artifactId>pagehelper</artifactId>
  77. <version>6.1.0</version>
  78. <scope>compile</scope>
  79. </dependency>
  80. </dependencies>
  81. <build>
  82. <finalName>hot_collection</finalName>
  83. <plugins>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-compiler-plugin</artifactId>
  87. <configuration>
  88. <source>1.8</source>
  89. <target>1.8</target>
  90. <encoding>utf-8</encoding>
  91. </configuration>
  92. </plugin>
  93. <!--打包一个JAR-->
  94. <plugin>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-maven-plugin</artifactId>
  97. <configuration>
  98. <mainClass>com.liangjiang.hot_collection.HotCollectionApp</mainClass>
  99. <includeSystemScope>true</includeSystemScope>
  100. </configuration>
  101. <executions>
  102. <execution>
  103. <goals>
  104. <goal>repackage</goal>
  105. </goals>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. </project>