[jboss-jira] [JBoss JIRA] (DROOLS-2753) SNAPSHOT KJars are always reloaded
Mario Fusco (JIRA)
issues at jboss.org
Thu Jul 19 02:25:00 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13607877#comment-13607877 ]
Mario Fusco commented on DROOLS-2753:
-------------------------------------
[~nilsm] Sorry, but I'm also not understanding what you mean. Please provide a reproducer.
> SNAPSHOT KJars are always reloaded
> ----------------------------------
>
> Key: DROOLS-2753
> URL: https://issues.jboss.org/browse/DROOLS-2753
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.8.0.Final
> Reporter: Nils Meyer
> Assignee: Mario Fusco
>
> The fix provided in DROOLS-2591 filled the snapshotVersion of the ReleaseId Object in org.drools.compiler.kproject.ReleaseIdImpl.adapt(AFReleaseId) using org.appformer.maven.support.AFReleaseId.getVersion(). This seems to be not correct, as the snapshotVersion is filled with a version of the pattern 1.0.0-SNAPSHOT by this means.
> Later the destinction wether to reload a SNAPSHOT version or not is made by comparing this version to a version of the pattern 1.0.0-20180718.102926-4 retrieved from org.eclipse.aether.artifact.Artifact.getVersion()
> The corresponding tests did not reveal this issue, as they do not test that a non-newer version is not loaded.
> I'll try to provide an updated test and potentially a solution idea, too.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list