karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Grzybek (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-2970) Software deployed on Karaf will not update if Karaf detects the presence of a previous .M2 directory
Date Thu, 13 Jul 2017 06:48:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grzegorz Grzybek resolved KARAF-2970.
-------------------------------------
    Resolution: Not A Problem

> Software deployed on Karaf will not update if Karaf detects the presence of a previous
.M2 directory 
> -----------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-2970
>                 URL: https://issues.apache.org/jira/browse/KARAF-2970
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-archetypes, karaf-config, karaf-core, karaf-documentation,
karaf-exam, karaf-feature, karaf-instance, karaf-kar, karaf-os-integration, karaf-osgi, karaf-repository,
karaf-scheduler, karaf-scr, karaf-security, karaf-shell, karaf-test, karaf-tooling, karaf-webconsole,
karaf-webcontainer
>    Affects Versions: 3.0.0
>         Environment: Windows Server 2008 R2, Windows 2008 R2 SP2, Windows 2012 R2
>            Reporter: Chris Longo
>            Assignee: Grzegorz Grzybek
>
> 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message