From 6f854bb6da16501b92d35959377280f842ca3e05 Mon Sep 17 00:00:00 2001
From: Vanderson Botelho da Silva
Date: Thu, 29 Sep 2016 18:58:15 -0300
Subject: [PATCH] fix javadoc
---
demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/Name.java | 16 ++++++++++------
demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/literal/NameQualifier.java | 4 +---
demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/literal/NamedQualifier.java | 6 +-----
demoiselle-parent-bom/pom.xml | 10 +++++++++-
pom.xml | 10 +++++++++-
5 files changed, 30 insertions(+), 16 deletions(-)
diff --git a/demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/Name.java b/demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/Name.java
index 7e799da..ebe7498 100644
--- a/demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/Name.java
+++ b/demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/Name.java
@@ -6,13 +6,17 @@
*/
package org.demoiselle.jee.core.annotation;
-import static java.lang.annotation.ElementType.*;
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Target;
+
import javax.enterprise.util.Nonbinding;
-import javax.inject.Named;
import javax.inject.Qualifier;
/**
@@ -21,12 +25,12 @@ import javax.inject.Qualifier;
*
*
*
- * This annotation is used to qualify beans using an user defined String. {@link javax.enterprise.inject.Produces}
+ * This annotation is used to qualify beans using an user defined String.
* methods can then read this string and use it to customize the bean creation process.
*
*
*
- * The {@link #value()} attribute is non-binding (contrary to {@link Named#value()}, meaning multiple classes
+ * The attribute is non-binding (contrary to meaning multiple classes
* qualified with this annotation, even with different values, will be considered the same candidate for
* injection points. To avoid ambiguous resolutions and select which candidate to choose usually you'll need a
* producer method to read the string and select the best fitted candidate.
@@ -52,7 +56,7 @@ public @interface Name {
* Specifies a name to access a custom configuration that will change how the annotated bean works.
*
*
- * This attribute is nonbinding so you can use the {@link Name} annotation to create {@linkplain javax.enterprise.inject.Produces}
+ * This attribute is nonbinding so you can use the annotation to create
* methods or fields and have only one producer that works with all injection points no matter the value of this attribute.
*
* @return Name of custom settings to personalize how the annotated bean works.
diff --git a/demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/literal/NameQualifier.java b/demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/literal/NameQualifier.java
index 1d70291..65ce744 100644
--- a/demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/literal/NameQualifier.java
+++ b/demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/literal/NameQualifier.java
@@ -10,11 +10,9 @@ import javax.enterprise.util.AnnotationLiteral;
import org.demoiselle.jee.core.annotation.Name;
/**
- * Annotation litteral that allows to create instances of the {@link Name} literal. The created instance can then be
- * used to call {@link javax.enterprise.inject.spi.CDI#select(Class subtype, java.lang.annotation.Annotation... qualifiers)}
+ * Annotation litteral that allows to create instances of the literal. The created instance can then be
*
* @author SERPRO
- * @see javax.enterprise.inject.spi.CDI
*/
@SuppressWarnings("all")
public class NameQualifier extends AnnotationLiteral implements Name {
diff --git a/demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/literal/NamedQualifier.java b/demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/literal/NamedQualifier.java
index ec4aeff..e0e4f11 100644
--- a/demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/literal/NamedQualifier.java
+++ b/demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/literal/NamedQualifier.java
@@ -11,13 +11,9 @@ import javax.enterprise.util.AnnotationLiteral;
import javax.inject.Named;
/**
- * Annotation litteral that allows to create instances of the {@link Named} literal.
+ * Annotation litteral that allows to create instances of the literal.
* Those instances can then be used to call
- * {@link javax.enterprise.inject.spi.CDI#select(Class subtype, Annotation... qualifiers)}
*
- * @see javax.enterprise.inject.spi.CDI
- * @see Named
- *
* @author SERPRO
*/
@SuppressWarnings("all")
diff --git a/demoiselle-parent-bom/pom.xml b/demoiselle-parent-bom/pom.xml
index fcde49b..131e5f9 100644
--- a/demoiselle-parent-bom/pom.xml
+++ b/demoiselle-parent-bom/pom.xml
@@ -28,6 +28,12 @@
http://www.serpro.gov.br
+
+ org.demoiselle.jee
+ demoiselle-build
+ 3.0.0-BETA1-SNAPSHOT
+
+
3.0.0-BETA1-SNAPSHOT
@@ -96,7 +102,7 @@
org.demoiselle.jee
demoiselle-security-jwt
${demoiselle.version}
-
+
@@ -219,4 +225,6 @@
+
+
diff --git a/pom.xml b/pom.xml
index aa3f831..d7262b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -87,6 +87,14 @@
+
+
+
+ maven-javadoc-plugin
+ 2.10
+
+
+
org.apache.maven.plugins
@@ -156,7 +164,6 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 2.10.4
attach-javadocs
@@ -181,6 +188,7 @@
+
--
libgit2 0.21.2