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

sdeboy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-chainsaw.git


The following commit(s) were added to refs/heads/master by this push:
     new 1f0ccd8  Restore DMG support
1f0ccd8 is described below

commit 1f0ccd8e63d5af0e3a6c56a64fae63691ed2fd15
Author: sdeboy <[email protected]>
AuthorDate: Thu Dec 21 15:54:59 2023 -0800

    Restore DMG support
---
 .flattened-pom.xml | 40 +++++++++++++++++++++++++++++++++++++++-
 pom.xml            |  6 ++----
 2 files changed, 41 insertions(+), 5 deletions(-)

diff --git a/.flattened-pom.xml b/.flattened-pom.xml
index dafce69..94dad09 100644
--- a/.flattened-pom.xml
+++ b/.flattened-pom.xml
@@ -21,7 +21,7 @@
   <parent>
     <groupId>org.apache.logging</groupId>
     <artifactId>logging-parent</artifactId>
-    <version>10.4.0</version>
+    <version>10.5.0</version>
     <relativePath></relativePath>
   </parent>
   <groupId>log4j</groupId>
@@ -126,6 +126,7 @@
     <maven.compiler.release>11</maven.compiler.release>
     
<chainsaw.mainclass>org.apache.log4j.chainsaw.ChainsawStarter</chainsaw.mainclass>
     <maven.compiler.target>11</maven.compiler.target>
+    <minimalJavaBuildVersion>[11,)</minimalJavaBuildVersion>
     <ChainsawReleaseManager>Robert Middleton</ChainsawReleaseManager>
     <maven.compiler.source>11</maven.compiler.source>
     <log4j.version>2.22.0</log4j.version>
@@ -298,6 +299,43 @@
       </activation>
       <build>
         <plugins>
+          <plugin>
+            <groupId>de.perdian.maven.plugins</groupId>
+            <artifactId>macosappbundler-maven-plugin</artifactId>
+            <version>1.10.2</version>
+            <executions>
+              <execution>
+                <phase>package</phase>
+                <goals>
+                  <goal>bundle</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <plist>
+                
<CFBundleIconFile>src/main/resources/logo.icns</CFBundleIconFile>
+                <CFBundleDisplayName>Chainsaw</CFBundleDisplayName>
+                <CFBundleDevelopmentRegion>English</CFBundleDevelopmentRegion>
+                <CFBundleURLTypes>
+                  <string>msa</string>
+                </CFBundleURLTypes>
+                <JVMMainClassName>${chainsaw.mainclass}</JVMMainClassName>
+                <JVMVersion>11+</JVMVersion>
+                <JVMOptions>
+                  <jvmOption>-Xms128m</jvmOption>
+                  <jvmOption>-Xmx512m</jvmOption>
+                </JVMOptions>
+              </plist>
+              <dmg>
+                <generate>true</generate>
+                <additionalResources>
+                  <additionalResource>
+                    <directory>src/bundle/macos/distribution</directory>
+                  </additionalResource>
+                </additionalResources>
+              </dmg>
+            </configuration>
+          </plugin>
           <plugin>
             <groupId>org.apache.rat</groupId>
             <artifactId>apache-rat-plugin</artifactId>
diff --git a/pom.xml b/pom.xml
index 968689d..b8c57b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging</groupId>
     <artifactId>logging-parent</artifactId>
-    <version>10.4.0</version>
+    <version>10.5.0</version>
     <relativePath />
   </parent>
   <groupId>log4j</groupId>
@@ -327,7 +327,6 @@
       </activation>
       <build>
         <plugins>
-          <!--
           <plugin>
             <groupId>de.perdian.maven.plugins</groupId>
             <artifactId>macosappbundler-maven-plugin</artifactId>
@@ -358,14 +357,13 @@
             </configuration>
             <executions>
               <execution>
-                <phase>package</phase>
                 <goals>
                   <goal>bundle</goal>
                 </goals>
+                <phase>package</phase>
               </execution>
             </executions>
           </plugin>
-          -->
           <plugin>
             <groupId>org.apache.rat</groupId>
             <artifactId>apache-rat-plugin</artifactId>

Reply via email to