From 6ffdfe600db799059ecbc748d725c4ff028f1d79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Sun, 24 Nov 2024 08:40:52 +0100 Subject: [PATCH] Add basic OSGi metadata to the uber-jar Currently the uber-jar is a plain jar and therefore needs to be either wrapped or embedded when using inside OSGi. This now adds very basic OSGi meta-data so it can be used inside OSGi, possible use-cases are: - fetch it bundle location and start lemminx as a CLI process - create fragments of the host that export packages, import additional packages or provide extensions - create a fragment that provides a Declarative-Service-Component to provide services to other parts of the system - ... --- org.eclipse.lemminx/pom.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/org.eclipse.lemminx/pom.xml b/org.eclipse.lemminx/pom.xml index 0f54a23fa..b19bd5725 100644 --- a/org.eclipse.lemminx/pom.xml +++ b/org.eclipse.lemminx/pom.xml @@ -78,7 +78,6 @@ org.apache.maven.plugins maven-jar-plugin - 3.3.0 @@ -113,6 +112,15 @@ org.eclipse.lemminx.XMLServerLauncher + + 2 + org.eclipse.lemminx.uber-jar + lazy + ${parsedVersion.osgiVersion} + Eclipse.org + lemminx uber jar bundle + OSGI-INF/*.xml +