|
5 | 5 | <modelVersion>4.0.0</modelVersion> |
6 | 6 |
|
7 | 7 | <groupId>me.croabeast</groupId> |
8 | | - <artifactId>file</artifactId> |
9 | | - <version>0.1.0</version> |
| 8 | + <artifactId>YAML-API</artifactId> |
| 9 | + <version>1.0</version> |
10 | 10 | <packaging>jar</packaging> |
11 | 11 |
|
12 | 12 | <properties> |
13 | | - <java.version>1.8</java.version> |
| 13 | + <java.version>21</java.version> |
14 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | 15 | </properties> |
16 | 16 |
|
|
19 | 19 | <plugin> |
20 | 20 | <groupId>org.apache.maven.plugins</groupId> |
21 | 21 | <artifactId>maven-compiler-plugin</artifactId> |
22 | | - <version>3.8.1</version> |
| 22 | + <version>3.13.0</version> |
23 | 23 | <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> |
26 | 29 | </configuration> |
27 | 30 | </plugin> |
| 31 | + |
28 | 32 | <plugin> |
29 | 33 | <groupId>org.apache.maven.plugins</groupId> |
30 | 34 | <artifactId>maven-shade-plugin</artifactId> |
31 | | - <version>3.2.4</version> |
| 35 | + <version>3.5.3</version> |
32 | 36 | <executions> |
33 | 37 | <execution> |
34 | 38 | <phase>package</phase> |
|
40 | 44 | </configuration> |
41 | 45 | </execution> |
42 | 46 | </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> |
43 | 89 | </plugin> |
44 | 90 | </plugins> |
| 91 | + |
45 | 92 | <resources> |
46 | 93 | <resource> |
47 | 94 | <directory>src/main/resources</directory> |
|
55 | 102 | <id>spigotmc-repo</id> |
56 | 103 | <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> |
57 | 104 | </repository> |
| 105 | + |
58 | 106 | <repository> |
59 | 107 | <id>sonatype</id> |
60 | 108 | <url>https://oss.sonatype.org/content/groups/public/</url> |
|
65 | 113 | <dependency> |
66 | 114 | <groupId>org.jetbrains</groupId> |
67 | 115 | <artifactId>annotations</artifactId> |
68 | | - <version>24.0.1</version> |
| 116 | + <version>26.0.1</version> |
69 | 117 | <scope>provided</scope> |
70 | 118 | </dependency> |
| 119 | + |
71 | 120 | <dependency> |
72 | 121 | <groupId>org.projectlombok</groupId> |
73 | 122 | <artifactId>lombok</artifactId> |
74 | | - <version>1.18.26</version> |
| 123 | + <version>1.18.36</version> |
75 | 124 | <scope>provided</scope> |
76 | 125 | </dependency> |
| 126 | + |
77 | 127 | <dependency> |
78 | 128 | <groupId>org.spigotmc</groupId> |
79 | 129 | <artifactId>spigot-api</artifactId> |
|
0 commit comments