Add generation of OSGi metadata and JPMS module-info#11
Add generation of OSGi metadata and JPMS module-info#11AntonKozlov merged 1 commit intoCRaC:masterfrom
Conversation
|
Hi @fipro78, thanks a lot for the contribution! I've tested that with JDK 8 just in case, and it looks fine. Thanks! |
|
@AntonKozlov |
|
Thanks for reminding, the version 1.5.0 is released. Apparently it did not propagte to the Maven Central, but should be on its way. Sorry, it took a while to adapt to new maven central policies. |
|
Thanks, I will test it and update my example once it is available in Maven Central. |
|
1.5 is available: https://central.sonatype.com/artifact/org.crac/crac/versions |
|
Thanks a lot! I already updated my example locally and it looks fine. BTW, I noticed some issues or at least have questions about the OpenJDK implementation that is provided by Azul. Where should I raise such questions? |
As per our discussion in osgi/osgi#631 I am working on a more useful example of a containerized OSGi application. I want to setup a REST service application using Jakarta RS Whiteboard and put that in a container with checkpoint data.
While trying to create a
Resourceto handle the checkpoint/restore operations (see eclipse-osgi-technology/jakartarest-osgi@2ac4d8f) I noticed that org.crac does not contain OSGi metadata. It is therefore not possible to use it easily.The following PR adds the necessary build step to add OSGi metadata to the jar file. Additionally it also adds a JPMS module-info.class to the jar. Once this is merged and released I can move on with a PR for the Jakarta-RS Whiteboard, and then provide the example for CRaC`in an OSGi application.