This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/main by this push:
new b0f21506d1 Fix BND errors
b0f21506d1 is described below
commit b0f21506d1d367753fae4f86b04c0083199e1c33
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Mon Nov 20 20:14:27 2023 +0100
Fix BND errors
---
.../src/main/java/org/apache/log4j/builders/package-info.java | 6 ++----
.../logging/log4j/layout/template/json/util/package-info.java | 5 +++++
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git
a/log4j-1.2-api/src/main/java/org/apache/log4j/builders/package-info.java
b/log4j-1.2-api/src/main/java/org/apache/log4j/builders/package-info.java
index f44678ea53..8ee863c334 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/builders/package-info.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/builders/package-info.java
@@ -14,11 +14,9 @@
* See the license for the specific language governing permissions and
* limitations under the license.
*/
-@ExportTo("org.apache.logging.log4j.core")
-@Open("org.apache.logging.log4j.core")
+@Export
@Version("2.20.1")
package org.apache.log4j.builders;
-import aQute.bnd.annotation.jpms.ExportTo;
-import aQute.bnd.annotation.jpms.Open;
+import org.osgi.annotation.bundle.Export;
import org.osgi.annotation.versioning.Version;
diff --git
a/log4j-layout-template-json/src/main/java/org/apache/logging/log4j/layout/template/json/util/package-info.java
b/log4j-layout-template-json/src/main/java/org/apache/logging/log4j/layout/template/json/util/package-info.java
index cb64ccae56..7b302fd231 100644
---
a/log4j-layout-template-json/src/main/java/org/apache/logging/log4j/layout/template/json/util/package-info.java
+++
b/log4j-layout-template-json/src/main/java/org/apache/logging/log4j/layout/template/json/util/package-info.java
@@ -14,4 +14,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+@Export
+@Version("3.0.0")
package org.apache.logging.log4j.layout.template.json.util;
+
+import org.osgi.annotation.bundle.Export;
+import org.osgi.annotation.versioning.Version;