ShopChest/pom.xml

238 lines
8.7 KiB
XML
Raw Normal View History

2016-07-03 18:59:29 +00:00
<?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>de.epiceric</groupId>
<artifactId>ShopChest</artifactId>
<packaging>jar</packaging>
<version>${version.final}</version>
<name>ShopChest</name>
<url>https://www.spigotmc.org/resources/shopchest.11431/</url>
<description>Let your players create their own nice-looking shops to sell their stuff to other players!</description>
2016-07-03 18:59:29 +00:00
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
2016-07-05 13:08:44 +00:00
<version.number>1.11.1</version.number>
<version.final>${version.number}-${version.git}</version.final>
2016-07-05 13:08:44 +00:00
<github.global.server>github</github.global.server>
<javadoc.opts><!-- Only jdk 1.8 and later --></javadoc.opts>
2016-07-03 18:59:29 +00:00
</properties>
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>net.md-5</groupId>
<artifactId>scriptus</artifactId>
<version>0.2</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>describe</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptionProperty>version.git</descriptionProperty>
<format>%s</format>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>doclint-java8</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
<profile>
<id>release</id>
<properties>
<version.final>${version.number}</version.final>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<additionalparam>${javadoc.opts}</additionalparam>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
2016-07-03 18:59:29 +00:00
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
2016-07-03 19:14:41 +00:00
<repository>
<id>vault-repo</id>
2016-08-03 14:31:33 +00:00
<url>http://nexus.hc.to/content/repositories/pub_releases/</url>
2016-07-03 19:14:41 +00:00
</repository>
<repository>
<id>epiceric-repo</id>
<url>http://epicericee.github.io/ShopChest/maven/</url>
</repository>
<repository>
<id>bstats-repo</id>
<url>http://repo.bstats.org/content/repositories/releases/</url>
</repository>
2016-07-03 18:59:29 +00:00
</repositories>
<dependencies>
<dependency>
2016-11-17 19:30:26 +00:00
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.11.2-R0.1-SNAPSHOT</version>
2016-07-03 18:59:29 +00:00
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>VaultAPI</artifactId>
2016-07-03 19:14:41 +00:00
<version>1.6</version>
2016-07-03 18:59:29 +00:00
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sk89q</groupId>
<artifactId>worldguard</artifactId>
<version>6.1.3-SNAPSHOT</version>
2016-11-17 19:30:26 +00:00
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.palmergames</groupId>
<artifactId>Towny</artifactId>
<version>0.91.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>1.1</version>
</dependency>
2016-07-03 18:59:29 +00:00
</dependencies>
2016-07-05 13:08:44 +00:00
<distributionManagement>
<repository>
<id>internal-maven-repo</id>
<url>file://${project.build.directory}/gh-pages/maven</url>
</repository>
</distributionManagement>
2016-07-03 18:59:29 +00:00
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>resources</goal>
</goals>
</execution>
</executions>
<configuration>
<resources>
<resource>
<directory>src/main/resources</directory>
<targetPath>.</targetPath>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<configuration>
<artifactSet>
<includes>
<include>org.bstats:*</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>de.epiceric.shopchest.utils</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
2016-07-05 13:08:44 +00:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<altDeploymentRepository>internal-maven-repo::default::file://${project.build.directory}/gh-pages/maven</altDeploymentRepository>
<javadoc>${project.build.directory}/${project.build.finalName}-javadoc.jar</javadoc>
2016-07-05 13:08:44 +00:00
</configuration>
</plugin>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.12</version>
<configuration>
<message>
Updated Maven Artifact
Artifact: ${project.artifactId}
Version: ${project.version}
Timestamp: ${maven.build.timestamp}
</message>
2016-07-05 13:08:44 +00:00
<outputDirectory>${project.build.directory}/gh-pages</outputDirectory>
<branch>refs/heads/gh-pages</branch>
<merge>true</merge>
<repositoryName>ShopChest</repositoryName>
<repositoryOwner>EpicEricEE</repositoryOwner>
</configuration>
<executions>
<execution>
<phase>deploy</phase>
<goals>
<goal>site</goal>
</goals>
</execution>
</executions>
</plugin>
2016-07-03 18:59:29 +00:00
</plugins>
</build>
</project>