Uploaded image for project: 'Codehaus Cargo'
  1. Codehaus Cargo
  2. CARGO-478

running mvn cargo:start does not redeploy newer war files

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.3-maven2
    • Fix Version/s: 1.1.0
    • Component/s: Maven2/Maven3
    • Labels:
      None
    • Environment:

      maven-cargo-plugin-0.3-SNAPSHOT, tomcat-5-5 existing installation

      Description

      steps to reproduce:

      • run mvn cargo:start on a war project with an existing tomcat installation
      • the war file is copied into the tomcat/webapps directory
      • shutdown cargo
      • run mvn install to create new war file (probably make some changes to notice the change)
      • run mvn cargo:start
      • cargo fails to copy the new war file into tomcat and so it's still running the old code.

      The only workaround I know is to always run mvn clean before running cargo.

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                savasalitokmen Savas Ali Tokmen
                Reporter:
                ryansonnek Ryan Sonnek
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: