Use plugin description from project pom.xml and fix sponge.

This disables the sponge plugin annotation processor and uses our own mcmod.info
This commit is contained in:
Myles 2016-11-13 13:15:26 +00:00
parent 1bec3cf1d0
commit 10a2df5a7d
6 changed files with 27 additions and 17 deletions

View File

@ -2,7 +2,7 @@ name: ViaVersion
main: us.myles.ViaVersion.ViaVersionPlugin
authors: [_MylesC, Matsv]
version: ${project.version}
description: Allow newer Minecraft versions to connect to an older server version.
description: ${project.description}
load: postworld
loadbefore: [ProtocolLib, ProxyPipe, SpigotLib, SkinRestorer]
softdepend: [ProtocolSupport, PacketListenerApi]

View File

@ -1,4 +1,5 @@
name: ViaVersion
main: us.myles.ViaVersion.BungeePlugin
description: ${project.description}
author: _MylesC, Matsv
version: ${project.version}

View File

@ -35,21 +35,6 @@
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<id>filter-src</id>
<goals>
<goal>filter-sources</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>

View File

@ -35,6 +35,17 @@
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<!-- We only run lombok and not sponge in-built mcmod.info generator due to issues with multiversion -->
<annotationProcessors>
<annotationProcessor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</annotationProcessor>
</annotationProcessors>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>

View File

@ -37,7 +37,8 @@ import java.util.logging.Logger;
name = "ViaVersion",
version = VersionInfo.VERSION,
authors = {"_MylesC", "Matsv"},
description = "Allow newer Minecraft versions to connect to an older server version."
description = "Allow newer Minecraft versions to connect to an older server version.",
dependencies = {}
)
public class SpongePlugin implements ViaPlatform {
@Inject

View File

@ -0,0 +1,12 @@
[
{
"modid": "viaversion",
"name": "ViaVersion",
"version": "${project.version}",
"description": "${project.description}",
"authorList": [
"_MylesC",
"Matsv"
]
}
]