Permalink
Browse files

Removed OS X app build, thanks for nothing Oracle and Apple

  • Loading branch information...
christianbauer committed Nov 5, 2014
1 parent 2e9380f commit 5af394b7cd86494782c122fd3d5b13a255ca45c9
View
@@ -41,27 +41,6 @@
</configuration>
</plugin>
<!-- Build an OS X application and disk image -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>osxappbundle-maven-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>org.fourthline.cling.mediarenderer.MediaRenderer</mainClass>
<iconFile>${basedir}/src/main/resources/MediaRendererIcon.icns</iconFile>
<jvmVersion>1.6+</jvmVersion>
<javaApplicationStub>${basedir}/../misc/JavaApplicationStub</javaApplicationStub>
<vmOptions>-Djna.library.path=/opt/local/lib</vmOptions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
@@ -1 +0,0 @@
Bundle-Version: 20090211
View
@@ -39,43 +39,9 @@
<filename>${project.build.finalName}-standalone.jar</filename>
</configuration>
</execution>
<!-- TODO: Move to bridge module
<execution>
<id>workbench-bridge-cli-jar</id>
<goals>
<goal>one-jar</goal>
</goals>
<configuration>
<mainClass>org.fourthline.cling.bridge.ui.Main</mainClass>
<attachToBuild>true</attachToBuild>
<classifier>bridge-cli</classifier>
<filename>${project.build.finalName}-bridge-cli.jar</filename>
</configuration>
</execution>
-->
</executions>
</plugin>
<!-- Build an OS X application and disk image -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>osxappbundle-maven-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>org.fourthline.cling.workbench.Workbench</mainClass>
<iconFile>${basedir}/src/main/resources/WorkbenchIcon.icns</iconFile>
<jvmVersion>1.6+</jvmVersion>
<javaApplicationStub>${basedir}/../misc/JavaApplicationStub</javaApplicationStub>
</configuration>
</plugin>
<!-- Website lifecycle -->
<plugin>
<artifactId>maven-site-plugin</artifactId>
@@ -91,7 +57,7 @@
</reportPlugins>
</configuration>
</plugin>
</plugins>
</build>
@@ -141,14 +107,6 @@
<version>${slf4j.version}</version>
</dependency>
<!-- TODO: http://seamframework.org/Community/WeldSEAndSlf4j
<dependency>
<groupId>org.jboss.weld.se</groupId>
<artifactId>weld-se</artifactId>
<version>1.1.1.Final</version>
</dependency>
-->
<dependency>
<groupId>javax.ejb</groupId>
<artifactId>ejb-api</artifactId>

1 comment on commit 5af394b

@christianbauer

This comment has been minimized.

Show comment
Hide comment
@christianbauer

christianbauer Nov 11, 2014

Member

There is no working Maven Plugin for JavaApplicationStub or an alternative to build an OS X application with Maven without resorting to hacks. This has to work on JDK 1.7+/OS X Yosemite out of the box. The old Maven Plugin uses the old stub for Apple JDK 1.6.

I've looked briefly at a Gradle solution but after moving a whole team this year from Maven to Gradle, I'm not sure I want to migrate my own projects and even if I'd do that, I'm not sure when that will happen.

If anyone has a solution that works with Maven and current versions, I'd be happy to reenable the OS X build.

Member

christianbauer commented on 5af394b Nov 11, 2014

There is no working Maven Plugin for JavaApplicationStub or an alternative to build an OS X application with Maven without resorting to hacks. This has to work on JDK 1.7+/OS X Yosemite out of the box. The old Maven Plugin uses the old stub for Apple JDK 1.6.

I've looked briefly at a Gradle solution but after moving a whole team this year from Maven to Gradle, I'm not sure I want to migrate my own projects and even if I'd do that, I'm not sure when that will happen.

If anyone has a solution that works with Maven and current versions, I'd be happy to reenable the OS X build.

Please sign in to comment.