mirror of
https://github.com/TotalFreedomMC/TF-Marriage.git
synced 2024-12-28 11:04:24 +00:00
232 lines
9.5 KiB
XML
232 lines
9.5 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>com.lenis0012.bukkit</groupId>
|
|
<artifactId>marriage2</artifactId>
|
|
<version>2.0.20-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
<name>Marriage</name>
|
|
<url>http://dev.bukkit.org/server-mods/marriage-reloaded/</url>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<!-- Repo for access to CraftBukkit -->
|
|
<repository>
|
|
<id>md5-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>vault-repo</id>
|
|
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
|
|
</repository>
|
|
<repository>
|
|
<id>lenis0012-repo</id>
|
|
<url>http://ci.lenis0012.com/plugin/repository/everything/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.13.2-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.plotsquared.bukkit</groupId>
|
|
<artifactId>PlotSquared</artifactId>
|
|
<version>3.3.3</version>
|
|
<scope>system</scope>
|
|
<systemPath>${project.basedir}/lib/PlotSquared.jar</systemPath>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.lenis0012.bukkit</groupId>
|
|
<artifactId>lenisutils</artifactId>
|
|
<version>1.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.lenis0012.updater</groupId>
|
|
<artifactId>updater-api</artifactId>
|
|
<version>1.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.milkbowl.vault</groupId>
|
|
<artifactId>VaultAPI</artifactId>
|
|
<version>1.5</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>bukkit</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<project.updaterInfo>44364</project.updaterInfo>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.lenis0012.updater</groupId>
|
|
<artifactId>updater-bukkit</artifactId>
|
|
<version>1.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<finalName>${project.name}-Bukkit-${project.version}</finalName>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>com.lenis0012.updater:updater-api</include>
|
|
<include>com.lenis0012.updater:updater-bukkit</include>
|
|
</includes>
|
|
</artifactSet>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>com.lenis0012.updater</pattern>
|
|
<shadedPattern>com.lenis0012.bukkit.marriage2.libs.updater</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>spigot</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<project.updaterInfo>https://raw.githubusercontent.com/lenis0012/Marriage/master/latest_version.json</project.updaterInfo>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.lenis0012.updater</groupId>
|
|
<artifactId>updater-spigot</artifactId>
|
|
<version>1.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<finalName>${project.name}-Spigot-${project.version}</finalName>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>com.lenis0012.updater:updater-api</include>
|
|
<include>com.lenis0012.updater:updater-spigot</include>
|
|
</includes>
|
|
</artifactSet>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>com.lenis0012.updater</pattern>
|
|
<shadedPattern>com.lenis0012.bukkit.marriage2.libs.updater</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<!-- Build -->
|
|
<build>
|
|
<!-- Resources -->
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources/</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>*</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<!--<defaultGoal>install</defaultGoal>-->
|
|
<finalName>${project.name}</finalName>
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
<!-- Plugins -->
|
|
<plugins>
|
|
<!-- Compiler plugin -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.7.0</version>
|
|
<configuration>
|
|
<source>1.7</source>
|
|
<target>1.7</target>
|
|
<showWarnings>true</showWarnings>
|
|
<showDeprecation>false</showDeprecation> <!-- TODO: Change back to true when setItemInHand fixed -->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>general</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>com.lenis0012.bukkit:lenisutils</include>
|
|
</includes>
|
|
</artifactSet>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>com.lenis0012.pluginutils</pattern>
|
|
<shadedPattern>com.lenis0012.bukkit.marriage2.libs.pluginutils</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- Generate javadoc -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.10.4</version>
|
|
<configuration>
|
|
<show>public</show>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|