]
Mario Fusco reassigned DROOLS-465:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
Cannot find KieModule with LATEST
---------------------------------
Key: DROOLS-465
URL:
https://issues.jboss.org/browse/DROOLS-465
Project: Drools
Issue Type: Bug
Affects Versions: 6.1.0.Beta1
Reporter: Takami Hirata
Assignee: Mario Fusco
Attachments: reproducer.zip
I install a kmodule into local repository with command {{mvn clean install}}.
Loading this kmodule with 'LATEST' works on the day, but will fail on next day.
Maven will find update on next day because of default updatePolicy 'daily', then
maven check local repository ({{org.kie.scanner.Aether}} treats as a remote repository)
but local artifact cache does not have 'maven-metadata.xml' which remote artifact
should have, so finding update fails and
{{org.sonatype.aether.connector.file.FileRepositoryWorker}} removes
{{maven-metadata-local.xml}} for cleanup.
{{org.kie.scanner.Aether}} adds local repository to remote repositories, but this may be
incorrect usage.