Remove some maven warnings

This commit is contained in:
SeanOMik 2020-07-20 16:29:13 -05:00
parent e64d82f0b4
commit bb37c50d2f
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
1 changed files with 9 additions and 26 deletions

35
pom.xml
View File

@ -40,36 +40,19 @@
<goal>shade</goal> <goal>shade</goal>
</goals> </goals>
<configuration> <configuration>
<!--<outputFile>D:\Code\java\spigotPlugins\_TEST_SERVER_1.14.4_\plugins\EnergeticStorage-v${project.version}.jar</outputFile>--> <relocations>
<!--<outputFile>D:\Code\java\spigotPlugins\_TEST_SERVER_1.15.2_\plugins\EnergeticStorage-v${project.version}.jar</outputFile>--> <relocation>
<outputFile>D:\Code\java\spigotPlugins\_TEST_SERVER_1.16.1_\plugins\EnergeticStorage-MC-v${project.version}.jar</outputFile> <pattern>de.tr7zw.changeme.nbtapi</pattern>
<createDependencyReducedPom>false</createDependencyReducedPom> <shadedPattern>de.tr7zw.nbtapi.energeticstorage</shadedPattern>
</relocation>
</relocations>
<outputFile>D:\Code\java\spigotPlugins\_TEST_SERVER_1.15.2_\plugins\EnergeticStorage-v${project.version}.jar</outputFile>
<!--<outputFile>D:\Code\java\spigotPlugins\_TEST_SERVER_1.16.1_\plugins\EnergeticStorage-MC-v${project.version}.jar</outputFile>-->
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>shade</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<relocations>
<relocation>
<pattern>de.tr7zw.changeme.nbtapi</pattern>
<shadedPattern>de.tr7zw.nbtapi.energeticstorage</shadedPattern>
</relocation>
</relocations>
</configuration>
</plugin>
</plugins> </plugins>
<resources> <resources>
<resource> <resource>