From 735f5f9013e6b3c6ab562aa1198aa7d53d3aee2d Mon Sep 17 00:00:00 2001 From: ken1le Date: Wed, 10 Aug 2022 14:41:04 +0200 Subject: [PATCH 1/2] Add Maven plugin to build OSGI supported bundle --- pom.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1971fb8..5251b4a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ jar 1.3-SNAPSHOT SunriseSunsetCalculator - Libarary to compute the sunrise/sunset. + Library to compute the sunrise/sunset. https://github.com/mikereedell/sunrisesunsetlib-java org.sonatype.oss @@ -54,6 +54,19 @@ + + + org.apache.felix + maven-bundle-plugin + 5.1.8 + true + + + ${project.name} + ${project.artifactId}-osgi + com.luckycatlabs.sunrisesunset.* + + From 9c21532435caaa293f0ab3c50db5a4a000967a72 Mon Sep 17 00:00:00 2001 From: ken1le Date: Wed, 10 Aug 2022 14:42:46 +0200 Subject: [PATCH 2/2] Update plugins and dependencies versions --- pom.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 5251b4a..d4b4f72 100644 --- a/pom.xml +++ b/pom.xml @@ -35,16 +35,16 @@ org.apache.maven.plugins maven-compiler-plugin - 2.0.2 + 3.10.1 - 1.6 - 1.6 + 1.8 + 1.8 org.apache.maven.plugins maven-gpg-plugin - 1.5 + 3.0.1 sign-artifacts @@ -74,7 +74,7 @@ junit junit - 4.5 + 4.13.2 test