[jboss-jira] [JBoss JIRA] (DROOLS-465) Cannot find KieModule with LATEST

Matteo Mortari (JIRA) issues at jboss.org
Sat Sep 13 15:02:02 EDT 2014


    [ https://issues.jboss.org/browse/DROOLS-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002114#comment-13002114 ] 

Matteo Mortari commented on DROOLS-465:
---------------------------------------

Thank you for posting this, I happened to have the same issue I think. On a project I was doing frequent daily Java code change, without rule changes, but I experienced I had to 'mvn install' anyway; this confused me, as I didn't want to touch the rules at all.

Thanks to your description I think I understand better now.

> 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: Mark Proctor
>         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.3.1#6329)


More information about the jboss-jira mailing list