[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
Mon Mar 16 17:35:18 EDT 2015


    [ https://issues.jboss.org/browse/JBASMP-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050695#comment-13050695 ] 

James Perkins commented on JBASMP-73:
-------------------------------------

Is this still an issue I can't get it to fail.

> 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.11#6341)


More information about the jboss-jira mailing list