From b63cbc3c0d299769dc69c7060f2f6dc47e5c1fb1 Mon Sep 17 00:00:00 2001 From: Scott Wicken Date: Fri, 28 Jun 2024 16:50:20 -0400 Subject: [PATCH] Fixed 3rd party lib example --- com.dotcms.3rd.party/pom.xml | 90 +++++++++++++++++++----------------- 1 file changed, 47 insertions(+), 43 deletions(-) diff --git a/com.dotcms.3rd.party/pom.xml b/com.dotcms.3rd.party/pom.xml index 637cfef..fd85555 100644 --- a/com.dotcms.3rd.party/pom.xml +++ b/com.dotcms.3rd.party/pom.xml @@ -2,7 +2,6 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - com.dotcms osgi-third-party-lib-example 0.3 @@ -28,53 +27,58 @@ 24.05.13 provided + - hirondelle.date4j + hirondelle date4j - your.version + 1.5.2 system ${project.basedir}/src/main/resources/libs/date4j.jar - - - - - org.apache.felix - maven-bundle-plugin - 5.1.9 - true - - - dotCMS - dotCMS - OSGI 3rd Party library example - https://dotcms.com/ - com.dotmarketing.osgi.external.Activator - .,libs/* - !hirondelle.date4j.*,*;version=0 - - - - - - org.apache.maven.plugins - maven-dependency-plugin - 3.1.2 - - - prepare-package - - copy-dependencies - - - ${project.build.directory}/libs - runtime - - - - - - - + + + + org.apache.felix + maven-bundle-plugin + 5.1.9 + true + + + ${project.groupId}.${project.artifactId} + ${project.name} + ${project.version} + com.dotmarketing.osgi.external.Activator + com.dotmarketing.osgi.external.* + org.osgi.framework,com.dotmarketing.*,org.apache.felix.http.api,javax.servlet,javax.servlet.http + *;scope=system;inline=true + lib + true + .,{maven-dependencies} + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + prepare-package + + copy-dependencies + + + ${project.build.directory}/classes/lib + system + true + + + + + + + \ No newline at end of file