-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eclipse issues with MANIFEST.MF #49
Comments
The MANIFEST.MF is created by the maven-bundle-plugin. Here are the relevant portions of the pom files. https://github.com/eclipse/eclipse-collections/blob/master/eclipse-collections-api/pom.xml#L76 Is the fix as simple as replacing the import... <Export-Package>org.eclipse.collections.impl</Export-Package> ...with a star import? <Export-Package>org.eclipse.collections.impl.*</Export-Package> |
In https://github.com/eclipse/eclipse-collections/blob/master/eclipse-collections-api/pom.xml you need not specify any Export-Package (default behaviour is to export all packages except those containing internal or impl). |
Fix Eclipse issues with MANIFEST.MF Fixes #49.
Eclipse is able to pick up the eclipse-collections-api jar as a plug-in. However, the eclipse-collections jar is not recognized as such.
Also, for both jars, the exported packages list only contains the top level package. This causes Eclipse to recognize the classes in all subpackages as non-api, resulting in warnings when used.
Could this be an issue with the way that the MANIFEST.MF files in the jars are build?
The text was updated successfully, but these errors were encountered: