Revert not specifying export package versions
[cc0/argeo-build.git] / src / org / argeo / build / Repackage.java
index d33a55eea1f6aa35aedc9e8e7e1ceee583e5e89d..b594f3a19b44e4aff5ee3d62a772e845a8928225 100644 (file)
@@ -705,7 +705,8 @@ public class Repackage {
                                }
 
                                if (!fileProps.containsKey(EXPORT_PACKAGE.toString())) {
-                                       fileProps.put(EXPORT_PACKAGE.toString(), "*");
+                                       fileProps.put(EXPORT_PACKAGE.toString(),
+                                                       "*;version=\"" + fileProps.getProperty(BUNDLE_VERSION.toString()) + "\"");
                                }
 
                                // BND analysis