Select Git revision

Tobias Ullerich authored
pom.xml 5.54 KiB
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>de.tobias.playpad</groupId>
<artifactId>PlayWallPlugins</artifactId>
<version>7.0.0-SNAPSHOT</version>
</parent>
<properties>
<jni4net.j.version>0.8.8.0</jni4net.j.version>
<nativeAudio.version>1.0.0</nativeAudio.version>
<project.outputDirectory>../../build/${project.version}</project.outputDirectory>
<project.artifactName>${project.artifactId}-v${project.version}</project.artifactName>
</properties>
<artifactId>PlayWallPluginNativeAudio</artifactId>
<dependencies>
<dependency>
<groupId>de.tobias.playpad</groupId>
<artifactId>PlayWallCore</artifactId>
<version>${core.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.sf.jni4net</groupId>
<artifactId>jni4net.j</artifactId>
<version>${jni4net.j.version}</version>
</dependency>
<dependency>
<groupId>de.tobias.playpad</groupId>
<artifactId>NativeAudioWin</artifactId>
<version>${nativeAudio.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>de.thecodelabs</groupId>
<artifactId>versionizer-maven-plugin</artifactId>
<version>1.0.1</version>
<configuration>
<resourceFile>plugin.yml</resourceFile>
</configuration>
<executions>
<execution>
<id>resource-fill</id>
<goals>
<goal>resource-fill</goal>
</goals>
<phase>compile</phase>
</execution>
</executions>
</plugin>
<!--Scala Plugin-->
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<executions>
<execution>
<id>scala-compile-first</id>
<phase>process-resources</phase>
<goals>
<goal>add-source</goal>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>scala-test-compile</id>
<phase>process-test-resources</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<outputDirectory>${project.outputDirectory}</outputDirectory>
<finalName>${project.artifactName}</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>assemble-all</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>release</id>
<name>TheCodeLabs-releases</name>
<url>https://maven.thecodelabs.de/artifactory/TheCodeLabs-release</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>TheCodeLabs-snapshots</name>
<url>https://maven.thecodelabs.de/artifactory/TheCodeLabs-snapshots</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>release</id>
<url>https://maven.thecodelabs.de/artifactory/TheCodeLabs-release</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>snapshots</id>
<url>https://maven.thecodelabs.de/artifactory/TheCodeLabs-snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>