Ranghetti 6 miesięcy temu
rodzic
commit
8f286ebb10
1 zmienionych plików z 24 dodań i 2 usunięć
  1. 24 2
      pom.xml

+ 24 - 2
pom.xml

@@ -9,9 +9,9 @@
         <relativePath/> <!-- lookup parent from repository -->
     </parent>
     <groupId>com.platform2easy</groupId>
-    <artifactId>genesis</artifactId>
+    <artifactId>too-easy-trader-genesis</artifactId>
     <version>0.0.1-SNAPSHOT</version>
-    <name>too-easy-genesis</name>
+    <name>genesis</name>
     <description>Plataforma Too Easy</description>
     <url/>
     <licenses>
@@ -26,9 +26,12 @@
         <tag/>
         <url/>
     </scm>
+
     <properties>
         <java.version>21</java.version>
+        <spring.aot.enabled>true</spring.aot.enabled>
     </properties>
+
     <dependencies>
         <dependency>
             <groupId>org.springframework.boot</groupId>
@@ -128,6 +131,14 @@
             <plugin>
                 <groupId>org.graalvm.buildtools</groupId>
                 <artifactId>native-maven-plugin</artifactId>
+                <version>0.10.1</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>compile-no-fork</goal>
+                        </goals>
+                    </execution>
+                </executions>
             </plugin>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
@@ -144,4 +155,15 @@
         </plugins>
     </build>
 
+    <profiles>
+        <profile>
+            <id>native</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+            <properties>
+                <spring.aot.enabled>true</spring.aot.enabled>
+            </properties>
+        </profile>
+    </profiles>
 </project>