OpenNTF / p2-layout-provider

Java web app that serves as a basic proxy to provide a Maven repository front-end to p2 (Eclipse-style) repositories
Apache License 2.0
7 stars 5 forks source link

Consider generating dependencies #19

Closed jesse-gallagher closed 4 years ago

jesse-gallagher commented 4 years ago

Similar to https://github.com/OpenNTF/generate-domino-update-site/blob/develop/generate-domino-update-site/src/main/java/org/openntf/p2/domino/updatesite/MavenizeBundlesMojo.java , it may be worth adding dependency information to the generated poms based on the OSGi metadata (and potentially existing Maven metadata - https://github.com/OpenNTF/p2-layout-provider/issues/17 ). It may make sense to only include this if the referenced bundles can be found within the repo, though.

jesse-gallagher commented 4 years ago

Either way, it may make sense to have the main artifact gave dependencies in any embedded Jars. I’ll have to check if that has weird side effects, but, if it doesn’t, it’d make using things like IBM’s update sites a lot easier.