pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-data-jpa</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-security</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-web</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.thymeleaf.extras</groupId>
  51. <artifactId>thymeleaf-extras-springsecurity6</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-validation</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.h2database</groupId>
  59. <artifactId>h2</artifactId>
  60. <scope>runtime</scope>
  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-test</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.security</groupId>
  79. <artifactId>spring-security-test</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.auth0</groupId>
  84. <artifactId>java-jwt</artifactId>
  85. <version>4.4.0</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.web3j</groupId>
  89. <artifactId>core</artifactId>
  90. <version>4.10.0</version>
  91. </dependency>
  92. </dependencies>
  93. <build>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-compiler-plugin</artifactId>
  98. <version>3.11.0</version>
  99. <configuration>
  100. <source>21</source>
  101. <target>21</target>
  102. <release>21</release>
  103. <annotationProcessorPaths>
  104. <path>
  105. <groupId>org.projectlombok</groupId>
  106. <artifactId>lombok</artifactId>
  107. <version>${lombok.version}</version>
  108. </path>
  109. </annotationProcessorPaths>
  110. </configuration>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.hibernate.orm.tooling</groupId>
  114. <artifactId>hibernate-enhance-maven-plugin</artifactId>
  115. <version>${hibernate.version}</version>
  116. <executions>
  117. <execution>
  118. <id>enhance</id>
  119. <goals>
  120. <goal>enhance</goal>
  121. </goals>
  122. <configuration>
  123. <enableLazyInitialization>true</enableLazyInitialization>
  124. <enableDirtyTracking>true</enableDirtyTracking>
  125. <enableAssociationManagement>true</enableAssociationManagement>
  126. </configuration>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.graalvm.buildtools</groupId>
  132. <artifactId>native-maven-plugin</artifactId>
  133. <configuration>
  134. <mainClass>com.platform2easy.genesis.GenesisApplication</mainClass>
  135. </configuration>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-maven-plugin</artifactId>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. <profiles>
  144. <profile>
  145. <id>native</id>
  146. <activation>
  147. <property>
  148. <name>native</name>
  149. </property>
  150. </activation>
  151. <properties>
  152. <spring.aot.enabled>true</spring.aot.enabled>
  153. </properties>
  154. </profile>
  155. </profiles>
  156. </project>