mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-11-30 01:34:45 +00:00
Online editor + auto deployment/releases (#264)
* web editor * editor command help * editor sync cmd * removed same user restriction * removed player executed restriction * no server identifier sent to server * editor url updated * config harsher verification + send world names to editor api * no more session controls * addons editor commands * moved rtp to /betterrtp-core to create a better env for maven compiling * bettersync lib * Own core and addon editor schemas with BetterSync validation * Simplify editor metadata and publish core and addon schemas on release * Release core and addons together using their Maven versions * Exclude unavailable ProtocolLib executor snapshot from Addons build * betterrtp compiling
This commit is contained in:
1 parent
4697f06163
commit
c8c5a04a59
224 files changed
+2041
-388
No files matched your search
+82
-14
@@ -10,10 +10,23 @@
|
||||
<version>1.8.10</version>
|
||||
|
||||
<properties>
|
||||
<editor.website>https://www.minecentral.net</editor.website>
|
||||
<bettersync.version>2.0.0</bettersync.version>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>dev</id>
|
||||
<build><plugins><plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<configuration><outputDirectory>../../../Java/plugins</outputDirectory></configuration>
|
||||
</plugin></plugins></build>
|
||||
</profile>
|
||||
</profiles>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
@@ -23,6 +36,14 @@
|
||||
</resources>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.4.2</version>
|
||||
<configuration>
|
||||
<outputDirectory>${project.basedir}/../dist</outputDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- Shade PaperLib into project -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
@@ -31,6 +52,8 @@
|
||||
<configuration>
|
||||
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
|
||||
<relocations>
|
||||
<relocation><pattern>com.ronanplugins.bettersync</pattern><shadedPattern>me.SuperRonanCraft.BetterRTPAddons.lib.bettersync</shadedPattern></relocation>
|
||||
|
||||
<relocation>
|
||||
<pattern>io.papermc.lib</pattern>
|
||||
<shadedPattern>me.SuperRonanCraft.BetterRTPAddons.paperlib</shadedPattern>
|
||||
@@ -46,15 +69,6 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- Local Server Building -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<configuration>
|
||||
<outputDirectory>../../../Java/plugins</outputDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
@@ -64,10 +78,49 @@
|
||||
<target>1.8</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- Remove only Shade's unbundled backup, after the final JAR is ready. -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<version>3.5.0</version>
|
||||
<configuration>
|
||||
<filesets>
|
||||
<fileset>
|
||||
<directory>${project.basedir}/../dist</directory>
|
||||
<includes>
|
||||
<include>${project.artifactId}-*.jar</include>
|
||||
<include>original-${project.artifactId}-*.jar</include>
|
||||
</includes>
|
||||
<followSymlinks>false</followSymlinks>
|
||||
</fileset>
|
||||
</filesets>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>remove-unshaded-backup</id>
|
||||
<phase>package</phase>
|
||||
<goals><goal>clean</goal></goals>
|
||||
<configuration>
|
||||
<excludeDefaultDirectories>true</excludeDefaultDirectories>
|
||||
<filesets combine.self="override">
|
||||
<fileset>
|
||||
<directory>${project.basedir}/../dist</directory>
|
||||
<includes><include>original-${project.build.finalName}.jar</include></includes>
|
||||
<followSymlinks>false</followSymlinks>
|
||||
</fileset>
|
||||
</filesets>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>minecodes-repository-releases</id>
|
||||
<url>https://repository.minecodes.pl/releases</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||
@@ -75,15 +128,22 @@
|
||||
<!-- PaperMC Repo -->
|
||||
<repository>
|
||||
<id>papermc</id>
|
||||
<url>https://papermc.io/repo/repository/maven-public/</url>
|
||||
<url>https://repo.papermc.io/repository/maven-public/</url>
|
||||
</repository>
|
||||
<!-- ProtocolLib Repo -->
|
||||
<repository>
|
||||
<id>dmulloy2-repo</id>
|
||||
<url>https://repo.dmulloy2.net/nexus/repository/public/</url>
|
||||
</repository>
|
||||
<repository><id>jitpack.io</id><url>https://jitpack.io</url></repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<!-- Download the tagged GitHub library through JitPack; bundled by Shade. -->
|
||||
<dependency>
|
||||
<groupId>com.github.RonanPlugins</groupId>
|
||||
<artifactId>BetterSync</artifactId>
|
||||
<version>${bettersync.version}</version>
|
||||
</dependency>
|
||||
<!--Spigot API-->
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
@@ -102,14 +162,14 @@
|
||||
<dependency>
|
||||
<groupId>io.papermc</groupId>
|
||||
<artifactId>paperlib</artifactId>
|
||||
<version>1.0.5</version>
|
||||
<version>1.0.8</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<!-- BetterRTP -->
|
||||
<dependency>
|
||||
<groupId>me.SuperRonanCraft</groupId>
|
||||
<artifactId>BetterRTP</artifactId>
|
||||
<version>LATEST</version>
|
||||
<version>3.6.13</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- ProtocolLib -->
|
||||
@@ -118,11 +178,19 @@
|
||||
<artifactId>ProtocolLib</artifactId>
|
||||
<version>4.5.0</version>
|
||||
<scope>provided</scope>
|
||||
<exclusions>
|
||||
<!-- ProtocolLib supplies its executor implementation; Addons does not use it.
|
||||
Its legacy transitive snapshot is no longer available to fresh builds. -->
|
||||
<exclusion>
|
||||
<groupId>com.comphenix.executors</groupId>
|
||||
<artifactId>BukkitExecutors</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.22</version>
|
||||
<version>1.18.38</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@@ -132,4 +200,4 @@
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
</project>
|
||||
Reference in new issue
Block a user