Skip to content

Commit 914f9fb

Browse files
Raphael SchweikertRaphael Schweikert
authored andcommitted
fix: assume semantic versioning for SPI Fly static weaving bundle
1 parent 5e9a24a commit 914f9fb

File tree

1 file changed

+1
-1
lines changed
  • spi-fly/spi-fly-static-tool/src/main/java/org/apache/aries/spifly/statictool

1 file changed

+1
-1
lines changed

spi-fly/spi-fly-static-tool/src/main/java/org/apache/aries/spifly/statictool/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private static void extendImportPackage(Manifest manifest) throws IOException {
131131
Version osgiVersion = Version.parseVersion(utilPkgVersion);
132132

133133
Version minVersion = new Version(osgiVersion.getMajor(), osgiVersion.getMinor(), osgiVersion.getMicro());
134-
Version maxVersion = new Version(osgiVersion.getMajor(), osgiVersion.getMinor() + 1, 0);
134+
Version maxVersion = new Version(osgiVersion.getMajor() + 1, 0, 0);
135135

136136
String ip = manifest.getMainAttributes().getValue(IMPORT_PACKAGE);
137137
if (ip == null)

0 commit comments

Comments
 (0)