b69ff68d7c
- OsuGroupList.get().deleteSongGroup() will delete a song group from the list. - OsuGroupList.get().deleteSong() will delete an individual song from the list (must be expanded), and will delete the song group if there are no remaining songs in the group. - If possible, deleted beatmap files are moved to system trash (using JNA); otherwise, they are deleted immediately. This is done through Utils.deleteToTrash(). Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
158 lines
4.1 KiB
XML
158 lines
4.1 KiB
XML
<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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>itdelatrisu</groupId>
|
|
<artifactId>opsu</artifactId>
|
|
<version>0.5.0</version>
|
|
|
|
<build>
|
|
<sourceDirectory>src</sourceDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>res</directory>
|
|
<excludes>
|
|
<exclude>**/Thumbs.db</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.2</version>
|
|
<configuration>
|
|
<source>1.7</source>
|
|
<target>1.7</target>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.googlecode.mavennatives</groupId>
|
|
<artifactId>maven-nativedependencies-plugin</artifactId>
|
|
<version>0.0.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>unpacknatives</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.3.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>run</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<skip>${jar}</skip>
|
|
<executable>java</executable>
|
|
<arguments>
|
|
<argument>-Djava.library.path=${project.build.directory}/natives</argument>
|
|
<argument>-cp</argument>
|
|
<classpath />
|
|
<argument>itdelatrisu.opsu.Opsu</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>jarsplice</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>java</executable>
|
|
<workingDirectory>${basedir}/target</workingDirectory>
|
|
<arguments>
|
|
<argument>-jar</argument>
|
|
<argument>-Dinput=opsu-${project.version}.jar</argument>
|
|
<argument>-Dmain=itdelatrisu.opsu.Opsu</argument>
|
|
<argument>-Doutput=opsu-${project.version}-runnable.jar</argument>
|
|
<argument>${basedir}/tools/JarSplicePlus.jar</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<configuration>
|
|
<!--
|
|
<artifactSet>
|
|
<excludes>
|
|
<exclude>*:*:natives*</exclude>
|
|
</excludes>
|
|
</artifactSet>
|
|
-->
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.lwjgl.lwjgl</groupId>
|
|
<artifactId>lwjgl</artifactId>
|
|
<version>2.9.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slick2d</groupId>
|
|
<artifactId>slick2d-core</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jcraft</groupId>
|
|
<artifactId>jorbis</artifactId>
|
|
<version>0.0.17</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.lingala.zip4j</groupId>
|
|
<artifactId>zip4j</artifactId>
|
|
<version>1.3.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javazoom</groupId>
|
|
<artifactId>jlayer</artifactId>
|
|
<version>1.0.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xerial</groupId>
|
|
<artifactId>sqlite-jdbc</artifactId>
|
|
<version>3.8.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.json</groupId>
|
|
<artifactId>json</artifactId>
|
|
<version>20140107</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.java.dev.jna</groupId>
|
|
<artifactId>jna</artifactId>
|
|
<version>4.1.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.java.dev.jna</groupId>
|
|
<artifactId>jna-platform</artifactId>
|
|
<version>4.1.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|