groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommy Svensson <>
Subject Oops, groovy-3.0.0-beta-3.jar has a non OSGi valid version number!
Date Sat, 31 Aug 2019 16:49:40 GMT
Hmm, got the following from apache karaf log:

2019-08-31 18:32:54	ERROR	F​a​i​l​e​d​ ​t​o​ ​i​n​s​t​a​l​l​
​a​r​t​i​f​a​c​t​:​ ​/​v​a​g​r​a​n​t​/​v​a​g​r​a​n​t​/​d​e​p​l​o​y​/​g​r​o​o​v​y​-​3​.​0​.​0​-​b​e​t​a​-​3​.​j​a​r
	Apache Felix File Install	java.lang.IllegalArgumentException: invalid version "3.0.0-beta-3":
non-numeric "0-beta-3"

It correctly complains that 3.0.0-beta-3 is an invalid version number due to not being 100%
numeric. Otherwise the jar is an OSGi bundle, but it will not deploy due to version number.

Could you consider using OSGi valid version numbers for betas ? 

Yes, it is possible to unpack the jar, edit the version in MANIFEST.MF, and repackage to jar

Best Regards,
Tommy Svensson

View raw message