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.

106 lines
4.7 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-windows</artifactId>
9 years ago
<packaging>pom</packaging>
<name>Libresonic Installer for Windows</name>
9 years ago
<parent>
<groupId>org.libresonic.player</groupId>
<artifactId>libresonic</artifactId>
<version>6.2.spring4-SNAPSHOT</version>
9 years ago
</parent>
<properties>
<exe4j.home>c:/Program Files/exe4j</exe4j.home>
<nsis.home>c:/Program Files (x86)/NSIS</nsis.home>
</properties>
<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>windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>exe4j</id>
<phase>compile</phase>
<configuration>
<target>
<echo>Compiling exe4j...</echo>
<copy file="${basedir}/src/main/exe4j/libresonic-agent.exe.vmoptions" todir="${project.build.directory}"/>
<copy file="${basedir}/src/main/exe4j/libresonic-agent-elevated.exe.vmoptions" todir="${project.build.directory}"/>
<copy file="${basedir}/src/main/exe4j/libresonic-service.exe.vmoptions" todir="${project.build.directory}"/>
9 years ago
<exec executable="${exe4j.home}/bin/exe4jc">
<arg value="--license=L-SINDRE_MEHUS#14926715500010001-1ty7dbe11l10ll#140"/>
</exec>
<exec executable="${exe4j.home}/bin/exe4jc">
<arg value="${basedir}/src/main/exe4j/libresonic-agent.exe4j"/>
9 years ago
</exec>
<exec executable="${exe4j.home}/bin/exe4jc">
<arg value="${basedir}/src/main/exe4j/libresonic-agent-elevated.exe4j"/>
9 years ago
</exec>
<exec executable="${exe4j.home}/bin/exe4jc">
<arg value="${basedir}/src/main/exe4j/libresonic-service.exe4j"/>
9 years ago
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>nsis</id>
<phase>compile</phase>
<configuration>
<target>
<echo>Compiling NSIS script...</echo>
<mkdir dir="${project.build.directory}"/>
<exec executable="${nsis.home}/makensis">
<arg value="${basedir}/src/main/nsis/libresonic.nsi"/>
<arg value="-XOutFile ${project.build.directory}/libresonic-${project.version}-setup.exe"/>
9 years ago
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>