pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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>4.0.3</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>pl.dmcs</groupId>
  12. <artifactId>userService</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>userService</name>
  15. <description>userService</description>
  16. <url/>
  17. <licenses>
  18. <license/>
  19. </licenses>
  20. <developers>
  21. <developer/>
  22. </developers>
  23. <scm>
  24. <connection/>
  25. <developerConnection/>
  26. <tag/>
  27. <url/>
  28. </scm>
  29. <properties>
  30. <java.version>21</java.version>
  31. <spring-cloud.version>2025.1.0</spring-cloud.version>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-data-jpa</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-flyway</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-security</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-validation</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-webmvc</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.flywaydb</groupId>
  56. <artifactId>flyway-database-postgresql</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.cloud</groupId>
  60. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.postgresql</groupId>
  64. <artifactId>postgresql</artifactId>
  65. <scope>runtime</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.projectlombok</groupId>
  69. <artifactId>lombok</artifactId>
  70. <optional>true</optional>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-data-jpa-test</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-flyway-test</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-security-test</artifactId>
  85. <scope>test</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-validation-test</artifactId>
  90. <scope>test</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-webmvc-test</artifactId>
  95. <scope>test</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-testcontainers</artifactId>
  100. <scope>test</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.testcontainers</groupId>
  104. <artifactId>testcontainers-junit-jupiter</artifactId>
  105. <scope>test</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.testcontainers</groupId>
  109. <artifactId>testcontainers-postgresql</artifactId>
  110. <scope>test</scope>
  111. </dependency>
  112. </dependencies>
  113. <dependencyManagement>
  114. <dependencies>
  115. <dependency>
  116. <groupId>org.springframework.cloud</groupId>
  117. <artifactId>spring-cloud-dependencies</artifactId>
  118. <version>${spring-cloud.version}</version>
  119. <type>pom</type>
  120. <scope>import</scope>
  121. </dependency>
  122. </dependencies>
  123. </dependencyManagement>
  124. <build>
  125. <plugins>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-compiler-plugin</artifactId>
  129. <configuration>
  130. <annotationProcessorPaths>
  131. <path>
  132. <groupId>org.projectlombok</groupId>
  133. <artifactId>lombok</artifactId>
  134. </path>
  135. </annotationProcessorPaths>
  136. </configuration>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-maven-plugin</artifactId>
  141. <configuration>
  142. <excludes>
  143. <exclude>
  144. <groupId>org.projectlombok</groupId>
  145. <artifactId>lombok</artifactId>
  146. </exclude>
  147. </excludes>
  148. </configuration>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. </project>