Add annotation processor explicitly to fix plugin json generation

Related #1286
Related #1292
This commit is contained in:
TuxCoding
2025-05-13 16:57:28 +02:00
parent 69fa341188
commit d06c44041d
2 changed files with 16 additions and 12 deletions
+15 -11
View File
@@ -62,6 +62,20 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<annotationProcessors>
<annotationProcessor>
com.velocitypowered.api.plugin.ap.PluginAnnotationProcessor
</annotationProcessor>
</annotationProcessors>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
@@ -161,18 +175,8 @@
<dependency>
<groupId>com.velocitypowered</groupId>
<artifactId>velocity-api</artifactId>
<version>3.3.0-SNAPSHOT</version>
<version>3.4.0-SNAPSHOT</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.moandjiezana.toml</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>org.spongepowered</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--Velocity does not ship any database driver-->