pom.xml 5.0 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 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>timer_task_service</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>timer_task_service</name>
  15. <description>timer task service for 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. <dependency>
  92. <groupId>org.json</groupId>
  93. <artifactId>json</artifactId>
  94. <version>20180130</version>
  95. </dependency>
  96. <!-- Test Dependencies -->
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-test</artifactId>
  100. <scope>test</scope>
  101. <exclusions>
  102. <exclusion>
  103. <groupId>org.junit.vintage</groupId>
  104. <artifactId>junit-vintage-engine</artifactId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. </dependencies>
  109. <dependencyManagement>
  110. <dependencies>
  111. <dependency>
  112. <groupId>org.springframework.cloud</groupId>
  113. <artifactId>spring-cloud-dependencies</artifactId>
  114. <version>${spring-cloud.version}</version>
  115. <type>pom</type>
  116. <scope>import</scope>
  117. </dependency>
  118. </dependencies>
  119. </dependencyManagement>
  120. <build>
  121. <finalName>${finalName}</finalName>
  122. <plugins>
  123. <plugin>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-maven-plugin</artifactId>
  126. <version>2.2.6.RELEASE</version>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. </project>