mirror of
https://github.com/PEXPlugins/Modifyworld.git
synced 2025-01-22 21:11:29 +01:00
233 lines
7.5 KiB
XML
233 lines
7.5 KiB
XML
<?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>
|
|
<groupId>ninja.leaping</groupId>
|
|
<artifactId>modifyworld</artifactId>
|
|
<version>2.0-SNAPSHOT</version>
|
|
<name>Modifyworld</name>
|
|
<description>
|
|
A permission-based world protection plugin for Sponge
|
|
</description>
|
|
<properties>
|
|
<siteUrlSuffix>${project.version}</siteUrlSuffix>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<kotlin.version>1.0.0-beta-4584</kotlin.version>
|
|
<ghUser>PEXPlugins</ghUser>
|
|
<ghRepo>Modifyworld</ghRepo>
|
|
<ghProject>${ghUser}/${ghRepo}</ghProject>
|
|
|
|
</properties>
|
|
|
|
<url>https://${ghUser}.github.io/${ghRepo}</url>
|
|
<issueManagement>
|
|
<system>GitHub</system>
|
|
<url>https://github.com/${ghProject}/issues</url>
|
|
</issueManagement>
|
|
<scm>
|
|
<connection>scm:git:git://github.com/${ghProject}.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com:${ghProject}.git</developerConnection>
|
|
<url>https://github.com/${ghProject}</url>
|
|
</scm>
|
|
<distributionManagement>
|
|
<site>
|
|
<id>gh-pages</id>
|
|
<name>GitHub Pages</name>
|
|
<url>github:http://${ghUser}.github.io/${ghRepo}/${siteUrlSuffix}/</url>
|
|
</site>
|
|
</distributionManagement>
|
|
<prerequisites>
|
|
<maven>3.0.3</maven>
|
|
</prerequisites>
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jetbrains.dokka</groupId>
|
|
<artifactId>dokka-maven-plugin</artifactId>
|
|
<version>${dokka.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>pre-site</phase>
|
|
<goals>
|
|
<goal>dokka</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.6</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
|
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<version>${kotlin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>test-compile</id>
|
|
<phase>test-compile</phase>
|
|
<goals>
|
|
<goal>test-compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>templating-maven-plugin</artifactId>
|
|
<version>1.0.0</version>
|
|
<configuration>
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin-templates</sourceDirectory>
|
|
<outputDirectory>${project.build.directory}/generated-sources/kotlin-templates</outputDirectory>
|
|
<testSourceDirectory>${project.basedir}/src/test/java-templates</testSourceDirectory>
|
|
<testOutputDirectory>${project.build.directory}/generated-test-sources/kotlin-templates</testOutputDirectory>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>filter-src</id>
|
|
<goals>
|
|
<goal>filter-sources</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.4.2</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
<shadedClassifierName>shaded</shadedClassifierName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>3.3</version>
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>net.trajano.wagon</groupId>
|
|
<artifactId>wagon-git</artifactId>
|
|
<version>2.0.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.doxia</groupId>
|
|
<artifactId>doxia-module-markdown</artifactId>
|
|
<version>1.6</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.5.1</version>
|
|
<configuration>
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
<tagNameFormat>@{project.version}</tagNameFormat>
|
|
<scmCommentPrefix xml:space="preserve">[RELEASE] </scmCommentPrefix>
|
|
<goals>install deploy site-deploy</goals> <!-- install is here to fix javadoc generation in multi-module projects -->
|
|
<releaseProfiles>release</releaseProfiles>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.spongepowered</groupId>
|
|
<artifactId>spongeapi</artifactId>
|
|
<version>[3.0.0,3.1.0)</version>
|
|
<type>jar</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>xyz.aoeu</groupId>
|
|
<artifactId>spongekt</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.12</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<repositories>
|
|
<repository>
|
|
<id>sponge-repo</id>
|
|
<url>http://repo.spongepowered.org/maven</url>
|
|
</repository>
|
|
<repository>
|
|
<id>pex-repo</id>
|
|
<url>https://pex-repo.aoeu.xyz</url>
|
|
</repository>
|
|
</repositories>
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.10.3</version>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
</project>
|