pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.example</groupId>
  7. <artifactId>Kafka-neo4j</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <!-- <version>1.5.10.RELEASE</version>-->
  13. <version>2.2.6.RELEASE</version>
  14. <relativePath /> <!-- lookup parent from repository -->
  15. </parent>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <java.version>1.8</java.version>
  19. <start-class>com.winhc.Application</start-class>
  20. <!-- <spring-cloud.version>Dalston.SR3</spring-cloud.version>-->
  21. <!-- <spring-cloud.version>Finchley.M8</spring-cloud.version>-->
  22. </properties>
  23. <dependencies>
  24. <!-- 添加mysql驱动包 -->
  25. <dependency>
  26. <groupId> mysql</groupId>
  27. <artifactId> mysql-connector-java</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.mybatis.spring.boot</groupId>
  31. <artifactId>mybatis-spring-boot-starter</artifactId>
  32. <version>1.1.1</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-test</artifactId>
  37. <scope>test</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-web</artifactId>
  42. <exclusions>
  43. <exclusion>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-tomcat</artifactId>
  46. </exclusion>
  47. </exclusions>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-tomcat</artifactId>
  52. <scope>provided</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-devtools</artifactId>
  57. <optional>true</optional>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>fastjson</artifactId>
  62. <version>1.1.40</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.commons</groupId>
  66. <artifactId>commons-lang3</artifactId>
  67. <version>3.4</version>
  68. </dependency>
  69. <!-- <dependency>-->
  70. <!-- <groupId>org.apache.httpcomponents</groupId>-->
  71. <!-- <artifactId>httpclient</artifactId>-->
  72. <!-- </dependency>-->
  73. <!-- <dependency>-->
  74. <!-- <groupId>com.google.code.gson</groupId>-->
  75. <!-- <artifactId>gson</artifactId>-->
  76. <!-- <version>2.8.2</version>-->
  77. <!-- </dependency>-->
  78. <!-- <dependency>-->
  79. <!-- <groupId>org.neo4j</groupId>-->
  80. <!-- <artifactId>neo4j-ogm-http-driver</artifactId>-->
  81. <!-- </dependency>-->
  82. <!-- swagger依赖 -->
  83. <dependency>
  84. <groupId>io.springfox</groupId>
  85. <artifactId>springfox-swagger2</artifactId>
  86. <version>2.6.1</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>io.springfox</groupId>
  90. <artifactId>springfox-swagger-ui</artifactId>
  91. <version>2.6.1</version>
  92. </dependency>
  93. <!-- 图形数据库Neo4j 官方支持的neo4j依赖包 -->
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-data-neo4j</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.projectlombok</groupId>
  100. <artifactId>lombok</artifactId>
  101. <optional>true</optional>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.alibaba</groupId>
  105. <artifactId>druid</artifactId>
  106. <version>1.1.10</version>
  107. </dependency>
  108. <!--SpringBoot 使用 JDBCTemplate 引用下面这个包才会自动注入,不要引用上面按个-->
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-jdbc</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.springframework.kafka</groupId>
  115. <artifactId>spring-kafka</artifactId>
  116. </dependency>
  117. <!-- <dependency>-->
  118. <!-- <groupId>org.neo4j.driver</groupId>-->
  119. <!-- <artifactId>neo4j-java-driver-spring-boot-starter</artifactId>-->
  120. <!-- <version>4.1.1.0</version>-->
  121. <!-- </dependency>-->
  122. <dependency>
  123. <groupId>com.google.code.gson</groupId>
  124. <artifactId>gson</artifactId>
  125. <version>2.6.2</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>cn.hutool</groupId>
  129. <artifactId>hutool-all</artifactId>
  130. <version>4.5.16</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  135. </dependency>
  136. </dependencies>
  137. <dependencyManagement>
  138. <dependencies>
  139. <!-- <dependency>-->
  140. <!-- <groupId>org.springframework.cloud</groupId>-->
  141. <!-- <artifactId>spring-cloud-dependencies</artifactId>-->
  142. <!-- <version>${spring-cloud.version}</version>-->
  143. <!-- <type>pom</type>-->
  144. <!-- <scope>import</scope>-->
  145. <!-- </dependency>-->
  146. </dependencies>
  147. </dependencyManagement>
  148. <build>
  149. <finalName>kafka-neo4j</finalName>
  150. <plugins>
  151. <plugin>
  152. <groupId>org.springframework.boot</groupId>
  153. <artifactId>spring-boot-maven-plugin</artifactId>
  154. <configuration>
  155. <fork>true</fork>
  156. </configuration>
  157. </plugin>
  158. </plugins>
  159. </build>
  160. </project>