-
Bug
-
Resolution: Done
-
Blocker
-
4.1.0.Beta4
-
None
Hello,
When I try on my local machine to run the dev goal on a remote server (launched with Docker), I can't stop to have this error :
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to deploy content: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"exemple-api.war\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"exemple-api.war\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0160: Failed to mount deployment content Caused by: java.io.FileNotFoundException: /opt/jboss/C:\\Users\\me\\IdeaProjects\\Test\\exemple\\exemple-back-end\\exemple-api\\target\\exemple-api (No such file or directory)"}}}} at org.wildfly.plugin.dev.DevMojo.execute (DevMojo.java:290)
Here is my configuration in my pom.xml :
<build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <groupId>org.wildfly.plugins</groupId> <artifactId>wildfly-maven-plugin</artifactId> <configuration combine.self="override"> <username>admin</username> <password>admin</password> <remote>true</remote> </configuration> <executions> <execution> <id>undeploy</id> <phase>clean</phase> <goals> <goal>undeploy</goal> </goals> <configuration> <ignoreMissingDeployment>true</ignoreMissingDeployment> </configuration> </execution> <execution> <id>deploy</id> <phase>install</phase> <goals> <goal>dev</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <executions> <execution> <id>war-exploded</id> <phase>package</phase> <goals> <goal>exploded</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
Obviously, I've checked what is in my target directory and there is the war file AND the exploded so I don't understand if I'm doing something wrong ?
Thank you !