pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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>com.h2database</groupId>
  61. <artifactId>h2</artifactId>
  62. <scope>runtime</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.postgresql</groupId>
  66. <artifactId>postgresql</artifactId>
  67. <scope>runtime</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.projectlombok</groupId>
  71. <artifactId>lombok</artifactId>
  72. <optional>true</optional>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-test</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.security</groupId>
  81. <artifactId>spring-security-test</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.auth0</groupId>
  86. <artifactId>java-jwt</artifactId>
  87. <version>4.4.0</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.web3j</groupId>
  91. <artifactId>core</artifactId>
  92. <version>4.10.0</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.cloud</groupId>
  96. <artifactId>spring-cloud-starter-openfeign</artifactId>
  97. </dependency>
  98. </dependencies>
  99. <dependencyManagement>
  100. <dependencies>
  101. <dependency>
  102. <groupId>org.springframework.cloud</groupId>
  103. <artifactId>spring-cloud-dependencies</artifactId>
  104. <version>${spring-cloud.version}</version>
  105. <type>pom</type>
  106. <scope>import</scope>
  107. </dependency>
  108. </dependencies>
  109. </dependencyManagement>
  110. <build>
  111. <plugins>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-compiler-plugin</artifactId>
  115. <version>3.11.0</version>
  116. <configuration>
  117. <source>21</source>
  118. <target>21</target>
  119. <release>21</release>
  120. <annotationProcessorPaths>
  121. <path>
  122. <groupId>org.projectlombok</groupId>
  123. <artifactId>lombok</artifactId>
  124. <version>${lombok.version}</version>
  125. </path>
  126. </annotationProcessorPaths>
  127. </configuration>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.hibernate.orm.tooling</groupId>
  131. <artifactId>hibernate-enhance-maven-plugin</artifactId>
  132. <version>${hibernate.version}</version>
  133. <executions>
  134. <execution>
  135. <id>enhance</id>
  136. <goals>
  137. <goal>enhance</goal>
  138. </goals>
  139. <configuration>
  140. <enableLazyInitialization>true</enableLazyInitialization>
  141. <enableDirtyTracking>true</enableDirtyTracking>
  142. <enableAssociationManagement>true</enableAssociationManagement>
  143. </configuration>
  144. </execution>
  145. </executions>
  146. </plugin>
  147. <plugin>
  148. <groupId>org.graalvm.buildtools</groupId>
  149. <artifactId>native-maven-plugin</artifactId>
  150. <configuration>
  151. <mainClass>com.platform2easy.genesis.GenesisApplication</mainClass>
  152. </configuration>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-maven-plugin</artifactId>
  157. </plugin>
  158. </plugins>
  159. </build>
  160. <profiles>
  161. <profile>
  162. <id>native</id>
  163. <activation>
  164. <property>
  165. <name>native</name>
  166. </property>
  167. </activation>
  168. <properties>
  169. <spring.aot.enabled>true</spring.aot.enabled>
  170. </properties>
  171. </profile>
  172. </profiles>
  173. </project>