New Spigot only version of PurpleIRC.

This commit is contained in:
cnaude 2015-01-01 13:38:46 -07:00
parent b3f330c3d7
commit 55621623e8
18 changed files with 368 additions and 2 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/target/
/nbactions.xml

345
dependency-reduced-pom.xml Normal file
View File

@ -0,0 +1,345 @@
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.cnaude</groupId>
<artifactId>PurpleIRC</artifactId>
<name>PurpleIRC-spigot</name>
<version>1.0-${build.number}</version>
<description>A CraftBukkit plugin for bridging game chat with IRC. Connect to any number of IRC servers and channels simultaneously.</description>
<url>http://dev.bukkit.org/server-mods/purpleirc/</url>
<build>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
<includes>
<include>plugin.yml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>plugin.yml</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<artifactSet>
<includes>
<include>org.pircbotx</include>
<include>org.slf4j</include>
<include>org.apache.commons</include>
</includes>
</artifactSet>
<filters />
<relocations>
<relocation>
<pattern>org.pircbotx</pattern>
<shadedPattern>org.pircbotx</shadedPattern>
</relocation>
<relocation>
<pattern>org.slf4j</pattern>
<shadedPattern>org.slf4j</shadedPattern>
</relocation>
<relocation>
<pattern>org.slf4j.impl</pattern>
<shadedPattern>org.slf4j.impl</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.commons.lang3</pattern>
<shadedPattern>org.apache.commons.lang3</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy />
<exec>
<arg />
</exec>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>cnaude-repo</id>
<url>http://cnaude.org/repo/</url>
</repository>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>sonatype-nexus-public</id>
<name>SonaType public snapshots and releases repository</name>
<url>https://oss.sonatype.org/content/groups/public</url>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bukkit-repo</id>
<url>http://repo.bukkit.org/content/groups/public/</url>
</repository>
<repository>
<releases />
<snapshots />
<id>regularbox-repo</id>
<url>http://ci.regularbox.com/plugin/repository/everything/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>spigot-api</artifactId>
<version>1.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>spigot</artifactId>
<version>1.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>15.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.cnaude.essentials</groupId>
<artifactId>essentials</artifactId>
<version>2.14</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.nyancraft.reportrts</groupId>
<artifactId>ReportRTS</artifactId>
<version>1.2.3</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<artifactId>ProtocolLib</artifactId>
<groupId>com.comphenix.protocol</groupId>
</exclusion>
<exclusion>
<artifactId>Vault</artifactId>
<groupId>net.milkbowl.net</groupId>
</exclusion>
<exclusion>
<artifactId>bukkit</artifactId>
<groupId>org.bukkit</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>Vault</artifactId>
<version>1.5.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.herochat</groupId>
<artifactId>Herochat</artifactId>
<version>5.6.7</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.jobs</groupId>
<artifactId>Jobs</artifactId>
<version>2.13.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.jobs</groupId>
<artifactId>JobsOld</artifactId>
<version>2.12.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.factions</groupId>
<artifactId>Factions</artifactId>
<version>2.7.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.orebroadcast</groupId>
<artifactId>OreBroadcast</artifactId>
<version>1.2.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.RedditStream</groupId>
<artifactId>RedditStream</artifactId>
<version>0.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.vanishnopacket</groupId>
<artifactId>VanishNoPacket</artifactId>
<version>3.19.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.mcore</groupId>
<artifactId>MassiveCore</artifactId>
<version>2.7.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.factionchat</groupId>
<artifactId>FactionChat</artifactId>
<version>1.8.6</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.titanchat</groupId>
<artifactId>TitanChat</artifactId>
<version>4.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.gmail.nossr50</groupId>
<artifactId>mcMMO</artifactId>
<version>1.5.01-SNAPSHOT-b3682</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.multiverse</groupId>
<artifactId>Multiverse-Core</artifactId>
<version>2.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.townychat</groupId>
<artifactId>TownyChat</artifactId>
<version>0.40</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.towny</groupId>
<artifactId>Towny</artifactId>
<version>0.84.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.protocol</groupId>
<artifactId>ProtocolLib</artifactId>
<version>3.6.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.clevernotch</groupId>
<artifactId>CleverNotch</artifactId>
<version>1.1-RELEASE</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.deathmessages</groupId>
<artifactId>DeathMessages</artifactId>
<version>2.9.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.shortify</groupId>
<artifactId>Shortify</artifactId>
<version>1.8-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.dynmap</groupId>
<artifactId>DynmapAPI</artifactId>
<version>1.9.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.prism</groupId>
<artifactId>Prism</artifactId>
<version>2.0.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.adminprivatechat</groupId>
<artifactId>AdminPrivateChat</artifactId>
<version>2.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.cnaude.supervanish</groupId>
<artifactId>SuperVanish</artifactId>
<version>5.0.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>hamcrest-core</artifactId>
<groupId>org.hamcrest</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.carrotsearch</groupId>
<artifactId>junit-benchmarks</artifactId>
<version>0.4.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>stage-repo</id>
<url>file://${basedir}/../repo/releases</url>
</repository>
<snapshotRepository>
<id>stage-repo-stapshots</id>
<url>file://${basedir}/../repo/snapshots</url>
</snapshotRepository>
</distributionManagement>
<properties>
<build.number>SNAPSHOT</build.number>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bukkit.version>1.8</bukkit.version>
</properties>
</project>

19
nb-configuration.xml Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-shared-configuration>
<!--
This file contains additional configuration written by modules in the NetBeans IDE.
The configuration is intended to be shared among all the users of project and
therefore it is assumed to be part of version control checkout.
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
-->
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
<!--
Properties that influence various parts of the IDE, especially code formatting and the like.
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
That way multiple projects can share the same settings (useful for formatting rules for example).
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
<netbeans.compile.on.save>none</netbeans.compile.on.save>
<netbeans.hint.license>gpl30</netbeans.hint.license>
</properties>
</project-shared-configuration>

0
pom.xml Executable file → Normal file
View File

0
src/main/java/com/cnaude/purpleirc/Commands/Load.java Executable file → Normal file
View File

0
src/main/java/com/cnaude/purpleirc/Commands/Test.java Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

0
src/main/java/com/cnaude/purpleirc/PurpleIRC.java Executable file → Normal file
View File

View File

View File

0
src/main/resources/config.yml Executable file → Normal file
View File

View File

@ -1,8 +1,8 @@
name: ${project.name}
name: ${project.artifactId}
version: ${project.version}
description: ${project.description}
author: cnaude
website: http://dev.bukkit.org/server-mods/purpleirc/
website: http://.../
main: com.cnaude.purpleirc.PurpleIRC
softdepend:
- Vault