Good morning.
I'm trying to link wildfly with JIB and Skaffold, but I don't understand when I run skaffold because the WAR won't deploy to the Wildfly server, the service is just a "hello world!!" test on RESTfull. I have the following settings:
<project xmlns="
http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>test</groupId>
<artifactId>mod-test</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>test-wildfly-jib</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-api</artifactId>
<version>10.0.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>test-wildfly-jib</finalName>
<plugins>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>dockerBuild</goal>
</goals>
</execution>
</executions>
<configuration>
<from>
<image>bitnami/wildfly:latest</image>
</from>
<to>
<image>test-wildfly-jib</image>
</to>
</configuration>
</plugin>
</plugins>
</build>
</project>
Thanks for the help.