[jboss-jira] [JBoss JIRA] (DROOLS-465) Cannot find KieModule with LATEST
Mario Fusco (JIRA)
issues at jboss.org
Thu Feb 4 06:53:00 EST 2016
[ https://issues.jboss.org/browse/DROOLS-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158713#comment-13158713 ]
Mario Fusco commented on DROOLS-465:
------------------------------------
What suggested by the reporter of this issue (avoiding to add the local repository among the remote ones) actually prevents the maven-metadata.xml file to be removed and fixes this issue. Unfortunately this solution breaks the retrieval of newly deployed SNAPSHOTs while the KieScanner is running.
I'm trying to figure out why and how to fix this problem without breaking SNAPSHOTs resolution.
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list