From b3b2b452855cfb441ca1d8ba9f3a8a14b93de2c1 Mon Sep 17 00:00:00 2001 From: Matt Pavlovich Date: Mon, 27 Nov 2023 09:59:07 -0600 Subject: [PATCH] [KARAF-7780] Create a feature repo for Jakarta specs using capability/requirement etc --- assemblies/features/jakarta/pom.xml | 297 ++++++++++++++++++ .../src/main/feature/feature-activemq.xml | 33 ++ .../jakarta/src/main/feature/feature-cxf.xml | 39 +++ .../main/feature/feature-eclipse-angus.xml | 41 +++ .../main/feature/feature-glassfish-jaxb.xml | 36 +++ .../jakarta/src/main/feature/feature.xml | 62 ++++ assemblies/features/pom.xml | 1 + 7 files changed, 509 insertions(+) create mode 100644 assemblies/features/jakarta/pom.xml create mode 100644 assemblies/features/jakarta/src/main/feature/feature-activemq.xml create mode 100644 assemblies/features/jakarta/src/main/feature/feature-cxf.xml create mode 100644 assemblies/features/jakarta/src/main/feature/feature-eclipse-angus.xml create mode 100644 assemblies/features/jakarta/src/main/feature/feature-glassfish-jaxb.xml create mode 100644 assemblies/features/jakarta/src/main/feature/feature.xml diff --git a/assemblies/features/jakarta/pom.xml b/assemblies/features/jakarta/pom.xml new file mode 100644 index 00000000000..527d703d327 --- /dev/null +++ b/assemblies/features/jakarta/pom.xml @@ -0,0 +1,297 @@ + + + + + + 4.0.0 + + + org.apache.karaf.assemblies.features + features + 4.5.0-SNAPSHOT + ../pom.xml + + + org.apache.karaf.features + jakarta + pom + Apache Karaf :: Assemblies :: Features :: Jakarta + + + ${basedir}/../../../etc/appended-resources + + + + + + org.apache.karaf + karaf-bom + ${project.version} + pom + import + + + + + + + + + org.apache.karaf.features + framework + kar + provided + + + + + org.apache.aries.transaction + org.apache.aries.transaction.blueprint + provided + + + + + org.apache.aries + org.apache.aries.util + provided + + + org.apache.aries.jpa + org.apache.aries.jpa.api + provided + + + org.apache.aries.jpa + org.apache.aries.jpa.blueprint.aries + provided + + + org.apache.aries.jpa + org.apache.aries.jpa.container + provided + + + org.apache.aries.jpa + org.apache.aries.jpa.container.context + provided + + + + + org.apache.aries.jndi + org.apache.aries.jndi.api + provided + + + org.apache.aries.jndi + org.apache.aries.jndi.core + provided + + + org.apache.aries.jndi + org.apache.aries.jndi.rmi + provided + + + org.apache.aries.jndi + org.apache.aries.jndi.url + provided + + + org.apache.aries.jndi + org.apache.aries.jndi.legacy.support + provided + + + + + org.apache.karaf.features + standard + features + xml + provided + + + org.apache.aries.application + org.apache.aries.application.resolver.obr + provided + + + org.apache.aries.application + org.apache.aries.application.install + provided + + + org.apache.aries.application + org.apache.aries.application.api + provided + + + org.apache.aries.application + org.apache.aries.application.management + provided + + + org.apache.aries.application + org.apache.aries.application.utils + provided + + + org.apache.aries.application + org.apache.aries.application.modeller + provided + + + org.apache.aries.application + org.apache.aries.application.default.local.platform + provided + + + org.apache.aries.application + org.apache.aries.application.deployment.management + provided + + + + + org.apache.aries.application + org.apache.aries.application.runtime + provided + + + + + org.apache.karaf.services + org.apache.karaf.services.coordinator + provided + + + org.apache.karaf.subsystem + org.apache.karaf.subsystem.core + provided + + + org.ops4j.pax.cdi + pax-cdi-features + ${pax.cdi.version} + features + xml + provided + + + + + org.hibernate + hibernate-osgi + ${hibernate.version} + + + + + + + ${project.basedir}/src/main/feature + true + ${project.build.directory}/feature + + + + + org.apache.maven.plugins + maven-resources-plugin + + + + resources + + + + + + org.apache.karaf.tooling + karaf-maven-plugin + + + verify + process-resources + + verify + + + + mvn:org.apache.karaf.features/framework/${project.version}/xml/features + mvn:org.apache.karaf.features/specs/${project.version}/xml/features + file:${project.build.directory}/feature/feature.xml + + org.apache.karaf.features:framework + 1.8 + + framework + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-artifacts + package + + attach-artifact + + + + + target/feature/feature.xml + features + xml + + + + + + + + + + + + test + + + + org.apache.karaf.tooling + karaf-maven-plugin + + + verify + none + + + + + + + + + diff --git a/assemblies/features/jakarta/src/main/feature/feature-activemq.xml b/assemblies/features/jakarta/src/main/feature/feature-activemq.xml new file mode 100644 index 00000000000..6d4c4f6ede6 --- /dev/null +++ b/assemblies/features/jakarta/src/main/feature/feature-activemq.xml @@ -0,0 +1,33 @@ + + + + + + spring + mvn:org.apache.commons/commons-pool2/2.12.0 + mvn:org.apache.activemq/activemq-osgi/6.0.0 + + jakarta-jms;provider:=activemq + + + jakarta-jms-api + + + + diff --git a/assemblies/features/jakarta/src/main/feature/feature-cxf.xml b/assemblies/features/jakarta/src/main/feature/feature-cxf.xml new file mode 100644 index 00000000000..ec7501e56d6 --- /dev/null +++ b/assemblies/features/jakarta/src/main/feature/feature-cxf.xml @@ -0,0 +1,39 @@ + + + + + + cxf-core + cxf-http + cxf-jackson + cxf-rt-security + mvn:org.codehaus.jettison/jettison/1.5.4 + mvn:org.apache.cxf/cxf-rt-rs-extension-providers/3.6.2 + mvn:org.apache.cxf/cxf-rt-rs-extension-search/3.6.2 + mvn:org.apache.cxf/cxf-rt-rs-json-basic/3.6.2mvn:org.apache.cxf/cxf-rt-rs-service-description/3.6.2 + mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/3.6.2 + mvn:org.apache.cxf/cxf-rt-rs-client/3.6.2 + + jakarta-ws-rs;provider:=cxf-ws-rs-server + + + jakarta-ws-rs-api + + + diff --git a/assemblies/features/jakarta/src/main/feature/feature-eclipse-angus.xml b/assemblies/features/jakarta/src/main/feature/feature-eclipse-angus.xml new file mode 100644 index 00000000000..3a5f101eb25 --- /dev/null +++ b/assemblies/features/jakarta/src/main/feature/feature-eclipse-angus.xml @@ -0,0 +1,41 @@ + + + + + + org.eclipse.angus/angus-activation/2.0.1 + + jakarta-activation-api + + + jakarta-activation;provider:=eclipse-angus + + + + + org.eclipse.angus/angus-mail/2.0.2 + + jakarta-mail-api + + + jakarta-mail;provider:=eclipse-angus + + + + diff --git a/assemblies/features/jakarta/src/main/feature/feature-glassfish-jaxb.xml b/assemblies/features/jakarta/src/main/feature/feature-glassfish-jaxb.xml new file mode 100644 index 00000000000..be51dcfeffd --- /dev/null +++ b/assemblies/features/jakarta/src/main/feature/feature-glassfish-jaxb.xml @@ -0,0 +1,36 @@ + + + + + + com.sun.istack/istack-commons-runtime/4.1.2 + org.glassfish.jaxb/jaxb-core/4.0.4 + org.glassfish.jaxb/tw2/4.0.4 + + jakarta-activation-api + + + jakarta-jaxb-api + + + jakarta-jaxb;provider:=glassfish-jaxb + + + + diff --git a/assemblies/features/jakarta/src/main/feature/feature.xml b/assemblies/features/jakarta/src/main/feature/feature.xml new file mode 100644 index 00000000000..29e4bff87f4 --- /dev/null +++ b/assemblies/features/jakarta/src/main/feature/feature.xml @@ -0,0 +1,62 @@ + + + + + + jakarta.activation/jakarta.activation-api/2.1.2 + + jakarta-activation-api;provider:=jakarta + + + + + mvn:jakarta.annotation/jakarta.annotation-api/2.1.1 + + jakarta-annotation-api;provider:=jakarta + + + + + mvn:jakarta.jms/jakarta.jms-api/3.1.0 + + jakarta-jms-api;provider:=jakarta + + + + + mvn:jakarta.mail/jakarta.mail-api/2.1.2 + + jakarta-mail-api;provider:=jakarta + + + jakarta-activation-api + + + + + mvn:jakarta.xml.bind/jakarta.xml.bind-api/4.0.1 + + jakarta-xml-bind-api;provider:=jakarta + + + jakarta-activation-api + + + + diff --git a/assemblies/features/pom.xml b/assemblies/features/pom.xml index f4eff2c9e8e..0bf6c098b7b 100644 --- a/assemblies/features/pom.xml +++ b/assemblies/features/pom.xml @@ -42,6 +42,7 @@ spring spring-legacy enterprise + jakarta