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>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. </dependencies>
  88. <build>
  89. <plugins>
  90. <plugin>
  91. <groupId>org.apache.maven.plugins</groupId>
  92. <artifactId>maven-compiler-plugin</artifactId>
  93. <version>3.11.0</version>
  94. <configuration>
  95. <source>21</source>
  96. <target>21</target>
  97. <release>21</release>
  98. <annotationProcessorPaths>
  99. <path>
  100. <groupId>org.projectlombok</groupId>
  101. <artifactId>lombok</artifactId>
  102. <version>${lombok.version}</version>
  103. </path>
  104. </annotationProcessorPaths>
  105. </configuration>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.hibernate.orm.tooling</groupId>
  109. <artifactId>hibernate-enhance-maven-plugin</artifactId>
  110. <version>${hibernate.version}</version>
  111. <executions>
  112. <execution>
  113. <id>enhance</id>
  114. <goals>
  115. <goal>enhance</goal>
  116. </goals>
  117. <configuration>
  118. <enableLazyInitialization>true</enableLazyInitialization>
  119. <enableDirtyTracking>true</enableDirtyTracking>
  120. <enableAssociationManagement>true</enableAssociationManagement>
  121. </configuration>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.graalvm.buildtools</groupId>
  127. <artifactId>native-maven-plugin</artifactId>
  128. <configuration>
  129. <mainClass>com.platform2easy.genesis.GenesisApplication</mainClass>
  130. </configuration>
  131. </plugin>
  132. <plugin>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-maven-plugin</artifactId>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. <profiles>
  139. <profile>
  140. <id>native</id>
  141. <activation>
  142. <property>
  143. <name>native</name>
  144. </property>
  145. </activation>
  146. <properties>
  147. <spring.aot.enabled>true</spring.aot.enabled>
  148. </properties>
  149. </profile>
  150. </profiles>
  151. </project>