My fork of airsonic with experimental fixes and improvements. See branch "custom"
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
5.5 KiB

9 years ago
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>libresonic-installer-mac</artifactId>
9 years ago
<packaging>pom</packaging>
<name>Libresonic Installer for Mac</name>
9 years ago
<parent>
<groupId>org.libresonic.player</groupId>
<artifactId>libresonic</artifactId>
<version>6.1.rc1</version>
9 years ago
</parent>
<dependencies>
<dependency>
<groupId>org.libresonic.player</groupId>
<artifactId>libresonic-main</artifactId>
9 years ago
<version>${project.version}</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.libresonic.player</groupId>
<artifactId>libresonic-booter</artifactId>
9 years ago
<version>${project.version}</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>mac</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<configuration>
<target>
<taskdef name="appbundler" classname="com.oracle.appbundler.AppBundlerTask"/>
<mkdir dir="${project.build.directory}"/>
<appbundler outputdirectory="target"
name="Libresonic"
displayname="Libresonic"
icon="src/libresonic.icns"
identifier="org.libresonic.player"
9 years ago
shortversion="${project.version}"
mainclassname="org.libresonic.player.booter.Main">
9 years ago
<runtime dir="${env.JAVA_HOME}"/>
<classpath dir="..">
<include name="libresonic-booter/target/libresonic-booter-jar-with-dependencies.jar"/>
<include name="libresonic-main/target/libresonic.war"/>
9 years ago
</classpath>
<option value="-Dlibresonic.war=$APP_ROOT/Contents/Java/libresonic.war"/>
<option value="-Dlibresonic.home=/Library/Application Support/Libresonic"/>
<option value="-Dlibresonic.defaultMusicFolder=/Users/Shared/Music/iTunes/iTunes Media"/>
<option value="-Dlibresonic.defaultPodcastFolder=/Users/Shared/Podcasts"/>
<option value="-Dlibresonic.defaultPlaylistFolder=/Users/Shared/Playlists"/>
<option value="-Dlibresonic.port=4040"/>
<option value="-Dlibresonic.httpsPort=0"/>
<option value="-Dlibresonic.contextPath=/"/>
9 years ago
<option value="-Dapple.awt.UIElement=true"/>
<option value="-Xmx150m"/>
<argument value="-mac"/>
</appbundler>
<!--Requires installation of Packages, see http://s.sudre.free.fr/Software/Packages/about.html or libresonic-tools-->
9 years ago
<exec executable="/usr/local/bin/packagesbuild">
<arg value="-v"/>
<arg value="${project.basedir}/src/libresonic.pkgproj"/>
9 years ago
</exec>
<exec executable="/usr/bin/productsign">
<arg value="--sign"/>
<arg value="Sindre Mehus"/>
<arg value="${project.build.directory}/libresonic.pkg"/>
<arg value="${project.build.directory}/libresonic-${project.version}.pkg"/>
9 years ago
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>appbundler</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>