[jboss-jira] [JBoss JIRA] (JBASMP-79) Duplicate deployment error if both 'reload' and 'deploy' goals are bound to the same maven phase

James Perkins (JIRA) issues at jboss.org
Tue May 31 19:35:00 EDT 2016


James Perkins created JBASMP-79:
-----------------------------------

             Summary: Duplicate deployment error if both 'reload' and 'deploy' goals are bound to the same maven phase
                 Key: JBASMP-79
                 URL: https://issues.jboss.org/browse/JBASMP-79
             Project: JBoss AS Maven Plugins
          Issue Type: Bug
          Components: deploy
            Reporter: Martin Basovnik


If I try to deploy a deployment just after the server reloading it sometimes fails:
{code}
10:20:32,921 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) JBAS014612: Operation ("add") failed - address: ([("deployment" => "jbasmp-deploy-reproducer-0.0.1-SNAPSHOT.jar")]) - failure description: "JBAS014803: Duplicate resource [(\"deployment\" => \"jbasmp-deploy-reproducer-0.0.1-SNAPSHOT.jar\")]"
{code}

https://github.com/jbossas/jboss-as-maven-plugin/blob/7.6.Final/src/main/java/org/jboss/as/plugin/common/DeploymentInspector.java#L57



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list