Skip to content

Commit 764fcc8

Browse files
committed
Update pom.xml
1 parent d726940 commit 764fcc8

File tree

2 files changed

+63
-10
lines changed

2 files changed

+63
-10
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# Project exclude paths
2-
/target/
2+
/target/
3+
/YAMLFile.iml
4+
/file.iml
5+
/.idea/

pom.xml

Lines changed: 59 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<groupId>me.croabeast</groupId>
8-
<artifactId>file</artifactId>
9-
<version>0.1.0</version>
8+
<artifactId>YAML-API</artifactId>
9+
<version>1.0</version>
1010
<packaging>jar</packaging>
1111

1212
<properties>
13-
<java.version>1.8</java.version>
13+
<java.version>21</java.version>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1515
</properties>
1616

@@ -19,16 +19,20 @@
1919
<plugin>
2020
<groupId>org.apache.maven.plugins</groupId>
2121
<artifactId>maven-compiler-plugin</artifactId>
22-
<version>3.8.1</version>
22+
<version>3.13.0</version>
2323
<configuration>
24-
<source>${java.version}</source>
25-
<target>${java.version}</target>
24+
<source>1.8</source>
25+
<target>1.8</target>
26+
<compilerArgs>
27+
<arg>-Xlint:-options</arg>
28+
</compilerArgs>
2629
</configuration>
2730
</plugin>
31+
2832
<plugin>
2933
<groupId>org.apache.maven.plugins</groupId>
3034
<artifactId>maven-shade-plugin</artifactId>
31-
<version>3.2.4</version>
35+
<version>3.5.3</version>
3236
<executions>
3337
<execution>
3438
<phase>package</phase>
@@ -40,8 +44,51 @@
4044
</configuration>
4145
</execution>
4246
</executions>
47+
<configuration>
48+
<filters>
49+
<filter>
50+
<artifact>*:*</artifact>
51+
<excludes>
52+
<exclude>META-INF/**</exclude>
53+
</excludes>
54+
</filter>
55+
</filters>
56+
</configuration>
57+
</plugin>
58+
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-source-plugin</artifactId>
62+
<version>3.3.1</version>
63+
<executions>
64+
<execution>
65+
<id>attach-sources</id>
66+
<phase>prepare-package</phase>
67+
<goals>
68+
<goal>jar</goal>
69+
</goals>
70+
</execution>
71+
</executions>
72+
</plugin>
73+
74+
<plugin>
75+
<groupId>org.apache.maven.plugins</groupId>
76+
<artifactId>maven-javadoc-plugin</artifactId>
77+
<version>3.5.0</version>
78+
<configuration>
79+
<additionalOptions>-Xdoclint:none</additionalOptions>
80+
</configuration>
81+
<executions>
82+
<execution>
83+
<id>attach-javadocs</id>
84+
<goals>
85+
<goal>jar</goal>
86+
</goals>
87+
</execution>
88+
</executions>
4389
</plugin>
4490
</plugins>
91+
4592
<resources>
4693
<resource>
4794
<directory>src/main/resources</directory>
@@ -55,6 +102,7 @@
55102
<id>spigotmc-repo</id>
56103
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
57104
</repository>
105+
58106
<repository>
59107
<id>sonatype</id>
60108
<url>https://oss.sonatype.org/content/groups/public/</url>
@@ -65,15 +113,17 @@
65113
<dependency>
66114
<groupId>org.jetbrains</groupId>
67115
<artifactId>annotations</artifactId>
68-
<version>24.0.1</version>
116+
<version>26.0.1</version>
69117
<scope>provided</scope>
70118
</dependency>
119+
71120
<dependency>
72121
<groupId>org.projectlombok</groupId>
73122
<artifactId>lombok</artifactId>
74-
<version>1.18.26</version>
123+
<version>1.18.36</version>
75124
<scope>provided</scope>
76125
</dependency>
126+
77127
<dependency>
78128
<groupId>org.spigotmc</groupId>
79129
<artifactId>spigot-api</artifactId>

0 commit comments

Comments
 (0)