pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.chinacreator.kafka</groupId>
  6. <artifactId>kafkaorder</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>kafkaorder</name>
  10. <description>Demo project for Spring Boot</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>1.5.15.RELEASE</version>
  15. <relativePath/> <!-- lookup parent from repository -->
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.7</java.version>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-test</artifactId>
  30. <scope>test</scope>
  31. </dependency>
  32. <!-- Mybatis -->
  33. <dependency>
  34. <groupId>org.mybatis.spring.boot</groupId>
  35. <artifactId>mybatis-spring-boot-starter</artifactId>
  36. <version>1.1.1</version>
  37. </dependency>
  38. <!-- oracle -->
  39. <dependency>
  40. <groupId>com.oracle</groupId>
  41. <artifactId>ojdbc6</artifactId>
  42. <version>11.2.0.3</version>
  43. </dependency>
  44. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  45. <dependency>
  46. <groupId>com.google.gson</groupId>
  47. <artifactId>gson</artifactId>
  48. <version>2.3.1</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-aop</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.kafka</groupId>
  56. <artifactId>kafka_2.12</artifactId>
  57. <version>1.1.0</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.kafka</groupId>
  61. <artifactId>kafka-clients</artifactId>
  62. <version>1.1.0</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>commons-lang</groupId>
  66. <artifactId>commons-lang</artifactId>
  67. <version>2.6</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.alibaba</groupId>
  71. <artifactId>fastjson</artifactId>
  72. <version>1.2.83</version>
  73. </dependency>
  74. <!-- Spring Boot 缓存支持启动器 -->
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-cache</artifactId>
  78. </dependency>
  79. <!-- Ehcache 坐标 -->
  80. <dependency>
  81. <groupId>net.sf.ehcache</groupId>
  82. <artifactId>ehcache</artifactId>
  83. </dependency>
  84. <!-- quartz定时任务 -->
  85. <dependency>
  86. <groupId>org.quartz-scheduler</groupId>
  87. <artifactId>quartz</artifactId>
  88. <version>2.1.5</version>
  89. </dependency>
  90. <!-- 使用druid连接池 -->
  91. <dependency>
  92. <groupId>com.alibaba</groupId>
  93. <artifactId>druid-spring-boot-starter</artifactId>
  94. <version>1.1.20</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.commons</groupId>
  98. <artifactId>commons-codec</artifactId>
  99. <version>1.9</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>cn.hutool</groupId>
  103. <artifactId>hutool-crypto</artifactId>
  104. <version>5.8.10</version>
  105. </dependency>
  106. </dependencies>
  107. <build>
  108. <plugins>
  109. <plugin>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-maven-plugin</artifactId>
  112. </plugin>
  113. <!--JDK版本 -->
  114. <plugin>
  115. <artifactId>maven-compiler-plugin</artifactId>
  116. <configuration>
  117. <source>1.7</source>
  118. <target>1.7</target>
  119. </configuration>
  120. </plugin>
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-surefire-plugin</artifactId>
  124. <configuration>
  125. <skip>true</skip>
  126. </configuration>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. </project>