Apache Tomcat Maven Plugin
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-18

remove @execute phase = "package" from DeployMojo to avoid forked lifecycles and get resource filtering working

    Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta-1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      multi module projects with war-module

      Description

      It seems that the deploy goal rebuilds the exploded folder and the war-file in the same way like the install goal - but without resource filtering.

        Activity

        Martin May created issue -
        Hide
        Mark Thomas added a comment -

        Please use the new mojo OnlyDeploy (goal : only-deploy) which doesn't fork a lifecycle

        Show
        Mark Thomas added a comment - Please use the new mojo OnlyDeploy (goal : only-deploy) which doesn't fork a lifecycle
        Hide
        Mark Thomas added a comment -

        Hm, similar to this use case the Surefire Report Plugin has a report and report-only goal. Maybe rename only-deploy to deploy-only for consistency? It's not important, just an idea.

        Show
        Mark Thomas added a comment - Hm, similar to this use case the Surefire Report Plugin has a report and report-only goal. Maybe rename only-deploy to deploy-only for consistency? It's not important, just an idea.
        Hide
        Mark Thomas added a comment -

        Good idea.
        Rename done in rev 8763.

        Show
        Mark Thomas added a comment - Good idea. Rename done in rev 8763.
        Mark Thomas made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Martin May
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development