Skip to content

Commit 7c1122a

Browse files
authored
Add Node and Settings feature (#1)
* Add Node and Settings feature * Split node and typed node * Remove validation * Add a base CommentedNode without value * Update package to io.github.townyadvanced.commentedconfiguration * Add tests and build settings
1 parent 7ebbea7 commit 7c1122a

File tree

12 files changed

+1030
-322
lines changed

12 files changed

+1030
-322
lines changed

pom.xml

Lines changed: 82 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
3-
<groupId>CommentedConfiguration</groupId>
3+
<groupId>io.github.townyadvanced.commentedconfiguration</groupId>
44
<artifactId>CommentedConfiguration</artifactId>
5-
<version>1.0.0</version>
5+
<version>1.0.0-SNAPSHOT</version>
6+
<description>YAML Configuration for Bukkit with support for comments.</description>
67

78
<properties>
89
<java.version>1.8</java.version>
@@ -16,13 +17,92 @@
1617
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
1718
</repository>
1819
</repositories>
20+
<build>
21+
<defaultGoal>clean package</defaultGoal>
22+
<plugins>
23+
<!-- Compiler -->
24+
<plugin>
25+
<groupId>org.apache.maven.plugins</groupId>
26+
<artifactId>maven-compiler-plugin</artifactId>
27+
<version>3.10.1</version>
28+
<configuration>
29+
<source>8</source>
30+
<target>8</target>
31+
</configuration>
32+
</plugin>
33+
<!-- Jar Plugin -->
34+
<plugin>
35+
<groupId>org.apache.maven.plugins</groupId>
36+
<artifactId>maven-jar-plugin</artifactId>
37+
<version>3.3.0</version>
38+
<configuration>
39+
<archive>
40+
<manifestEntries>
41+
</manifestEntries>
42+
</archive>
43+
</configuration>
44+
</plugin>
45+
<!-- Maven Source Plugin -->
46+
<plugin>
47+
<groupId>org.apache.maven.plugins</groupId>
48+
<artifactId>maven-source-plugin</artifactId>
49+
<version>3.0.1</version>
50+
</plugin>
51+
<!-- Maven Instrumenter Plugin -->
52+
<plugin>
53+
<groupId>se.eris</groupId>
54+
<artifactId>notnull-instrumenter-maven-plugin</artifactId>
55+
<version>1.1.1</version>
56+
<executions>
57+
<execution>
58+
<goals>
59+
<goal>instrument</goal>
60+
<goal>tests-instrument</goal>
61+
</goals>
62+
<configuration>
63+
<notNull>
64+
<param>org.jetbrains.annotations.NotNull</param>
65+
<param>javax.validation.constraints.NotNull</param>
66+
</notNull>
67+
</configuration>
68+
</execution>
69+
</executions>
70+
</plugin>
71+
<plugin>
72+
<groupId>org.apache.maven.plugins</groupId>
73+
<artifactId>maven-surefire-plugin</artifactId>
74+
<version>3.0.0-M8</version>
75+
</plugin>
76+
</plugins>
77+
</build>
1978
<dependencies>
79+
<!-- Spigot -->
2080
<dependency>
2181
<groupId>org.spigotmc</groupId>
2282
<artifactId>spigot-api</artifactId>
2383
<version>1.18.1-R0.1-SNAPSHOT</version>
2484
<scope>provided</scope>
2585
</dependency>
86+
<!-- IntelliJ Annotations -->
87+
<dependency>
88+
<groupId>org.jetbrains</groupId>
89+
<artifactId>annotations</artifactId>
90+
<version>24.0.0</version>
91+
<scope>compile</scope>
92+
</dependency>
93+
<!-- Test Dependencies -->
94+
<dependency>
95+
<groupId>org.junit.jupiter</groupId>
96+
<artifactId>junit-jupiter-engine</artifactId>
97+
<version>5.9.2</version>
98+
<scope>test</scope>
99+
</dependency>
100+
<dependency>
101+
<groupId>commons-io</groupId>
102+
<artifactId>commons-io</artifactId>
103+
<version>2.11.0</version>
104+
<scope>test</scope>
105+
</dependency>
26106
</dependencies>
27107
</project>
28108

0 commit comments

Comments
 (0)