pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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>3.4.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.platform2easy</groupId>
  12. <artifactId>too-easy-trader-genesis</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>genesis</name>
  15. <description>Plataforma Too Easy</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.aot.enabled>true</spring.aot.enabled>
  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-security</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-web</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.thymeleaf.extras</groupId>
  52. <artifactId>thymeleaf-extras-springsecurity6</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-validation</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-devtools</artifactId>
  61. <scope>runtime</scope>
  62. <optional>true</optional>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.h2database</groupId>
  66. <artifactId>h2</artifactId>
  67. <scope>runtime</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.postgresql</groupId>
  71. <artifactId>postgresql</artifactId>
  72. <scope>runtime</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.projectlombok</groupId>
  76. <artifactId>lombok</artifactId>
  77. <optional>true</optional>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-test</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.security</groupId>
  86. <artifactId>spring-security-test</artifactId>
  87. <scope>test</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.auth0</groupId>
  91. <artifactId>java-jwt</artifactId>
  92. <version>4.4.0</version>
  93. </dependency>
  94. </dependencies>
  95. <build>
  96. <plugins>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-compiler-plugin</artifactId>
  100. <configuration>
  101. <annotationProcessorPaths>
  102. <path>
  103. <groupId>org.projectlombok</groupId>
  104. <artifactId>lombok</artifactId>
  105. <version>${lombok.version}</version>
  106. </path>
  107. </annotationProcessorPaths>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.hibernate.orm.tooling</groupId>
  112. <artifactId>hibernate-enhance-maven-plugin</artifactId>
  113. <version>${hibernate.version}</version>
  114. <executions>
  115. <execution>
  116. <id>enhance</id>
  117. <goals>
  118. <goal>enhance</goal>
  119. </goals>
  120. <configuration>
  121. <enableLazyInitialization>true</enableLazyInitialization>
  122. <enableDirtyTracking>true</enableDirtyTracking>
  123. <enableAssociationManagement>true</enableAssociationManagement>
  124. </configuration>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.graalvm.buildtools</groupId>
  130. <artifactId>native-maven-plugin</artifactId>
  131. <version>0.10.1</version>
  132. <executions>
  133. <execution>
  134. <goals>
  135. <goal>compile-no-fork</goal>
  136. </goals>
  137. </execution>
  138. </executions>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-maven-plugin</artifactId>
  143. <configuration>
  144. <excludes>
  145. <exclude>
  146. <groupId>org.projectlombok</groupId>
  147. <artifactId>lombok</artifactId>
  148. </exclude>
  149. </excludes>
  150. </configuration>
  151. </plugin>
  152. </plugins>
  153. </build>
  154. <profiles>
  155. <profile>
  156. <id>native</id>
  157. <activation>
  158. <activeByDefault>false</activeByDefault>
  159. </activation>
  160. <properties>
  161. <spring.aot.enabled>true</spring.aot.enabled>
  162. </properties>
  163. </profile>
  164. </profiles>
  165. </project>