[jboss-jira] [JBoss JIRA] (JBASMP-73) 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 20:33:00 EDT 2016


     [ https://issues.jboss.org/browse/JBASMP-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins reassigned JBASMP-73:
-----------------------------------

    Assignee: James Perkins


> Duplicate deployment error if both 'reload' and 'deploy' goals are bound to the same maven phase
> ------------------------------------------------------------------------------------------------
>
>                 Key: JBASMP-73
>                 URL: https://issues.jboss.org/browse/JBASMP-73
>             Project: JBoss AS Maven Plugins
>          Issue Type: Bug
>          Components: deploy
>            Reporter: Martin Basovnik
>            Assignee: James Perkins
>         Attachments: jbasmp-deploy-reproducer.zip
>
>
> 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