This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch release/0.5.0
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git

commit 22af68533a5ef0d6267abfe31869d3148a5b02f4
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Mon Oct 2 11:50:31 2023 +0200

    Add JPMS/OSGi support to `log4j-changelog`
---
 log4j-changelog/pom.xml                            |  6 ++++++
 .../log4j/changelog/exporter/package-info.java     | 20 ++++++++++++++++++
 .../log4j/changelog/importer/package-info.java     | 20 ++++++++++++++++++
 .../logging/log4j/changelog/package-info.java      | 20 ++++++++++++++++++
 .../log4j/changelog/releaser/package-info.java     | 20 ++++++++++++++++++
 src/changelog/0.5.0/add-module-support.xml         | 24 ++++++++++++++++++++++
 src/site/_release-notes/_0.5.0.adoc                |  1 +
 7 files changed, 111 insertions(+)

diff --git a/log4j-changelog/pom.xml b/log4j-changelog/pom.xml
index 7d23f2b..5d54d99 100644
--- a/log4j-changelog/pom.xml
+++ b/log4j-changelog/pom.xml
@@ -30,6 +30,12 @@
 
   <dependencies>
 
+    <dependency>
+      <groupId>org.osgi</groupId>
+      <artifactId>osgi.annotation</artifactId>
+      <scope>provided</scope>
+    </dependency>
+
     <dependency>
       <groupId>com.github.spotbugs</groupId>
       <artifactId>spotbugs-annotations</artifactId>
diff --git 
a/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/exporter/package-info.java
 
b/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/exporter/package-info.java
new file mode 100644
index 0000000..dbe090b
--- /dev/null
+++ 
b/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/exporter/package-info.java
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+@Export
+package org.apache.logging.log4j.changelog.exporter;
+
+import org.osgi.annotation.bundle.Export;
diff --git 
a/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/importer/package-info.java
 
b/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/importer/package-info.java
new file mode 100644
index 0000000..0177795
--- /dev/null
+++ 
b/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/importer/package-info.java
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+@Export
+package org.apache.logging.log4j.changelog.importer;
+
+import org.osgi.annotation.bundle.Export;
diff --git 
a/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/package-info.java
 
b/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/package-info.java
new file mode 100644
index 0000000..39c27c9
--- /dev/null
+++ 
b/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/package-info.java
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+@Export
+package org.apache.logging.log4j.changelog;
+
+import org.osgi.annotation.bundle.Export;
diff --git 
a/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/releaser/package-info.java
 
b/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/releaser/package-info.java
new file mode 100644
index 0000000..e01f4ba
--- /dev/null
+++ 
b/log4j-changelog/src/main/java/org/apache/logging/log4j/changelog/releaser/package-info.java
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+@Export
+package org.apache.logging.log4j.changelog.releaser;
+
+import org.osgi.annotation.bundle.Export;
diff --git a/src/changelog/0.5.0/add-module-support.xml 
b/src/changelog/0.5.0/add-module-support.xml
new file mode 100644
index 0000000..fa31d12
--- /dev/null
+++ b/src/changelog/0.5.0/add-module-support.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xmlns="http://logging.apache.org/log4j/changelog";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.2.xsd";
+       type="added">
+  <author id="github:vy"/>
+  <description format="asciidoc">Added OSGi and JPMS support</description>
+</entry>
diff --git a/src/site/_release-notes/_0.5.0.adoc 
b/src/site/_release-notes/_0.5.0.adoc
index 0352b81..be6f8b8 100644
--- a/src/site/_release-notes/_0.5.0.adoc
+++ b/src/site/_release-notes/_0.5.0.adoc
@@ -43,6 +43,7 @@ This minor release contains various bug fixes and 
improvements.
 
 ==== Added
 
+* Added OSGi and JPMS support
 * Started publishing https://logging.apache.org/log4j/tools[the project 
website]
 
 ==== Changed

Reply via email to