C'mon Spigot team, this is why the revision bumps existed in the first place, to allow plugins that deal with NMS to easily and gracefully fail on unsupported versions. 1.11.1 should be R2, 1.11.2 should be R3. I get that NMS isn't officially supported, but honestly, either do away with the versioned packages entirely or keep up with them properly. It's a single string change, it's not like it's prohibitively difficult.
106 lines
2.7 KiB
XML
106 lines
2.7 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>com.lishid</groupId>
|
|
<artifactId>openinvparent</artifactId>
|
|
<name>OpenInvParent</name>
|
|
<url>http://dev.bukkit.org/bukkit-plugins/openinv/</url>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<openinv.version>3.0.6-SNAPSHOT</openinv.version>
|
|
</properties>
|
|
|
|
<modules>
|
|
<module>api</module>
|
|
<module>common</module>
|
|
<module>plugin</module>
|
|
<module>internal</module>
|
|
<module>assembly</module>
|
|
</modules>
|
|
|
|
<profiles>
|
|
|
|
<!--
|
|
~ N.B.: All version-specific code is handled in submodules of the internal module.
|
|
~
|
|
~ Internal submodules built by each profile are handled in internal/pom.xml
|
|
-->
|
|
|
|
<profile>
|
|
<id>all</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>latest</id>
|
|
<activation>
|
|
<property>
|
|
<name>latest</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>modern</id>
|
|
<activation>
|
|
<property>
|
|
<name>modern</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.4.3</version>
|
|
<configuration>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<!-- Keep the file clean, don't include every single pom from all modules -->
|
|
<excludes>META-INF/maven/**</excludes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.5.1</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |