Skip to content

Commit ee63a7b

Browse files
authored
Merge pull request #11 from Ruinscraft/master
1.13 support, general refactor, javadoc
2 parents 6230f35 + 9614b06 commit ee63a7b

25 files changed

+1926
-1232
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# NoteBlockAPI
22
[![](https://jitpack.io/v/koca2000/NoteBlockAPI.svg)](https://jitpack.io/#koca2000/NoteBlockAPI)
33

4-
For informations about this Spigot/Bukkit API go to https://www.spigotmc.org/resources/noteblockapi.19287/
4+
For information about this Spigot/Bukkit API, go to https://www.spigotmc.org/resources/noteblockapi.19287/

pom.xml

Lines changed: 96 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,106 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5-
<modelVersion>4.0.0</modelVersion>
6-
7-
<groupId>com.xxmicloxx</groupId>
8-
<artifactId>NoteBlockAPI</artifactId>
9-
<version>1.2.0</version>
10-
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.xxmicloxx</groupId>
8+
<artifactId>NoteBlockAPI</artifactId>
9+
<version>1.2.0</version>
10+
<name>NoteBlockAPI</name>
11+
1112
<properties>
1213
<maven.compiler.source>1.8</maven.compiler.source>
1314
<maven.compiler.target>1.8</maven.compiler.target>
15+
<mainClass>com.xxmicloxx.NoteBlockAPI.NoteBlockPlayerMain</mainClass>
1416
</properties>
15-
17+
1618
<repositories>
17-
<repository>
18-
<id>spigot-repo</id>
19-
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
20-
</repository>
21-
<repository>
22-
<id>bstats-repo</id>
23-
<url>http://repo.bstats.org/content/repositories/releases/</url>
19+
<repository>
20+
<id>spigot-repo</id>
21+
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
2422
</repository>
25-
</repositories>
26-
<dependencies>
27-
<dependency>
28-
<groupId>org.bukkit</groupId>
29-
<artifactId>bukkit</artifactId>
30-
<version>1.12-R0.1-SNAPSHOT</version>
31-
<scope>provided</scope>
32-
</dependency>
33-
<dependency>
34-
<groupId>org.bstats</groupId>
35-
<artifactId>bstats-bukkit</artifactId>
36-
<version>1.1</version>
23+
<repository>
24+
<id>bstats-repo</id>
25+
<url>http://repo.bstats.org/content/repositories/releases/</url>
26+
</repository>
27+
</repositories>
28+
29+
<dependencies>
30+
<dependency>
31+
<groupId>org.bukkit</groupId>
32+
<artifactId>bukkit</artifactId>
33+
<version>1.12-R0.1-SNAPSHOT</version>
34+
<scope>provided</scope>
35+
</dependency>
36+
<dependency>
37+
<groupId>org.bstats</groupId>
38+
<artifactId>bstats-bukkit</artifactId>
39+
<version>1.1</version>
3740
</dependency>
38-
</dependencies>
39-
<distributionManagement>
40-
<repository>
41-
<id>sinndev-repo</id>
42-
<name>Releases</name>
43-
<url>http://repo.sinndev.com/content/repositories/releases/</url>
44-
</repository>
45-
<snapshotRepository>
46-
<id>sinndev-repo</id>
47-
<name>Snapshots</name>
48-
<url>http://repo.sinndev.com/content/repositories/snapshots/</url>
49-
</snapshotRepository>
50-
</distributionManagement>
51-
<build>
52-
<plugins>
53-
<plugin>
54-
<groupId>org.apache.maven.plugins</groupId>
55-
<artifactId>maven-shade-plugin</artifactId>
56-
<version>2.3</version>
57-
<configuration>
58-
<artifactSet>
59-
<includes>
60-
<include>org.bstats:*</include>
61-
</includes>
62-
</artifactSet>
63-
<relocations>
64-
<relocation>
65-
<pattern>org.bstats</pattern>
66-
<shadedPattern>com.xxmicloxx.NoteBlockAPI</shadedPattern>
67-
</relocation>
68-
</relocations>
69-
</configuration>
70-
<executions>
71-
<execution>
72-
<phase>package</phase>
73-
<goals>
74-
<goal>shade</goal>
75-
</goals>
76-
</execution>
77-
</executions>
78-
</plugin>
79-
</plugins>
80-
</build>
41+
</dependencies>
42+
43+
<distributionManagement>
44+
<repository>
45+
<id>sinndev-repo</id>
46+
<name>Releases</name>
47+
<url>http://repo.sinndev.com/content/repositories/releases/</url>
48+
</repository>
49+
<snapshotRepository>
50+
<id>sinndev-repo</id>
51+
<name>Snapshots</name>
52+
<url>http://repo.sinndev.com/content/repositories/snapshots/</url>
53+
</snapshotRepository>
54+
</distributionManagement>
55+
56+
<build>
57+
<plugins>
58+
<plugin>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-shade-plugin</artifactId>
61+
<version>2.3</version>
62+
<configuration>
63+
<artifactSet>
64+
<includes>
65+
<include>org.bstats:*</include>
66+
</includes>
67+
</artifactSet>
68+
<relocations>
69+
<relocation>
70+
<pattern>org.bstats</pattern>
71+
<shadedPattern>com.xxmicloxx.NoteBlockAPI</shadedPattern>
72+
</relocation>
73+
</relocations>
74+
</configuration>
75+
<executions>
76+
<execution>
77+
<phase>package</phase>
78+
<goals>
79+
<goal>shade</goal>
80+
</goals>
81+
</execution>
82+
</executions>
83+
</plugin>
84+
</plugins>
85+
<sourceDirectory>src/main/java</sourceDirectory>
86+
<defaultGoal>package</defaultGoal>
87+
<resources>
88+
<resource>
89+
<directory>src/main/resources</directory>
90+
<filtering>true</filtering>
91+
<includes>
92+
<include>plugin.yml</include>
93+
</includes>
94+
</resource>
95+
<resource>
96+
<directory>src/main/resources</directory>
97+
<filtering>false</filtering>
98+
<excludes>
99+
<exclude>**/*.java</exclude>
100+
<exclude>plugin.yml</exclude>
101+
</excludes>
102+
</resource>
103+
</resources>
104+
</build>
105+
81106
</project>

0 commit comments

Comments
 (0)