Correct pom properties

This commit is contained in:
Gabriele C 2016-05-05 18:39:35 +02:00
parent 917a48074a
commit fb4dd260f8
2 changed files with 9 additions and 8 deletions

15
pom.xml
View File

@ -54,16 +54,16 @@
<project.jdkVersion>1.7</project.jdkVersion> <project.jdkVersion>1.7</project.jdkVersion>
<!-- Output properties --> <!-- Output properties -->
<project.outputName>AuthMe</project.outputName>
<project.buildNumber>CUSTOM</project.buildNumber> <project.buildNumber>CUSTOM</project.buildNumber>
<project.outputFile>${bukkitplugin.name}-${project.version}</project.outputFile> <project.versionCode>${project.version}-b${project.buildNumber}</project.versionCode>
<project.finalName>${project.outputName}-${project.version}</project.finalName>
<!-- BukkitPlugin properties --> <!-- BukkitPlugin properties -->
<bukkitplugin.name>AuthMe</bukkitplugin.name> <bukkitplugin.name>${project.outputName}</bukkitplugin.name>
<bukkitplugin.main>${project.groupId}.${project.artifactId}.${bukkitplugin.name}</bukkitplugin.main> <bukkitplugin.main>${project.groupId}.${project.artifactId}.${bukkitplugin.name}</bukkitplugin.main>
<bukkitplugin.authors>Xephi, sgdc3, DNx5, timvisee, games647, ljacqu</bukkitplugin.authors> <bukkitplugin.authors>Xephi, sgdc3, DNx5, timvisee, games647, ljacqu</bukkitplugin.authors>
<jarName>${bukkitplugin.name}-${project.version}-${project.buildNumber}</jarName>
<!-- Change Bukkit Version HERE! --> <!-- Change Bukkit Version HERE! -->
<bukkit.version>1.9.2-R0.1-SNAPSHOT</bukkit.version> <bukkit.version>1.9.2-R0.1-SNAPSHOT</bukkit.version>
</properties> </properties>
@ -84,7 +84,8 @@
</profiles> </profiles>
<build> <build>
<finalName>${jarName}-noshade</finalName> <!-- Name of the NOSHADE jar (no shaded/relocated libraries) -->
<finalName>${project.finalName}-noshade</finalName>
<resources> <resources>
<resource> <resource>
@ -184,7 +185,7 @@
<shadedPattern>fr.xephi.authme</shadedPattern> <shadedPattern>fr.xephi.authme</shadedPattern>
</relocation> </relocation>
</relocations> </relocations>
<outputFile>target/${jarName}-spigot.jar</outputFile> <outputFile>target/${project.finalName}-spigot.jar</outputFile>
</configuration> </configuration>
</execution> </execution>
<!-- 1.7.10 and lower --> <!-- 1.7.10 and lower -->
@ -223,7 +224,7 @@
<shadedPattern>fr.xephi.authme</shadedPattern> <shadedPattern>fr.xephi.authme</shadedPattern>
</relocation> </relocation>
</relocations> </relocations>
<outputFile>target/${jarName}-legacy.jar</outputFile> <outputFile>target/${project.finalName}-legacy.jar</outputFile>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>

View File

@ -3,7 +3,7 @@ authors: [${bukkitplugin.authors}]
website: ${project.url} website: ${project.url}
description: ${project.description} description: ${project.description}
main: ${bukkitplugin.main} main: ${bukkitplugin.main}
version: ${project.version}-b${buildNumber} version: ${project.versionCode}
softdepend: softdepend:
- Vault - Vault
- PermissionsBukkit - PermissionsBukkit