[ https://issues.apache.org/jira/browse/KARAF-6082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737945#comment-16737945 ]
Martin Krüger commented on KARAF-6082: -------------------------------------- In 59f500fc29940113b43ae64cee5d533110dd5784 that was the way to go. Either none or all test cases should use {code}String karafVersion = MavenUtils.getArtifactVersion("org.apache.karaf", "apache-karaf"); ... System.getProperty("karaf.version", karafVersion) + ".jar") ...{code} Having two versions is not good. > Eniment test case failure due to hard-coded karaf version > --------------------------------------------------------- > > Key: KARAF-6082 > URL: https://issues.apache.org/jira/browse/KARAF-6082 > Project: Karaf > Issue Type: Bug > Components: karaf > Affects Versions: 4.2.2 > Reporter: Martin Krüger > Assignee: Jean-Baptiste Onofré > Priority: Major > Attachments: > 0001-KARAF-6082-Remove-hard-coded-version-string-from-tes.patch > > > In commit aa78736c8da40d8a292d5c474fd270ab397b5074 hard coded karaf versions > in test cases were replaced by newer versions. But this does not solve the > problem. Latest with the next tag the code is broken again in case older > artefacts are not available during test runs. > Please see the attached patch to fix the problem. -- This message was sent by Atlassian JIRA (v7.6.3#76005)