Hello,
The VersionCleaner
<https://github.com/apache/felix/blob/trunk/utils/src/main/java/org/apache/felix/utils/version/VersionCleaner.java>
.clean() used in the Feature
<https://github.com/apache/karaf/blob/master/features/core/src/main/java/org/apache/karaf/features/internal/model/Feature.java>
.setVersion() method is responsible of the problem, the following test:
public static void main(String[] args) {
String res = VersionCleaner.clean("2.0.0-SNAPSHOT");
System.out.println(res);
}
displays:
2.0.0.SNAPSHOT
Did I miss anything? :)
Christian
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html