You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2023/10/17 16:24:25 UTC

[logging-log4j-jmx-gui] branch main updated: Add `bnd-baseline-maven-plugin` check

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-log4j-jmx-gui.git


The following commit(s) were added to refs/heads/main by this push:
     new 11e594d  Add `bnd-baseline-maven-plugin` check
11e594d is described below

commit 11e594d23ae7f89dcb56625f029aeb7d849e8396
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Tue Oct 17 18:24:17 2023 +0200

    Add `bnd-baseline-maven-plugin` check
---
 pom.xml                                               | 19 +++++++++++++++++++
 .../apache/logging/log4j/jmx/gui/package-info.java    |  2 ++
 2 files changed, 21 insertions(+)

diff --git a/pom.xml b/pom.xml
index 3c049e4..7e2f6ef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -157,6 +157,12 @@
       <scope>provided</scope>
     </dependency>
 
+    <dependency>
+      <groupId>org.osgi</groupId>
+      <artifactId>osgi.annotation</artifactId>
+      <scope>provided</scope>
+    </dependency>
+
     <dependency>
       <groupId>org.osgi</groupId>
       <artifactId>org.osgi.annotation.bundle</artifactId>
@@ -200,6 +206,19 @@
         </executions>
       </plugin>
 
+      <plugin>
+        <groupId>biz.aQute.bnd</groupId>
+        <artifactId>bnd-baseline-maven-plugin</artifactId>
+        <version>${bnd-maven-plugin.version}</version>
+        <executions>
+          <execution>
+            <id>baseline</id>
+            <goals>
+              <goal>baseline</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 
diff --git a/src/main/java/org/apache/logging/log4j/jmx/gui/package-info.java b/src/main/java/org/apache/logging/log4j/jmx/gui/package-info.java
index f757353..f5f40e0 100644
--- a/src/main/java/org/apache/logging/log4j/jmx/gui/package-info.java
+++ b/src/main/java/org/apache/logging/log4j/jmx/gui/package-info.java
@@ -19,6 +19,8 @@
  * Log4j 2.0 JMX GUI.
  */
 @Export
+@Version("2.20.1")
 package org.apache.logging.log4j.jmx.gui;
 
 import org.osgi.annotation.bundle.Export;
+import org.osgi.annotation.versioning.Version;