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

Martin Basovnik (JIRA) issues at jboss.org
Thu Oct 30 08:08:35 EDT 2014


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

Martin Basovnik updated JBASMP-73:
----------------------------------
    Summary: Duplicate deployment error if both 'reload' and 'deploy' goals are bound to the same maven phase  (was: Duplicate deployment error if both reload and deploy goals are bind to the same maven phase)


> 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.3.1#6329)


More information about the jboss-jira mailing list