Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2970

Software deployed on Karaf will not update if Karaf detects the presence of a previous .M2 directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 3.0.0
    • None
    • karaf
    • None
    • Windows Server 2008 R2, Windows 2008 R2 SP2, Windows 2012 R2

    Description

      The presence of a .M2 directory causes an application deployed on Karaf not to update.

      Prerequisites:
      A) Deploy an application on Karaf
      B) Verify there is the presence of an .M2 directory

      Steps to Reproduce:
      Deploy a revised application build on Karaf

      Actual Result:
      The bits from the local .M2 repo are kept and not overwritten with the newest modified bits

      Expected Result:
      The bits from the local .M2 repo should be updated even if the .M2 directory was present prior to installing the updated app deployed on Karaf

      Workaround:
      1.Delete the .M2 directory
      2.Deploy the software on Karaf
      3.The local .M2 directory will now be updated

      Attachments

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              ChrisIsGood Chris Longo
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: