Uploaded image for project: 'WildFly Maven Plugin'
  1. WildFly Maven Plugin
  2. WFMP-205

The dev goal redeploy multi times the WAR on a remote server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.1.0.Beta5
    • Maven Plugin
    • None
      • On Windows 10
      • Wildfly launched with Docker
      • Wildly's version is : 11.0.0

      Hello,

       

      When I try to use the dev goal on a remote server (launched with docker) with a single change, the goal is working but I see something strange in the logs.

      What I see is the WAR is redeployed 3 times and then finally it is deployed.

      So, in the log of the Wildfly, I see this 3 times : 

      [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0016: Replaced deployment "exemple-api.war" with deployment "exemple-api.war"

      And then, at the end, I see this :

      [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0010: Deployed "exemple-api.war" (runtime-name : "exemple-api.war")

       

      In Maven, I can see the first time he sees there is something to compile but then, 3 times, although there is nothing to compile, he builds and assembles the app.

      [INFO] Compiling 1 source file to C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\target\classes
      [WARNING] bootstrap class path not set in conjunction with -source 8
      [WARNING] The following options were not recognized by any processor: '[mapstruct.verbose, mapstruct.suppressGeneratorVersionInfoComment, mapstruct.suppressGeneratorTimestamp]'
      [INFO] Packaging webapp
      [INFO] Assembling webapp [exemple-api] in [C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\target\exemple-api]
      [INFO] Processing war project
      [INFO] Copying webapp resources [C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\src\main\webapp]
      [INFO] Webapp assembled in [3825 msecs]
      [INFO] Building war: C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\target\exemple-api.war
      [INFO] WEB-INF\web.xml already added, skipping
      [INFO] Nothing to compile - all classes are up to date
      [INFO] Packaging webapp
      [INFO] Assembling webapp [exemple-api] in [C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\target\exemple-api]
      [INFO] Processing war project
      [INFO] Copying webapp resources [C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\src\main\webapp]
      [INFO] Webapp assembled in [3625 msecs]
      [INFO] Building war: C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\target\exemple-api.war
      [INFO] WEB-INF\web.xml already added, skipping
      [INFO] Nothing to compile - all classes are up to date
      [INFO] Packaging webapp
      [INFO] Assembling webapp [exemple-api] in [C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\target\exemple-api]
      [INFO] Processing war project
      [INFO] Copying webapp resources [C:\Users\me\IdeaProjects\me\exemple\exemple-back-end\exemple-api\src\main\webapp]
      [INFO] Webapp assembled in [3062 msecs]
      [INFO] Building war: C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\target\exemple-api.war
      [INFO] WEB-INF\web.xml already added, skipping
      [INFO] Nothing to compile - all classes are up to date
      [INFO] Packaging webapp
      [INFO] Assembling webapp [exemple-api] in [C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\target\exemple-api]
      [INFO] Processing war project
      [INFO] Copying webapp resources [C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\src\main\webapp]
      [INFO] Webapp assembled in [3385 msecs]
      [INFO] Building war: C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\target\exemple-api.war
      [INFO] WEB-INF\web.xml already added, skipping
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 5 resources
      [INFO] Nothing to compile - all classes are up to date
      [INFO] Packaging webapp
      [INFO] Assembling webapp [exemple-api] in [C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\target\exemple-api]
      [INFO] Processing war project
      [INFO] Copying webapp resources [C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\src\main\webapp]
      [INFO] Webapp assembled in [3725 msecs]
      [INFO] Building war: C:\Users\me\IdeaProjects\Me\exemple\exemple-back-end\exemple-api\target\exemple-api.war
      [INFO] WEB-INF\web.xml already added, skipping

       

       

              Unassigned Unassigned
              gregouuu Gregory Beurnel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: