Repository: logging-chainsaw
Updated Branches:
  refs/heads/master 96ebd9ad2 -> 5f3a9cbee


Enable macOS builds by default when running on macOS


Project: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/commit/5f3a9cbe
Tree: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/tree/5f3a9cbe
Diff: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/diff/5f3a9cbe

Branch: refs/heads/master
Commit: 5f3a9cbee9cd29d89ad91076a4bd1894446ba908
Parents: 96ebd9a
Author: Matt Sicker <[email protected]>
Authored: Fri Mar 16 08:44:05 2018 -0500
Committer: Matt Sicker <[email protected]>
Committed: Fri Mar 16 08:44:05 2018 -0500

----------------------------------------------------------------------
 pom.xml | 59 +++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 35 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-chainsaw/blob/5f3a9cbe/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1ae8c35..ca7befa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -327,30 +327,6 @@
           </execution>
         </executions>
       </plugin>
-      <!-- FIXME: make this plugin optional -->
-      <!--<plugin>-->
-      <!--<groupId>sh.tak.appbundler</groupId>-->
-      <!--<artifactId>appbundle-maven-plugin</artifactId>-->
-      <!--<version>1.2.0</version>-->
-      <!--<configuration>-->
-      <!--<mainClass>${chainsaw.mainclass}</mainClass>-->
-      <!--<bundleName>Chainsaw</bundleName>-->
-      <!--<iconFile>logo.icns</iconFile>-->
-      <!--<generateDiskImageFile>true</generateDiskImageFile>-->
-      <!--<jvmOptions>-->
-      <!--<jvmOption>-Xms128m</jvmOption>-->
-      <!--<jvmOption>-Xmx512m</jvmOption>-->
-      <!--</jvmOptions>-->
-      <!--</configuration>-->
-      <!--<executions>-->
-      <!--<execution>-->
-      <!--<phase>package</phase>-->
-      <!--<goals>-->
-      <!--<goal>bundle</goal>-->
-      <!--</goals>-->
-      <!--</execution>-->
-      <!--</executions>-->
-      <!--</plugin> -->
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>webstart-maven-plugin</artifactId>
@@ -539,6 +515,41 @@
         <javadoc.opts>-Xdoclint:none</javadoc.opts>
       </properties>
     </profile>
+    <profile>
+      <id>mac</id>
+      <activation>
+        <os>
+          <family>mac</family>
+        </os>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>sh.tak.appbundler</groupId>
+            <artifactId>appbundle-maven-plugin</artifactId>
+            <version>1.2.0</version>
+            <configuration>
+              <mainClass>${chainsaw.mainclass}</mainClass>
+              <bundleName>Chainsaw</bundleName>
+              <iconFile>logo.icns</iconFile>
+              <generateDiskImageFile>true</generateDiskImageFile>
+              <jvmOptions>
+                <jvmOption>-Xms128m</jvmOption>
+                <jvmOption>-Xmx512m</jvmOption>
+              </jvmOptions>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>package</phase>
+                <goals>
+                  <goal>bundle</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>
 

Reply via email to