- Imported project to Eclipse

- Removed pom.xml since we are not going to use Maven
- Removed "lib" folder
- Added "libs" folder with Spigot 1.14.4 inside it, although Spigot 1.14.4 jar is in gitignore
- Removed Maven dependencies from Build Path
- Added Spigot 1.14.4 to Build Path
- Changed output folder from "target" to Eclipse default
This commit is contained in:
David Berdik 2019-09-02 15:44:54 -04:00
parent 1a7dce7931
commit 75c8197259
13 changed files with 59 additions and 156 deletions

16
.classpath Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="libs/spigot-1.14.4.jar"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/bin/
/libs/spigot-1.14.4.jar

23
.project Normal file
View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Herobrine 2</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View File

@ -0,0 +1,16 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.6

156
pom.xml
View File

@ -1,156 +0,0 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jakub1221.herobrineai</groupId>
<artifactId>HerobrineAI</artifactId>
<version>3.5.0</version>
<name>HerobrineAI</name>
<url>http://dev.bukkit.org/projects/herobrine-ai</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bukkitVersion>1.11-R0.1-SNAPSHOT</bukkitVersion>
</properties>
<scm>
<url>https://github.com/jakub1221/HerobrineAI</url>
<connection>scm:git:git://github.com:jakub1221/HerobrineAI.git</connection>
<developerConnection>scm:git:git@github.com:jakub1221/HerobrineAI.git</developerConnection>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/jakub1221/HerobrineAI/issues</url>
</issueManagement>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots</url>
</repository>
<repository>
<id>worldedit-worldguard-repo</id>
<url>http://maven.sk89q.com/repo/</url>
</repository>
<repository>
<id>project-repo</id>
<url>file://${project.basedir}/lib</url>
</repository>
</repositories>
<dependencies>
<!--Spigot API-->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>${bukkitVersion}</version>
<scope>provided</scope>
</dependency>
<!--Bukkit API-->
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>${bukkitVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>${bukkitVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sk89q</groupId>
<artifactId>worldguard</artifactId>
<version>6.1.1-SNAPSHOT</version>
<optional>true</optional>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>local-rep</groupId>
<artifactId>CustomItems</artifactId>
<version>1.6.0</version>
<optional>true</optional>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>local-rep</groupId>
<artifactId>GriefPrevention</artifactId>
<version>7.2.1</version>
<optional>true</optional>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>local-rep</groupId>
<artifactId>PreciousStones</artifactId>
<version>9.5.6-SNAPSHOT</version>
<optional>true</optional>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>local-rep</groupId>
<artifactId>Residence</artifactId>
<version>2.6.6.2</version>
<optional>true</optional>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>local-rep</groupId>
<artifactId>Towny</artifactId>
<version>0.82.0.9</version>
<optional>true</optional>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>local-rep</groupId>
<artifactId>Factions</artifactId>
<version>2.1.0</version>
<optional>true</optional>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>local-rep</groupId>
<artifactId>mcore</artifactId>
<version>6.7.0</version>
<optional>true</optional>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<defaultGoal>clean install</defaultGoal>
<sourceDirectory>src/</sourceDirectory>
<resources>
<resource>
<directory>${project.basedir}</directory>
<filtering>true</filtering>
<includes>
<include>plugin.yml</include>
</includes>
</resource>
<resource>
<directory>${project.basedir}</directory>
<includes>
<include>res/*.*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
<description>
HerobrineAI is Minecraft server plugin for bukkit/spigot that brings Herobrine to life.
</description>
</project>