From 2501aed96a9df4c6c019b324635b954ce016fb49 Mon Sep 17 00:00:00 2001 From: Jascha Starke Date: Sun, 13 Jan 2013 14:40:32 +0100 Subject: [PATCH] Working plugin yml generation --- pom.xml | 6 ++++-- src/de/jaschastarke/minecraft/limitedcreative/Perms.java | 2 ++ .../minecraft/limitedcreative/limits/NoLimitPerms.java | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 77f85b4..9c051af 100644 --- a/pom.xml +++ b/pom.xml @@ -106,7 +106,8 @@ 1.6 1.6 - de.jaschastarke.bukkit.maven.AnnotationProcessor + + de.jaschastarke.maven.AnnotationProcessor @@ -131,7 +132,7 @@ http://dev.bukkit.org/server-mods/limited-creative/ - de.jaschastarke.minecraft.limitedcreative.Perms.Root + de.jaschastarke.minecraft.limitedcreative.Perms:Root @@ -157,6 +158,7 @@ de.jaschastarke:plib + de/jaschastarke/maven/** de/jaschastarke/bukkit/maven/** diff --git a/src/de/jaschastarke/minecraft/limitedcreative/Perms.java b/src/de/jaschastarke/minecraft/limitedcreative/Perms.java index 8a31b21..d056782 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/Perms.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/Perms.java @@ -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 { /** diff --git a/src/de/jaschastarke/minecraft/limitedcreative/limits/NoLimitPerms.java b/src/de/jaschastarke/minecraft/limitedcreative/limits/NoLimitPerms.java index dbbeb71..c800609 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/limits/NoLimitPerms.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/limits/NoLimitPerms.java @@ -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),