This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
No announcement yet.
best practices how to resolve split-packages fro 3rd party libs?Page Title Module
best practices how to resolve split-packages fro 3rd party libs?
The solution that we've generally used in the SpringSource bundle repository is to use fragments. E.g. both the Hibernate annotations bundle (http://tinyurl.com/4pdy2r) and the core Hibernate bundle (http://tinyurl.com/4x6fxf) export the org.hibernate package, so the Hibernate annotations bundle is defined as a fragment of the core Hibernate bundle. Here's the relevant header from the annotation bundle's manifest: