Skip to content

Commit

Permalink
Restore DMG support
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdeboy committed Dec 21, 2023
1 parent 533fd6f commit 1f0ccd8
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 5 deletions.
40 changes: 39 additions & 1 deletion .flattened-pom.xml
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
6 changes: 2 additions & 4 deletions pom.xml
Expand Up @@ -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>
Expand Down Expand Up @@ -327,7 +327,6 @@
</activation>
<build>
<plugins>
<!--
<plugin>
<groupId>de.perdian.maven.plugins</groupId>
<artifactId>macosappbundler-maven-plugin</artifactId>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 1f0ccd8

Please sign in to comment.