Skip to content

Add BND configuration to Core dependents #1828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

ppkarwasz
Copy link
Contributor

This adds BND configuration to all log4j-core dependents.

Their OSGi bundle is a fragment attached to log4j-core.

Their new module descriptors are:

module org.apache.logging.log4j.test@2.21.0.SNAPSHOT {
  requires java.base;
  requires static junit;
  requires static maven-core;
  requires static maven-model;
  requires static maven-model-builder;
  requires org.apache.commons.lang3;
  requires transitive org.apache.logging.log4j;
  requires static org.hamcrest;
  requires static org.junit.jupiter.api;
  requires static org.junit.platform.commons;
  requires static org.junitpioneer;
  requires static plexus-utils;
  exports org.apache.logging.log4j.test;
  exports org.apache.logging.log4j.test.junit;
  exports org.apache.logging.log4j.test.util;
}

module org.apache.logging.log4j.cassandra@2.21.0.SNAPSHOT {
  requires transitive cassandra-driver-core;
  requires java.base;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  exports org.apache.logging.log4j.cassandra;
  opens org.apache.logging.log4j.cassandra to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.core.test@2.21.0.SNAPSHOT {
  requires static assertj-core;
  requires static awaitility;
  requires static java-allocation-instrumenter;
  requires transitive java.base;
  requires static java.compiler;
  requires java.sql;
  requires static junit;
  requires org.apache.commons.io;
  requires org.apache.commons.lang3;
  requires transitive org.apache.logging.log4j;
  requires transitive org.apache.logging.log4j.core;
  requires transitive org.apache.logging.log4j.test;
  requires static org.hamcrest;
  requires static org.junit.jupiter.api;
  requires static org.junit.platform.commons;
  requires static spring.test;
  exports org.apache.logging.log4j.core.test;
  exports org.apache.logging.log4j.core.test.appender;
  exports org.apache.logging.log4j.core.test.appender.db.jdbc;
  exports org.apache.logging.log4j.core.test.appender.rolling.action;
  exports org.apache.logging.log4j.core.test.categories;
  exports org.apache.logging.log4j.core.test.hamcrest;
  exports org.apache.logging.log4j.core.test.junit;
  exports org.apache.logging.log4j.core.test.layout;
  exports org.apache.logging.log4j.core.test.net.mock;
  exports org.apache.logging.log4j.core.test.net.ssl;
  exports org.apache.logging.log4j.core.test.smtp;
  exports org.apache.logging.log4j.core.test.util;
}

module org.apache.logging.log4j.couchdb@2.21.0.SNAPSHOT {
  requires java.base;
  requires transitive lightcouch;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  exports org.apache.logging.log4j.couchdb;
  opens org.apache.logging.log4j.couchdb to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.docker@2.21.0.SNAPSHOT {
  requires com.fasterxml.jackson.annotation;
  requires jackson-core;
  requires jackson-databind;
  requires java.base;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  exports org.apache.logging.log4j.docker;
  opens org.apache.logging.log4j.docker to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.flume@2.21.0.SNAPSHOT {
  requires transitive java.base;
  requires transitive je;
  requires transitive org.apache.flume.agent.embedded;
  requires org.apache.flume.channel.spillable.memory;
  requires transitive org.apache.flume.core;
  requires transitive org.apache.flume.sdk;
  requires transitive org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  requires org.slf4j;
  exports org.apache.logging.log4j.flume.appender;
  opens org.apache.logging.log4j.flume.appender to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.smtp@2.21.0.SNAPSHOT {
  requires jakarta.activation;
  requires jakarta.mail;
  requires java.base;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  provides  org.apache.logging.log4j.core.net.MailManagerFactory with
    org.apache.logging.log4j.smtp.SmtpManager$SMTPManagerFactory;
}

module org.apache.logging.log4j.web@2.21.0.SNAPSHOT {
  requires transitive jakarta.servlet;
  requires java.base;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  exports org.apache.logging.log4j.web;
  opens org.apache.logging.log4j.web.appender to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.core.appender.db.jdbc@2.21.0.SNAPSHOT {
  requires commons-dbcp2;
  requires java.base;
  requires java.management;
  requires java.sql;
  requires org.apache.commons.pool2;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  opens org.apache.logging.log4j.core.appender.db.jdbc to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.jpa@2.21.0.SNAPSHOT {
  requires jackson-core;
  requires jackson-databind;
  requires java.base;
  requires transitive java.persistence;
  requires transitive org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  exports org.apache.logging.log4j.core.appender.db.jpa;
  exports org.apache.logging.log4j.core.appender.db.jpa.converter;
  opens org.apache.logging.log4j.core.appender.db.jpa to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.kubernetes@2.21.0.SNAPSHOT {
  requires java.base;
  requires transitive kubernetes-client;
  requires kubernetes-model-core;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  exports org.apache.logging.log4j.kubernetes;
  opens org.apache.logging.log4j.kubernetes to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.layout.template.json.test@2.21.0.SNAPSHOT {
  requires java.base;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  exports org.apache.logging.log4j.layout.template.json;
}

module org.apache.logging.log4j.layout.template.json@2.21.0.SNAPSHOT {
  requires java.base;
  requires jctools-core;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  exports org.apache.logging.log4j.layout.template.json;
  exports org.apache.logging.log4j.layout.template.json.resolver;
  opens org.apache.logging.log4j.layout.template.json to
    org.apache.logging.log4j.core;
  opens org.apache.logging.log4j.layout.template.json.resolver to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.mongodb3@2.21.0.SNAPSHOT {
  requires java.base;
  requires transitive mongodb-driver-legacy;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  requires transitive org.mongodb.bson;
  requires transitive org.mongodb.driver.sync.client;
  exports org.apache.logging.log4j.mongodb3;
  opens org.apache.logging.log4j.mongodb3 to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.mongodb4@2.21.0.SNAPSHOT {
  requires java.base;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  requires transitive org.mongodb.bson;
  requires transitive org.mongodb.driver.core;
  requires transitive org.mongodb.driver.sync.client;
  exports org.apache.logging.log4j.mongodb4;
  opens org.apache.logging.log4j.mongodb4 to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.spring.boot@2.21.0.SNAPSHOT {
  requires java.base;
  requires transitive org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  requires transitive spring.boot;
  requires transitive spring.core;
  exports org.apache.logging.log4j.spring.boot;
  opens org.apache.logging.log4j.spring.boot to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.taglib@2.21.0.SNAPSHOT {
  requires java.base;
  requires javax.servlet-api;
  requires transitive javax.servlet.jsp-api;
  requires transitive org.apache.logging.log4j;
  exports org.apache.logging.log4j.taglib;
}

module org.apache.logging.log4j.web@2.21.0.SNAPSHOT {
  requires java.base;
  requires transitive javax.servlet-api;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  exports org.apache.logging.log4j.web;
  opens org.apache.logging.log4j.web.appender to
    org.apache.logging.log4j.core;
}

module org.apache.logging.log4j.spring.cloud.config.client@2.21.0.SNAPSHOT {
  requires java.base;
  requires org.apache.logging.log4j;
  requires org.apache.logging.log4j.core;
  requires transitive spring-cloud-context;
  requires transitive spring.boot.autoconfigure;
  requires transitive spring.context;
  exports org.apache.logging.log4j.spring.cloud.config.client;
  provides  org.apache.logging.log4j.core.util.WatchEventService with
    org.apache.logging.log4j.spring.cloud.config.client.WatchEventManager;
}

@ppkarwasz ppkarwasz mentioned this pull request Sep 29, 2023
29 tasks
@ppkarwasz ppkarwasz merged commit 46a672c into apache:bnd Oct 2, 2023
@ppkarwasz ppkarwasz deleted the bnd-core-plugins branch November 21, 2023 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant