4.9.0 MANIFEST.MF has invalid Import-Package instructions
See original GitHub issueEnvironment
Liquibase Version: 4.9.0
Liquibase Integration & Version: maven
Liquibase Extension(s) & Version: none
Database Vendor & Version: n/a
Operating System Type & Version: n/a
Description
The MANIFEST.MF file inside liquibase-core-4.9.0.jar is not valid. It has Import-Package instructions for liquibase packages that require a version range of [4.9.0,1) but this cannot be satisfied: a version >= 4.9.0 and !>= 1.0.0 is not possible to satisfy.
Steps To Reproduce
To see the contents of the file:
- download liquibase-core-4.9.0.jar from Maven Central
- extract/unpack files inside liquibase-core-4.9.0.jar
- open META-INF/MANIFEST.MF
- verify Import-Package statements
Actual Behavior
Bundle exporting the liquibase
package does not resolve, leading to OSGi bundles being unable to import any liquibase packages.
Expected/Desired Behavior
OSGi bundles can import liquibase packages.
Screenshots (if appropriate)
Additional Context
n/a
Issue Analytics
- State:
- Created a year ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Plug-In Error in Eclipse - Stack Overflow
The manifest.mf line. Export-Package: ;version="1.0.0". is wrong, it should contain a package name such as: Export-Package: package.name ...
Read more >3 Module Layer - OSGi Core 7
Contains a manifest file describing the contents of the JAR file and providing ... The Import-Package header declares the imported packages for this...
Read more >511117 – Attempts to start runtime workbench in ... - Bugs
I get the error "The following problems were detected: org.apache.xmlrpc Missing Constraint: Import-Package: javax.xml.bind; version="0.0.0"" when launching a ...
Read more >Apache Karaf Container 4.x - Documentation
Any change in a configuration file is noticed and reloaded. ... These instructions should help you get Apache Karaf up and running in...
Read more >Example: OSGi bundle manifest file - IBM
An OSGi bundle, which can be a JAR or web application archive (WAR) file, contains a bundle manifest file META-INF/MANIFEST.MF. In addition to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m afraid we don’t have a trivial test set-up for this ready right now, we ran into this issue while upgrading from a liquibase 3.x version to 4.x - at least the issue we were stuck on (the liquibase bundle not resolving) appears to have been resolved with RC1 👍 .
After quickly trying out the new version, we’re currently seeing a liquibase.exception.UnexpectedLiquibaseException: Cannot find default log service - but right now I’m assuming this may just be related to our specific setup. I’ll let you know once we get everything working.
@SparxySys v4.9.1 is out! https://github.com/liquibase/liquibase/releases/tag/v4.9.1