303 lines
12 KiB
XML
303 lines
12 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>de.jaschastarke</groupId>
|
|
<artifactId>LimitedCreative</artifactId>
|
|
<name>LimitedCreative</name>
|
|
<version>2.5</version>
|
|
<url>https://github.com/possi/LimitedCreative</url>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<plib.version>1.4-SNAPSHOT</plib.version>
|
|
<bukkit.version>1.12.2-R0.1-SNAPSHOT</bukkit.version>
|
|
</properties>
|
|
|
|
<scm>
|
|
<connection>scm:git:git://github.com/possi/LimitedCreative.git</connection>
|
|
<developerConnection>scm:git:git@github.com:possi/LimitedCreative.git</developerConnection>
|
|
<url>https://github.com/possi/LimitedCreative/tree/plib</url>
|
|
</scm>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>de-jas-repo</id>
|
|
<url>scp://repo@ja-s.de/var/customers/webs/repo/mvn</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
<ciManagement>
|
|
<system>jenkins</system>
|
|
<url>http://ci.ja-s.de:8080/</url>
|
|
</ciManagement>
|
|
<issueManagement>
|
|
<system>BukkitDev</system>
|
|
<url>http://dev.bukkit.org/server-mods/limited-creative/tickets/</url>
|
|
</issueManagement>
|
|
|
|
<repositories>
|
|
<!-- Possible public Maven Repository, containing LimitedCreative builds and other dependencies without own rep.
|
|
like AuthMe, etc.
|
|
Supports http only -->
|
|
<!-- <repository> - offline
|
|
<id>de-jas-rep</id>
|
|
<url>http://repo.ja-s.de/mvn</url>
|
|
</repository> -->
|
|
<!-- Local repository for plugins without a repo -->
|
|
<repository>
|
|
<id>localRepo</id>
|
|
<url>file://${project.basedir}/repo</url>
|
|
</repository>
|
|
|
|
<!-- Official (Craft-)Bukkit repository -->
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
<!-- Official WorldGuard and WorldEdit repository -->
|
|
<repository>
|
|
<id>sk89q-mvn2</id>
|
|
<url>https://maven.enginehub.org/repo/</url>
|
|
</repository>
|
|
<!-- Official Multiverse repository -->
|
|
<repository>
|
|
<id>onarandombox</id>
|
|
<url>http://repo.onarandombox.com/content/groups/public</url>
|
|
</repository>
|
|
<!-- Official xAuth repository; it is no good! we keep our own dep-files of it - ->
|
|
<repository>
|
|
<id>luricos.de-repo</id>
|
|
<url>http://repo.luricos.de/repository/bukkit-plugins/</url>
|
|
</repository><!- - It points to dependencies that don't exist anymore -->
|
|
<!-- Official LogBlock repository -->
|
|
<repository>
|
|
<id>md5</id>
|
|
<url>http://repo.md-5.net/content/groups/public/</url>
|
|
</repository>
|
|
<!-- Official AuthMe Reloaded repository -->
|
|
<repository>
|
|
<id>codemc-repo</id>
|
|
<url>https://repo.codemc.org/repository/maven-public/</url>
|
|
</repository>
|
|
<!-- Official CoreProtect repository -->
|
|
<repository>
|
|
<id>coreprotect-repo</id>
|
|
<url>http://maven.playpro.com/</url>
|
|
</repository>
|
|
<!-- Official PermissionsEx repository -->
|
|
<repository>
|
|
<id>pex-repo</id>
|
|
<url>https://repo.glaremasters.me/repository/permissionsex/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>de-jas-rep</id>
|
|
<url>http://repo.ja-s.de/mvn</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>de.jaschastarke</groupId>
|
|
<artifactId>plib</artifactId>
|
|
<version>${plib.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- http://dl.bukkit.org/ -->
|
|
<groupId>org.bukkit</groupId>
|
|
<artifactId>bukkit</artifactId>
|
|
<version>${bukkit.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- http://dl.bukkit.org/ -->
|
|
<groupId>org.bukkit.</groupId> <!-- Needed for WE integration -->
|
|
<artifactId>bukkit</artifactId>
|
|
<version>1.14.4-R0.1-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- http://dev.bukkit.org/server-mods/worldguard/ -->
|
|
<groupId>com.sk89q.worldguard</groupId>
|
|
<artifactId>worldguard-bukkit</artifactId>
|
|
<version>7.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- http://dev.bukkit.org/server-mods/worldguard/ -->
|
|
<groupId>com.sk89q.worldedit</groupId>
|
|
<artifactId>worldedit-bukkit</artifactId>
|
|
<version>7.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- http://dev.bukkit.org/server-mods/authme-reloaded/ -->
|
|
<groupId>fr.xephi</groupId>
|
|
<artifactId>authme</artifactId>
|
|
<version>5.6.0-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- http://dev.bukkit.org/server-mods/multiverse-core/ -->
|
|
<groupId>com.onarandombox.multiversecore</groupId>
|
|
<artifactId>Multiverse-Core</artifactId>
|
|
<version>2.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- http://dev.bukkit.org/bukkit-plugins/multiworld-v-2-0/ -->
|
|
<groupId>multiworld</groupId>
|
|
<artifactId>multiworld</artifactId>
|
|
<version>5.2.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- http://dev.bukkit.org/server-mods/xauth/ -->
|
|
<groupId>de.luricos.bukkit</groupId>
|
|
<artifactId>xAuth</artifactId>
|
|
<version>2.0.26</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- http://dev.bukkit.org/bukkit-plugins/coreprotect/ -->
|
|
<groupId>net.coreprotect</groupId>
|
|
<artifactId>coreprotect</artifactId>
|
|
<version>19.1</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.avaje/ebean -->
|
|
<dependency>
|
|
<groupId>org.avaje</groupId>
|
|
<artifactId>ebean</artifactId>
|
|
<version>2.7.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bstats</groupId>
|
|
<artifactId>bstats-bukkit</artifactId>
|
|
<version>2.2.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<annotationProcessors>
|
|
<!-- Needed to fetch DocComments from Source -->
|
|
<annotationProcessor>de.jaschastarke.maven.AnnotationProcessor</annotationProcessor>
|
|
</annotationProcessors>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>de.jaschastarke</groupId>
|
|
<artifactId>plib</artifactId>
|
|
<version>${plib.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>pluginyaml</goal>
|
|
</goals>
|
|
<configuration>
|
|
<!-- plugin.yml -->
|
|
<mainClass>de.jaschastarke.minecraft.limitedcreative.LimitedCreative</mainClass>
|
|
<softdepend>
|
|
<param>WorldGuard</param>
|
|
<param>WorldEdit</param>
|
|
<param>Multiverse-Core</param>
|
|
<param>Multiworld</param>
|
|
<param>xAuth</param>
|
|
<param>AuthMe</param>
|
|
<param>MultiInv</param>
|
|
<param>Multiverse-Inventories</param>
|
|
<param>Vault</param>
|
|
<param>CoreProtect</param>
|
|
</softdepend>
|
|
<custom>
|
|
<dev-url>http://dev.bukkit.org/server-mods/limited-creative/</dev-url>
|
|
</custom>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>de.jaschastarke:plib</include>
|
|
<include>org.bstats</include>
|
|
</includes>
|
|
</artifactSet>
|
|
<filters>
|
|
<filter>
|
|
<artifact>de.jaschastarke:plib</artifact>
|
|
<excludes>
|
|
<exclude>de/jaschastarke/maven/**</exclude>
|
|
<exclude>de/jaschastarke/bukkit/maven/**</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>org.bstats</pattern>
|
|
<shadedPattern>de.jaschastarke.minecraft.limitedcreative.bstats</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
<plugins>
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
|
<plugin>
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
<version>1.0.0</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>de.jaschastarke</groupId>
|
|
<artifactId>plib</artifactId>
|
|
<versionRange>
|
|
[0.1-SNAPSHOT,)
|
|
</versionRange>
|
|
<goals>
|
|
<goal>pluginyaml</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore/>
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<extensions>
|
|
<!-- Enabling the use of SCP -->
|
|
<extension>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ssh</artifactId>
|
|
<version>2.1</version>
|
|
</extension>
|
|
</extensions>
|
|
</build>
|
|
</project>
|