pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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.2.2.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>cn.edu.nju</groupId>
  12. <artifactId>code_clone_detect_service</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>code_clone_detect_service</name>
  15. <description>code clone detect servicefor moocoder</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <spring-cloud.version>Hoxton.SR1</spring-cloud.version>
  19. </properties>
  20. <dependencies>
  21. <!-- Spring Boot Auto-Configurable Dependencies -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-data-jpa</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-jdbc</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-validation</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-configuration-processor</artifactId>
  41. </dependency>
  42. <!-- Hibernate Dependencies -->
  43. <dependency>
  44. <groupId>org.hibernate</groupId>
  45. <artifactId>hibernate-java8</artifactId>
  46. </dependency>
  47. <!--Database Driver Dependencies-->
  48. <dependency>
  49. <groupId>mysql</groupId>
  50. <artifactId>mysql-connector-java</artifactId>
  51. <scope>runtime</scope>
  52. </dependency>
  53. <!--Spring Cloud Dependencies-->
  54. <dependency>
  55. <groupId>org.springframework.cloud</groupId>
  56. <artifactId>spring-cloud-starter-eureka</artifactId>
  57. <version>1.4.6.RELEASE</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.cloud</groupId>
  61. <artifactId>spring-cloud-starter-feign</artifactId>
  62. <version>1.4.6.RELEASE</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.cloud</groupId>
  66. <artifactId>spring-cloud-starter-hystrix</artifactId>
  67. <version>1.4.6.RELEASE</version>
  68. </dependency>
  69. <!--Swagger2 Dependencies-->
  70. <dependency>
  71. <groupId>com.spring4all</groupId>
  72. <artifactId>swagger-spring-boot-starter</artifactId>
  73. <version>1.8.0.RELEASE</version>
  74. </dependency>
  75. <!--Lombok Dependencies-->
  76. <dependency>
  77. <groupId>org.projectlombok</groupId>
  78. <artifactId>lombok</artifactId>
  79. <version>1.18.4</version>
  80. </dependency>
  81. <!--RabbitMq and Spring Cloud Stream Dependencies-->
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-amqp</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.cloud</groupId>
  88. <artifactId>spring-cloud-starter-stream-rabbit</artifactId>
  89. <version>2.0.1.RELEASE</version>
  90. </dependency>
  91. <!-- Antlr4 Dependencies -->
  92. <dependency>
  93. <groupId>org.antlr</groupId>
  94. <artifactId>antlr4-runtime</artifactId>
  95. <version>4.7.1</version>
  96. </dependency>
  97. <!-- Test Dependencies -->
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-test</artifactId>
  101. <scope>test</scope>
  102. <exclusions>
  103. <exclusion>
  104. <groupId>org.junit.vintage</groupId>
  105. <artifactId>junit-vintage-engine</artifactId>
  106. </exclusion>
  107. </exclusions>
  108. </dependency>
  109. <!-- POI Dependencies -->
  110. <dependency>
  111. <groupId>org.apache.poi</groupId>
  112. <artifactId>poi</artifactId>
  113. <version>3.17</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.poi</groupId>
  117. <artifactId>poi-ooxml</artifactId>
  118. <version>3.17</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.greenrobot</groupId>
  122. <artifactId>eventbus</artifactId>
  123. <version>3.1.1</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.json</groupId>
  127. <artifactId>json</artifactId>
  128. <version>20180130</version>
  129. </dependency>
  130. </dependencies>
  131. <dependencyManagement>
  132. <dependencies>
  133. <dependency>
  134. <groupId>org.springframework.cloud</groupId>
  135. <artifactId>spring-cloud-dependencies</artifactId>
  136. <version>${spring-cloud.version}</version>
  137. <type>pom</type>
  138. <scope>import</scope>
  139. </dependency>
  140. </dependencies>
  141. </dependencyManagement>
  142. <build>
  143. <plugins>
  144. <plugin>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-maven-plugin</artifactId>
  147. </plugin>
  148. <plugin>
  149. <groupId>org.antlr</groupId>
  150. <artifactId>antlr4-maven-plugin</artifactId>
  151. <version>4.7.1</version>
  152. <executions>
  153. <execution>
  154. <id>antlr</id>
  155. <goals>
  156. <goal>antlr4</goal>
  157. </goals>
  158. <phase>none</phase>
  159. </execution>
  160. </executions>
  161. <configuration>
  162. <outputDirectory>src/test/java</outputDirectory>
  163. <listener>true</listener>
  164. <treatWarningsAsErrors>true</treatWarningsAsErrors>
  165. </configuration>
  166. </plugin>
  167. </plugins>
  168. </build>
  169. </project>