POM Changes
Basic changes to the build system which mark the artifact as Spigot, and the necessary code changes to ensure proper functionality. Also disables the auto updater provided by CraftBukkit as it is useless to us. By: md_5 <git@md-5.net>
This commit is contained in:
@@ -1,13 +1,20 @@
|
||||
<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>org.bukkit</groupId>
|
||||
<artifactId>craftbukkit</artifactId>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.21.4-R0.1-SNAPSHOT</version>
|
||||
<name>CraftBukkit</name>
|
||||
<name>Spigot</name>
|
||||
<url>https://www.spigotmc.org/</url>
|
||||
|
||||
<parent>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-parent</artifactId>
|
||||
<version>dev-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
<skipTests>true</skipTests>
|
||||
<groups>AllFeatures,Bundle,Legacy,Normal,VanillaFeature</groups>
|
||||
@@ -28,8 +35,8 @@
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.bukkit</groupId>
|
||||
<artifactId>bukkit</artifactId>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
@@ -387,11 +394,26 @@
|
||||
<groupId>net.md-5</groupId>
|
||||
<artifactId>scriptus</artifactId>
|
||||
<version>0.5.0</version>
|
||||
<configuration>
|
||||
<format>${bt.name}-Bukkit-%s</format>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>ex-spigot</id>
|
||||
<configuration>
|
||||
<format>${bt.name}-Spigot-%s</format>
|
||||
<scmDirectory>../</scmDirectory>
|
||||
<descriptionProperty>spigot.desc</descriptionProperty>
|
||||
</configuration>
|
||||
<phase>initialize</phase>
|
||||
<goals>
|
||||
<goal>describe</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>ex-craftbukkit</id>
|
||||
<configuration>
|
||||
<format>-%s</format>
|
||||
<scmDirectory>../../CraftBukkit</scmDirectory>
|
||||
<descriptionProperty>craftbukkit.desc</descriptionProperty>
|
||||
</configuration>
|
||||
<phase>initialize</phase>
|
||||
<goals>
|
||||
<goal>describe</goal>
|
||||
@@ -424,7 +446,7 @@
|
||||
<manifestEntries>
|
||||
<Main-Class>org.bukkit.craftbukkit.Main</Main-Class>
|
||||
<Implementation-Title>CraftBukkit</Implementation-Title>
|
||||
<Implementation-Version>${describe}</Implementation-Version>
|
||||
<Implementation-Version>${spigot.desc}${craftbukkit.desc}</Implementation-Version>
|
||||
<Implementation-Vendor>${project.build.outputTimestamp}</Implementation-Vendor>
|
||||
<Specification-Title>Bukkit</Specification-Title>
|
||||
<Specification-Version>${api.version}</Specification-Version>
|
||||
|
||||
Reference in New Issue
Block a user