pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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.5.4</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. <hibernate.version>6.6.13.Final</hibernate.version>
  32. <spring-cloud.version>2025.0.0</spring-cloud.version>
  33. </properties>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-data-jpa</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-security</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-web</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.thymeleaf.extras</groupId>
  53. <artifactId>thymeleaf-extras-springsecurity6</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-validation</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.postgresql</groupId>
  61. <artifactId>postgresql</artifactId>
  62. <scope>runtime</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.flywaydb</groupId>
  66. <artifactId>flyway-core</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.projectlombok</groupId>
  70. <artifactId>lombok</artifactId>
  71. <optional>true</optional>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-test</artifactId>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.security</groupId>
  80. <artifactId>spring-security-test</artifactId>
  81. <scope>test</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.auth0</groupId>
  85. <artifactId>java-jwt</artifactId>
  86. <version>4.4.0</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.web3j</groupId>
  90. <artifactId>core</artifactId>
  91. <version>4.10.0</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.cloud</groupId>
  95. <artifactId>spring-cloud-starter-openfeign</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>me.paulschwarz</groupId>
  99. <artifactId>spring-dotenv</artifactId>
  100. <version>4.0.0</version>
  101. </dependency>
  102. </dependencies>
  103. <dependencyManagement>
  104. <dependencies>
  105. <dependency>
  106. <groupId>org.springframework.cloud</groupId>
  107. <artifactId>spring-cloud-dependencies</artifactId>
  108. <version>${spring-cloud.version}</version>
  109. <type>pom</type>
  110. <scope>import</scope>
  111. </dependency>
  112. </dependencies>
  113. </dependencyManagement>
  114. <build>
  115. <plugins>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-compiler-plugin</artifactId>
  119. <version>3.11.0</version>
  120. <configuration>
  121. <source>21</source>
  122. <target>21</target>
  123. <release>21</release>
  124. <annotationProcessorPaths>
  125. <path>
  126. <groupId>org.projectlombok</groupId>
  127. <artifactId>lombok</artifactId>
  128. <version>${lombok.version}</version>
  129. </path>
  130. </annotationProcessorPaths>
  131. </configuration>
  132. </plugin>
  133. <plugin>
  134. <groupId>org.hibernate.orm.tooling</groupId>
  135. <artifactId>hibernate-enhance-maven-plugin</artifactId>
  136. <version>${hibernate.version}</version>
  137. <executions>
  138. <execution>
  139. <id>enhance</id>
  140. <goals>
  141. <goal>enhance</goal>
  142. </goals>
  143. <configuration>
  144. <enableLazyInitialization>true</enableLazyInitialization>
  145. <enableDirtyTracking>true</enableDirtyTracking>
  146. <enableAssociationManagement>true</enableAssociationManagement>
  147. </configuration>
  148. </execution>
  149. </executions>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.graalvm.buildtools</groupId>
  153. <artifactId>native-maven-plugin</artifactId>
  154. <configuration>
  155. <mainClass>com.platform2easy.genesis.GenesisApplication</mainClass>
  156. </configuration>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-maven-plugin</artifactId>
  161. </plugin>
  162. </plugins>
  163. </build>
  164. <profiles>
  165. <profile>
  166. <id>native</id>
  167. <activation>
  168. <property>
  169. <name>native</name>
  170. </property>
  171. </activation>
  172. <properties>
  173. <spring.aot.enabled>true</spring.aot.enabled>
  174. </properties>
  175. </profile>
  176. </profiles>
  177. </project>