pom.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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>price_collection</artifactId>
  12. <name>${project.artifactId}</name>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-web</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-aop</artifactId>
  21. </dependency>
  22. <!-- activemq -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-activemq</artifactId>
  26. </dependency>
  27. <!--json-->
  28. <dependency>
  29. <groupId>com.alibaba</groupId>
  30. <artifactId>fastjson</artifactId>
  31. </dependency>
  32. <!-- 由于SpringBoot 2.x中默认并没有使用Redis连接池,所以需要添加commons-pool2的依赖 -->
  33. <dependency>
  34. <groupId>org.apache.commons</groupId>
  35. <artifactId>commons-pool2</artifactId>
  36. </dependency>
  37. <!--redis依赖配置-->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-data-redis</artifactId>
  41. </dependency>
  42. <!-- hutool 一个常用工具集 -->
  43. <dependency>
  44. <groupId>cn.hutool</groupId>
  45. <artifactId>hutool-all</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.commons</groupId>
  49. <artifactId>commons-collections4</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.google.guava</groupId>
  53. <artifactId>guava</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.projectlombok</groupId>
  57. <artifactId>lombok</artifactId>
  58. <scope>provided</scope>
  59. </dependency>
  60. </dependencies>
  61. <build>
  62. <finalName>price_collection</finalName>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.apache.maven.plugins</groupId>
  66. <artifactId>maven-compiler-plugin</artifactId>
  67. <configuration>
  68. <source>1.8</source>
  69. <target>1.8</target>
  70. <encoding>utf-8</encoding>
  71. </configuration>
  72. </plugin>
  73. <!--打包一个JAR-->
  74. <plugin>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-maven-plugin</artifactId>
  77. <configuration>
  78. <mainClass>com.liangjiang.price_collection.PriceCollectionApp</mainClass>
  79. <includeSystemScope>true</includeSystemScope>
  80. </configuration>
  81. <executions>
  82. <execution>
  83. <goals>
  84. <goal>repackage</goal>
  85. </goals>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. </project>