mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-10-30 23:29:57 +01:00
bddd898857
In order to simplify the pom.xml files, we now work with a ncp_base (formerly 'minimal') profile for the minimal configuration and demand this to be activated in addition to other profiles. This means the build parameter 'ncp_base' can/should be used as well. See the README.md for a table of build profiles).
178 lines
5.4 KiB
XML
178 lines
5.4 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>fr.neatmonster</groupId>
|
|
<artifactId>nocheatplus-parent</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>1.1-SNAPSHOT</version>
|
|
<name>NoCheatPlus Parent</name>
|
|
<url>http://dev.bukkit.org/server-mods/nocheatplus</url>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.build.timestamp.format>yyyy_MM_dd-HH_mm</maven.build.timestamp.format>
|
|
<buildTimestamp>${maven.build.timestamp}</buildTimestamp>
|
|
<BUILD_NUMBER>?</BUILD_NUMBER>
|
|
<BUILD_SERIES>?</BUILD_SERIES>
|
|
</properties>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>ncp_base</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
<property>
|
|
<name>ncp_base</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>NCPBuildBase</module>
|
|
<module>NCPCommons</module>
|
|
<module>NCPCore</module>
|
|
<module>NCPCompatBukkit</module>
|
|
<module>NCPCompatProtocolLib</module>
|
|
<module>NCPCompatGlowstone</module>
|
|
<module>NCPPlugin</module>
|
|
<module>NoCheatPlus</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>spigot1_8_r3</id>
|
|
<activation>
|
|
<property>
|
|
<name>spigot1_8_r3</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<!-- Non minimal below. -->
|
|
<module>NCPCompatSpigotCB1_8_R3</module>
|
|
<!-- Non minimal above. -->
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>spigot1_9_r1</id>
|
|
<activation>
|
|
<property>
|
|
<name>spigot1_9_r1</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<!-- Non minimal below. -->
|
|
<module>NCPCompatSpigotCB1_9_R1</module>
|
|
<!-- Non minimal above. -->
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>spigot1_9_r2</id>
|
|
<activation>
|
|
<property>
|
|
<name>spigot1_9_r2</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<!-- Non minimal below. -->
|
|
<module>NCPCompatSpigotCB1_9_R2</module>
|
|
<!-- Non minimal above. -->
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>spigot1_10_r1</id>
|
|
<activation>
|
|
<property>
|
|
<name>spigot1_10_r1</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<!-- Non minimal below. -->
|
|
<module>NCPCompatCBDev</module>
|
|
<!-- Non minimal above. -->
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>cbdev</id>
|
|
<activation>
|
|
<property>
|
|
<name>cbdev</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<!-- Non minimal below. -->
|
|
<module>NCPCompatCBDev</module>
|
|
<!-- Non minimal above. -->
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>all</id>
|
|
<activation>
|
|
<property>
|
|
<name>cbdedicated</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<!-- Non minimal below. -->
|
|
<module>NCPCompatCB2512</module>
|
|
<module>NCPCompatCB2545</module>
|
|
<module>NCPCompatCB2602</module>
|
|
<module>NCPCompatCB2645</module>
|
|
<module>NCPCompatCB2691</module>
|
|
<module>NCPCompatCB2763</module>
|
|
<module>NCPCompatCB2794</module>
|
|
<module>NCPCompatCB2808</module>
|
|
<module>NCPCompatCB2882</module>
|
|
<module>NCPCompatCB2922</module>
|
|
<module>NCPCompatCB3026</module>
|
|
<module>NCPCompatCB3043</module>
|
|
<module>NCPCompatCB3100</module>
|
|
<module>NCPCompatSpigotCB1_8_R1</module>
|
|
<module>NCPCompatSpigotCB1_8_R2</module>
|
|
<module>NCPCompatSpigotCB1_8_R3</module>
|
|
<module>NCPCompatSpigotCB1_9_R1</module>
|
|
<module>NCPCompatSpigotCB1_9_R2</module>
|
|
<module>NCPCompatCBDev</module>
|
|
<!-- Non minimal above. -->
|
|
</modules>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots</url>
|
|
</repository>
|
|
<!-- <repository> <id>md_5-releases</id> <url>http://repo.md-5.net/content/repositories/releases/</url>
|
|
</repository> <repository> <id>md_5-snapshots</id> <url>http://repo.md-5.net/content/repositories/snapshots/</url>
|
|
</repository> -->
|
|
<repository>
|
|
<id>bukkit</id>
|
|
<url>http://repo.bukkit.org/content/groups/public/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<description>The initial pom design had been taken from mbax (GitHub).
|
|
|
|
The naming of the native compatibility modules mostly follows NCPCompat + shortcut of server mod name + earliest build/version that the module would run with (though it should be compiled with the latest available build rather, latest build also can be used, if it is the first module depicting an API incompatibility transition).
|
|
|
|
NCPCompatBukkit provides compatibility for the Bukkit-API only (no native module available), aiming at keeping NCP up for a new MC version for if no native module is available . Tendency is to use the latest Bukkit version rather, but since it is used for some "unknown mods" as well, it is not compiled with the latest Bukkit version always.
|
|
|
|
TODO: Better place for descriptions like this?</description>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|