Working plugin yml generation
This commit is contained in:
parent
d09306a9b7
commit
2501aed96a
3 changed files with 8 additions and 2 deletions
6
pom.xml
6
pom.xml
|
@ -106,7 +106,8 @@
|
|||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
<annotationProcessors>
|
||||
<annotationProcessor>de.jaschastarke.bukkit.maven.AnnotationProcessor</annotationProcessor>
|
||||
<!-- Needed to fetch DocComments from Source -->
|
||||
<annotationProcessor>de.jaschastarke.maven.AnnotationProcessor</annotationProcessor>
|
||||
</annotationProcessors>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
@ -131,7 +132,7 @@
|
|||
<dev-url>http://dev.bukkit.org/server-mods/limited-creative/</dev-url>
|
||||
</custom>
|
||||
<registeredPermissions>
|
||||
<param>de.jaschastarke.minecraft.limitedcreative.Perms.Root</param>
|
||||
<param>de.jaschastarke.minecraft.limitedcreative.Perms:Root</param>
|
||||
</registeredPermissions>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
@ -157,6 +158,7 @@
|
|||
<filter>
|
||||
<artifact>de.jaschastarke:plib</artifact>
|
||||
<excludes>
|
||||
<exclude>de/jaschastarke/maven/**</exclude>
|
||||
<exclude>de/jaschastarke/bukkit/maven/**</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
|
|
|
@ -19,12 +19,14 @@ package de.jaschastarke.minecraft.limitedcreative;
|
|||
|
||||
import org.bukkit.permissions.PermissionDefault;
|
||||
|
||||
import de.jaschastarke.maven.ArchiveDocComments;
|
||||
import de.jaschastarke.minecraft.lib.annotations.PermissionDescripted;
|
||||
import de.jaschastarke.minecraft.lib.permissions.IAbstractPermission;
|
||||
import de.jaschastarke.minecraft.lib.permissions.IPermissionContainer;
|
||||
import de.jaschastarke.minecraft.lib.permissions.IPermission;
|
||||
|
||||
@PermissionDescripted(PermissionDescripted.Type.STATIC_ATTRIBUTES)
|
||||
@ArchiveDocComments
|
||||
public enum Perms implements IPermission {
|
||||
|
||||
/**
|
||||
|
|
|
@ -2,11 +2,13 @@ package de.jaschastarke.minecraft.limitedcreative.limits;
|
|||
|
||||
import org.bukkit.permissions.PermissionDefault;
|
||||
|
||||
import de.jaschastarke.maven.ArchiveDocComments;
|
||||
import de.jaschastarke.minecraft.lib.permissions.IAbstractPermission;
|
||||
import de.jaschastarke.minecraft.lib.permissions.IPermissionContainer;
|
||||
import de.jaschastarke.minecraft.lib.permissions.IPermission;
|
||||
import de.jaschastarke.minecraft.limitedcreative.Perms;
|
||||
|
||||
@ArchiveDocComments
|
||||
public enum NoLimitPerms implements IPermission {
|
||||
DROP("drop", PermissionDefault.FALSE),
|
||||
PICKUP("pickup", PermissionDefault.FALSE),
|
||||
|
|
Loading…
Reference in a new issue