[jboss-jira] [JBoss JIRA] (JBASMP-54) Maven phase executing twice

James Perkins (JIRA) jira-events at lists.jboss.org
Wed Oct 23 12:38:02 EDT 2013


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

James Perkins closed JBASMP-54.
-------------------------------

    Resolution: Rejected


This is the expected behavior. The {{@Execute}} is needed if the goal is run from without binding to a lifecycle phase. There was a {{deploy-only}} goal just recently added that does allow for this. It's merged upstream and the PR was https://github.com/jbossas/jboss-as-maven-plugin/pull/56. A release will hopefully be coming out soon with it.
                
> Maven phase executing twice
> ---------------------------
>
>                 Key: JBASMP-54
>                 URL: https://issues.jboss.org/browse/JBASMP-54
>             Project: JBoss AS Maven Plugins
>          Issue Type: Bug
>            Reporter: Dojcsák Sándor
>            Assignee: James Perkins
>
> I attached deploy goal to the package lifecycle phase.
> When I run mvn package it works fine, but I noticed that all phase executes twice.
> I removed @Execute(phase = LifecyclePhase.PACKAGE) line from Deploy.java. This solved the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list