Move build process to Maven
This commit is contained in:
parent
7dc9e51ea3
commit
bad1a60e5a
16
.idea/compiler.xml
Normal file
16
.idea/compiler.xml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="CompilerConfiguration">
|
||||||
|
<annotationProcessing>
|
||||||
|
<profile name="Maven default annotation processors profile" enabled="true">
|
||||||
|
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||||
|
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||||
|
<outputRelativeToContentRoot value="true" />
|
||||||
|
<module name="UhcCore" />
|
||||||
|
</profile>
|
||||||
|
</annotationProcessing>
|
||||||
|
<bytecodeTargetLevel>
|
||||||
|
<module name="UhcCore" target="1.8" />
|
||||||
|
</bytecodeTargetLevel>
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -1,6 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="Encoding">
|
<component name="Encoding">
|
||||||
|
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||||
<file url="PROJECT" charset="UTF-8" />
|
<file url="PROJECT" charset="UTF-8" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
25
.idea/jarRepositories.xml
Normal file
25
.idea/jarRepositories.xml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="RemoteRepositoriesConfiguration">
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Central Repository" />
|
||||||
|
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="spigot-repo" />
|
||||||
|
<option name="name" value="spigot-repo" />
|
||||||
|
<option name="url" value="https://hub.spigotmc.org/nexus/content/repositories/snapshots/" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Maven Central repository" />
|
||||||
|
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="jboss.community" />
|
||||||
|
<option name="name" value="JBoss Community repository" />
|
||||||
|
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||||
|
</remote-repository>
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -1,5 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
|
<component name="MavenProjectsManager">
|
||||||
|
<option name="originalFiles">
|
||||||
|
<list>
|
||||||
|
<option value="$PROJECT_DIR$/pom.xml" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/out" />
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
</component>
|
</component>
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
<component name="ProjectModuleManager">
|
<component name="ProjectModuleManager">
|
||||||
<modules>
|
<modules>
|
||||||
<module fileurl="file://$PROJECT_DIR$/UHC-Core.iml" filepath="$PROJECT_DIR$/UHC-Core.iml" />
|
<module fileurl="file://$PROJECT_DIR$/UHC-Core.iml" filepath="$PROJECT_DIR$/UHC-Core.iml" />
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/UhcCore.iml" filepath="$PROJECT_DIR$/UhcCore.iml" />
|
||||||
</modules>
|
</modules>
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
34
UHC-Core.iml
34
UHC-Core.iml
@ -1,34 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module type="JAVA_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
||||||
<exclude-output />
|
|
||||||
<content url="file://$MODULE_DIR$">
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/.idea/dictionaries" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/.idea/libraries" />
|
|
||||||
</content>
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
<orderEntry type="module-library">
|
|
||||||
<library>
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/annotations/17.0.0/annotations-17.0.0.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
</library>
|
|
||||||
</orderEntry>
|
|
||||||
<orderEntry type="module-library" scope="PROVIDED">
|
|
||||||
<library>
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MODULE_DIR$/../../../spigot-1.14.4.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$MODULE_DIR$/../../../spigot-1.14.4.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</orderEntry>
|
|
||||||
<orderEntry type="library" name="spigot-1.16.1" level="project" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
20
UhcCore.iml
Normal file
20
UhcCore.iml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||||
|
<output url="file://$MODULE_DIR$/target/classes" />
|
||||||
|
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.spigotmc:spigot-api:1.16.1-R0.1-SNAPSHOT" level="project" />
|
||||||
|
<orderEntry type="library" scope="PROVIDED" name="Maven: commons-lang:commons-lang:2.6" level="project" />
|
||||||
|
<orderEntry type="library" scope="PROVIDED" name="Maven: com.google.guava:guava:21.0" level="project" />
|
||||||
|
<orderEntry type="library" scope="PROVIDED" name="Maven: com.google.code.gson:gson:2.8.0" level="project" />
|
||||||
|
<orderEntry type="library" scope="PROVIDED" name="Maven: net.md-5:bungeecord-chat:1.16-R0.3" level="project" />
|
||||||
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.yaml:snakeyaml:1.26" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
57
pom.xml
Normal file
57
pom.xml
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
<?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>net.mindoverflow.network.uhccore</groupId>
|
||||||
|
<artifactId>UhcCore</artifactId>
|
||||||
|
<version>0.0.136</version>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<archive>
|
||||||
|
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
|
||||||
|
</archive>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
<properties>
|
||||||
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<versionName>${project.version}</versionName>
|
||||||
|
</properties>
|
||||||
|
<repositories>
|
||||||
|
<!-- This adds the Spigot Maven repository to the build -->
|
||||||
|
<repository>
|
||||||
|
<id>spigot-repo</id>
|
||||||
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<!--This adds the Spigot API artifact to the build -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.spigotmc</groupId>
|
||||||
|
<artifactId>spigot-api</artifactId>
|
||||||
|
<version>1.16.1-R0.1-SNAPSHOT</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!--This adds the Bukkit API artifact to the build -->
|
||||||
|
<!-- Do not include this in the pom.xml file if the Spigot API is already added -->
|
||||||
|
<!--
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.bukkit</groupId>
|
||||||
|
<artifactId>bukkit</artifactId>
|
||||||
|
<version>1.15.2-R0.1-SNAPSHOT</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
-->
|
||||||
|
</dependencies>
|
||||||
|
</project>
|
0
src/main/resources/META-INF/MANIFEST.MF
Normal file
0
src/main/resources/META-INF/MANIFEST.MF
Normal file
BIN
target/UhcCore-0.0.136.jar
Normal file
BIN
target/UhcCore-0.0.136.jar
Normal file
Binary file not shown.
0
target/classes/META-INF/MANIFEST.MF
Normal file
0
target/classes/META-INF/MANIFEST.MF
Normal file
40
target/classes/config.yml
Normal file
40
target/classes/config.yml
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
settings:
|
||||||
|
uhcworlds: ['world', 'world_nether']
|
||||||
|
lobbyworlds: ['flat']
|
||||||
|
teams: 4
|
||||||
|
friendly-fire: false
|
||||||
|
border:
|
||||||
|
center-x: 0
|
||||||
|
center-z: 0
|
||||||
|
size: 4000
|
||||||
|
spawn:
|
||||||
|
world: __UNSET__
|
||||||
|
x: 0.0
|
||||||
|
y: 0.0
|
||||||
|
z: 0.0
|
||||||
|
yaw: 0.0
|
||||||
|
pitch: 0.0
|
||||||
|
firework-pos:
|
||||||
|
1:
|
||||||
|
world: __UNSET__
|
||||||
|
x: 0.0
|
||||||
|
y: 0.0
|
||||||
|
z: 0.0
|
||||||
|
teams:
|
||||||
|
- '§9Blue'
|
||||||
|
- '§cRed'
|
||||||
|
- '§aGreen'
|
||||||
|
- '§eYellow'
|
||||||
|
- '§5Purple'
|
||||||
|
- '§6Orange'
|
||||||
|
- '§8Black'
|
||||||
|
- '§dPink'
|
||||||
|
team-items:
|
||||||
|
- 'BLUE_WOOL'
|
||||||
|
- 'RED_WOOL'
|
||||||
|
- 'LIME_WOOL'
|
||||||
|
- 'YELLOW_WOOL'
|
||||||
|
- 'PURPLE_WOOL'
|
||||||
|
- 'ORANGE_WOOL'
|
||||||
|
- 'BLACK_WOOL'
|
||||||
|
- 'PINK_WOOL'
|
5
target/classes/lang.yml
Normal file
5
target/classes/lang.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
error:
|
||||||
|
console_access: '&eWarning! You are accessing the plugin command from console.'
|
||||||
|
console_access_blocked: '&cSorry, but this command is not available via console.'
|
||||||
|
info: '&bThis is a colored and localized message!'
|
||||||
|
player_position: '&bYour position is: &e%pos%'
|
BIN
target/classes/net/mindoverflow/network/uhccore/UhcCore.class
Normal file
BIN
target/classes/net/mindoverflow/network/uhccore/UhcCore.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9
target/classes/plugin.yml
Normal file
9
target/classes/plugin.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
name: UHC-Core
|
||||||
|
version: 0.0.136
|
||||||
|
author: mind_overflow
|
||||||
|
api-version: '1.15'
|
||||||
|
main: net.mindoverflow.network.uhccore.UhcCore
|
||||||
|
commands:
|
||||||
|
uhc:
|
||||||
|
description: UHC-Core base command.
|
||||||
|
usage: /uhc
|
5
target/maven-archiver/pom.properties
Normal file
5
target/maven-archiver/pom.properties
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#Generated by Maven
|
||||||
|
#Tue May 31 20:19:46 CEST 2022
|
||||||
|
groupId=net.mindoverflow.network.uhccore
|
||||||
|
artifactId=UhcCore
|
||||||
|
version=0.0.136
|
@ -0,0 +1,27 @@
|
|||||||
|
net\mindoverflow\network\uhccore\utils\Debugger.class
|
||||||
|
net\mindoverflow\network\uhccore\utils\configuration\ConfigEntries.class
|
||||||
|
net\mindoverflow\network\uhccore\utils\UhcUtils.class
|
||||||
|
net\mindoverflow\network\uhccore\commands\uhccommands\ListCommand.class
|
||||||
|
net\mindoverflow\network\uhccore\listeners\PlayerMoveListener.class
|
||||||
|
net\mindoverflow\network\uhccore\listeners\PlayerInteractListener.class
|
||||||
|
net\mindoverflow\network\uhccore\utils\Cache.class
|
||||||
|
net\mindoverflow\network\uhccore\listeners\PlayerChatListener.class
|
||||||
|
net\mindoverflow\network\uhccore\commands\UhcCoreCommand.class
|
||||||
|
net\mindoverflow\network\uhccore\utils\configuration\LocalizedMessages.class
|
||||||
|
net\mindoverflow\network\uhccore\listeners\PlayerDeathRespawnListener.class
|
||||||
|
net\mindoverflow\network\uhccore\listeners\PlayerHitListener.class
|
||||||
|
net\mindoverflow\network\uhccore\commands\uhccommands\SetSpawnCommand.class
|
||||||
|
net\mindoverflow\network\uhccore\commands\uhccommands\StartUhcCommand.class
|
||||||
|
net\mindoverflow\network\uhccore\commands\uhccommands\SetFireworkCommand.class
|
||||||
|
net\mindoverflow\network\uhccore\utils\configuration\FileUtils.class
|
||||||
|
net\mindoverflow\network\uhccore\utils\Permissions.class
|
||||||
|
net\mindoverflow\network\uhccore\commands\uhccommands\HelpCommand.class
|
||||||
|
net\mindoverflow\network\uhccore\utils\PermissionUtils.class
|
||||||
|
net\mindoverflow\network\uhccore\commands\uhccommands\ReloadCommand.class
|
||||||
|
net\mindoverflow\network\uhccore\listeners\PlayerJoinListener.class
|
||||||
|
net\mindoverflow\network\uhccore\utils\math\NumberUtils.class
|
||||||
|
net\mindoverflow\network\uhccore\listeners\TeamsSelectorGUI.class
|
||||||
|
net\mindoverflow\network\uhccore\utils\MessageUtils.class
|
||||||
|
net\mindoverflow\network\uhccore\UhcCore.class
|
||||||
|
net\mindoverflow\network\uhccore\utils\configuration\FileUtils$FileType.class
|
||||||
|
net\mindoverflow\network\uhccore\completers\InfoCompleter.class
|
@ -0,0 +1,26 @@
|
|||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\utils\Permissions.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\commands\uhccommands\SetFireworkCommand.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\listeners\PlayerInteractListener.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\utils\MessageUtils.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\commands\uhccommands\StartUhcCommand.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\utils\math\NumberUtils.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\listeners\PlayerDeathRespawnListener.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\listeners\PlayerHitListener.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\utils\PermissionUtils.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\listeners\PlayerMoveListener.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\utils\configuration\ConfigEntries.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\utils\Debugger.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\listeners\TeamsSelectorGUI.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\listeners\PlayerChatListener.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\commands\uhccommands\ListCommand.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\UhcCore.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\commands\uhccommands\SetSpawnCommand.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\utils\configuration\LocalizedMessages.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\commands\uhccommands\ReloadCommand.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\utils\configuration\FileUtils.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\commands\uhccommands\HelpCommand.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\completers\InfoCompleter.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\utils\UhcUtils.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\commands\UhcCoreCommand.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\listeners\PlayerJoinListener.java
|
||||||
|
C:\Users\lol9\Desktop\Coding\Java\Spigot\UHC-Core\src\main\java\net\mindoverflow\network\uhccore\utils\Cache.java
|
Loading…
Reference in New Issue
Block a user