Replaced craftbukkit with bukkit api for travis

This commit is contained in:
Haarolean 2018-03-25 22:11:01 +03:00
parent 2f1e03d7a2
commit 16f5c063ce
2 changed files with 25 additions and 45 deletions

60
pom.xml
View File

@ -6,7 +6,7 @@
<groupId>com.ryanmichela</groupId>
<artifactId>SSHD</artifactId>
<version>1.3.3</version>
<version>1.3.4</version>
<url>http://dev.bukkit.org/server-mods/sshd/</url>
<!-- Repositories -->
@ -29,11 +29,8 @@
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<artifactId>bukkit</artifactId>
<version>1.12.2-R0.1-SNAPSHOT</version>
<scope>system</scope>
<type>jar</type>
<systemPath>${basedir}/bukkit-build/bukkit.jar</systemPath>
</dependency>
<dependency>
@ -68,7 +65,27 @@
<version>2.12.1</version>
</dependency>
</dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.10</version>
<scope>provided</scope>
</dependency>
</dependencies>
<!-- Build -->
<build>
@ -87,6 +104,7 @@
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>package</phase>
@ -104,39 +122,11 @@
</configuration>
</plugin>
<!-- Shade plugin -->
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<minimizeJar>true</minimizeJar>
</configuration>
</plugin> -->
<!-- Compile plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>

View File

@ -69,16 +69,6 @@ public class StreamHandlerAppender implements Appender {
}
@Override
public State getState() {
return State.INITIALIZED;
}
@Override
public void initialize() {
}
@Override
public void start() {