pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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>xyz.paragon</groupId>
  7. <artifactId>paragon</artifactId>
  8. <version>0.1-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>product-service</artifactId>
  11. <version>0.1-SNAPSHOT</version>
  12. <packaging>jar</packaging>
  13. <name>product-service</name>
  14. <description>Generic product service.</description>
  15. <dependencies>
  16. <!-- cloud -->
  17. <dependency>
  18. <groupId>org.springframework.cloud</groupId>
  19. <artifactId>spring-cloud-starter-config</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework.cloud</groupId>
  23. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.cloud</groupId>
  27. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.cloud</groupId>
  31. <artifactId>spring-cloud-netflix-hystrix-stream</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.cloud</groupId>
  35. <artifactId>spring-cloud-starter-bus-amqp</artifactId>
  36. </dependency>
  37. <!-- web -->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-web</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-actuator</artifactId>
  45. </dependency>
  46. <!-- persistence -->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-data-jpa</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.h2database</groupId>
  53. <artifactId>h2</artifactId>
  54. <scope>runtime</scope>
  55. </dependency>
  56. <!-- security -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
  60. </dependency>
  61. <!-- test -->
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-test</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.security</groupId>
  69. <artifactId>spring-security-test</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.spockframework</groupId>
  74. <artifactId>spock-core</artifactId>
  75. <version>2.0-M4-groovy-2.5</version>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.spockframework</groupId>
  80. <artifactId>spock-spring</artifactId>
  81. <version>2.0-M4-groovy-2.5</version>
  82. <scope>test</scope>
  83. </dependency>
  84. </dependencies>
  85. <build>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-maven-plugin</artifactId>
  90. </plugin>
  91. <plugin>
  92. <groupId>org.codehaus.gmavenplus</groupId>
  93. <artifactId>gmavenplus-plugin</artifactId>
  94. <version>1.12.0</version>
  95. <configuration>
  96. <targetBytecode>1.8</targetBytecode>
  97. </configuration>
  98. <executions>
  99. <execution>
  100. <goals>
  101. <goal>compileTests</goal>
  102. </goals>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. </project>