fix error for javadoc in case of jdk8 build
limit warning on javadoc by adding description
diff --git a/src/main/java/org/codehaus/mojo/nbm/CollectLibrariesNodeVisitor.java b/src/main/java/org/codehaus/mojo/nbm/CollectLibrariesNodeVisitor.java
index e8d998a..b35c7a6 100644
--- a/src/main/java/org/codehaus/mojo/nbm/CollectLibrariesNodeVisitor.java
+++ b/src/main/java/org/codehaus/mojo/nbm/CollectLibrariesNodeVisitor.java
@@ -65,6 +65,12 @@
/**
* Creates a dependency node visitor that collects visited nodes for further processing.
+ * @param explicitLibraries list of explicit libraries
+ * @param runtimeArtifacts list of runtime artifacts
+ * @param examinerCache cache of netbeans manifest for artifacts
+ * @param log mojo logger
+ * @param root dependency to start collect with
+ * @param useOsgiDependencies whether to allow osgi dependencies or not
*/
public CollectLibrariesNodeVisitor( List<String> explicitLibraries,
List<Artifact> runtimeArtifacts, Map<Artifact, ExamineManifest> examinerCache,
@@ -167,6 +173,7 @@
* Gets the list of collected dependency nodes.
*
* @return the list of collected dependency nodes
+ * @throws MojoExecutionException if a throwable is set
*/
public List<Artifact> getArtifacts()
throws MojoExecutionException
diff --git a/src/main/java/org/codehaus/mojo/nbm/CollectModuleLibrariesNodeVisitor.java b/src/main/java/org/codehaus/mojo/nbm/CollectModuleLibrariesNodeVisitor.java
index 580842c..693471a 100644
--- a/src/main/java/org/codehaus/mojo/nbm/CollectModuleLibrariesNodeVisitor.java
+++ b/src/main/java/org/codehaus/mojo/nbm/CollectModuleLibrariesNodeVisitor.java
@@ -62,6 +62,11 @@
/**
* Creates a dependency node visitor that collects visited nodes for further processing.
+ * @param runtimeArtifacts list of runtime artifacts
+ * @param examinerCache cache of netbeans manifest for artifacts
+ * @param log mojo logger
+ * @param root dependency to start collect with
+ * @param useOSGiDependencies whether to allow osgi dependencies or not
*/
public CollectModuleLibrariesNodeVisitor(
List<Artifact> runtimeArtifacts, Map<Artifact, ExamineManifest> examinerCache,
@@ -182,7 +187,7 @@
/**
* modules declared in the project's pom
* @return a map of module artifact lists, key is the dependencyConflictId
- * @throws org.apache.maven.plugin.MojoExecutionException
+ * @throws MojoExecutionException if an unexpected problem occurs
*/
public Map<String, List<Artifact>> getDeclaredArtifacts()
throws MojoExecutionException
@@ -197,7 +202,7 @@
/**
* modules that were picked up transitively
* @return a map of module artifact lists, key is the dependencyConflictId
- * @throws org.apache.maven.plugin.MojoExecutionException
+ * @throws MojoExecutionException if an unexpected problem occurs
*/
public Map<String, List<Artifact>> getTransitiveArtifacts()
throws MojoExecutionException
diff --git a/src/main/java/org/codehaus/mojo/nbm/CreateNbmMojo.java b/src/main/java/org/codehaus/mojo/nbm/CreateNbmMojo.java
index 29ab6b1..9281be3 100644
--- a/src/main/java/org/codehaus/mojo/nbm/CreateNbmMojo.java
+++ b/src/main/java/org/codehaus/mojo/nbm/CreateNbmMojo.java
@@ -50,7 +50,7 @@
/**
* Create the NetBeans module artifact (nbm file), part of "nbm" lifecycle/packaging.
- * <p/>
+ *
*
* @author <a href="mailto:mkleint@codehaus.org">Milos Kleint</a>
*/
diff --git a/src/main/java/org/codehaus/mojo/nbm/CreateNetBeansFileStructure.java b/src/main/java/org/codehaus/mojo/nbm/CreateNetBeansFileStructure.java
index 5e02f55..f6ae5a4 100644
--- a/src/main/java/org/codehaus/mojo/nbm/CreateNetBeansFileStructure.java
+++ b/src/main/java/org/codehaus/mojo/nbm/CreateNetBeansFileStructure.java
@@ -66,7 +66,7 @@
/**
* Create the NetBeans module directory structure, a prerequisite for nbm creation and cluster creation.
- * <p/>
+ *
*
* @author <a href="mailto:mkleint@codehaus.org">Milos Kleint</a>
*
diff --git a/src/main/java/org/codehaus/mojo/nbm/CreateStandaloneMojo.java b/src/main/java/org/codehaus/mojo/nbm/CreateStandaloneMojo.java
index c6ba46e..7e3e485 100644
--- a/src/main/java/org/codehaus/mojo/nbm/CreateStandaloneMojo.java
+++ b/src/main/java/org/codehaus/mojo/nbm/CreateStandaloneMojo.java
@@ -60,8 +60,8 @@
/**
*
- * @throws org.apache.maven.plugin.MojoExecutionException
- * @throws org.apache.maven.plugin.MojoFailureException
+ * @throws MojoExecutionException if an unexpected problem occurs
+ * @throws MojoFailureException if an expected problem occurs
*/
public void execute()
throws MojoExecutionException, MojoFailureException
diff --git a/src/main/java/org/codehaus/mojo/nbm/CreateWebstartAppMojo.java b/src/main/java/org/codehaus/mojo/nbm/CreateWebstartAppMojo.java
index 27485c1..1e98f39 100644
--- a/src/main/java/org/codehaus/mojo/nbm/CreateWebstartAppMojo.java
+++ b/src/main/java/org/codehaus/mojo/nbm/CreateWebstartAppMojo.java
@@ -185,8 +185,8 @@
/**
*
- * @throws org.apache.maven.plugin.MojoExecutionException
- * @throws org.apache.maven.plugin.MojoFailureException
+ * @throws MojoExecutionException if an unexpected problem occurs
+ * @throws MojoFailureException if an expected problem occurs
*/
@Override
public void execute()
diff --git a/src/main/java/org/codehaus/mojo/nbm/NetBeansManifestUpdateMojo.java b/src/main/java/org/codehaus/mojo/nbm/NetBeansManifestUpdateMojo.java
index 31a952e..955e5a9 100644
--- a/src/main/java/org/codehaus/mojo/nbm/NetBeansManifestUpdateMojo.java
+++ b/src/main/java/org/codehaus/mojo/nbm/NetBeansManifestUpdateMojo.java
@@ -65,7 +65,7 @@
*
* In order to have the generated manifest picked up by the maven-jar-plugin,
* one shall add the following configuration snippet to maven-jar-plugin.
- * <p/>
+ *
* <pre>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -275,8 +275,8 @@
/**
* execute plugin
- * @throws org.apache.maven.plugin.MojoExecutionException
- * @throws org.apache.maven.plugin.MojoFailureException
+ * @throws MojoExecutionException if an unexpected problem occurs
+ * @throws MojoFailureException if an expected problem occurs
*/
public void execute()
throws MojoExecutionException, MojoFailureException
diff --git a/src/main/java/org/codehaus/mojo/nbm/RunNetBeansMojo.java b/src/main/java/org/codehaus/mojo/nbm/RunNetBeansMojo.java
index 4bee343..f4a7187 100644
--- a/src/main/java/org/codehaus/mojo/nbm/RunNetBeansMojo.java
+++ b/src/main/java/org/codehaus/mojo/nbm/RunNetBeansMojo.java
@@ -81,8 +81,8 @@
/**
*
- * @throws org.apache.maven.plugin.MojoExecutionException
- * @throws org.apache.maven.plugin.MojoFailureException
+ * @throws MojoExecutionException if an unexpected problem occurs
+ * @throws MojoFailureException if an expected problem occurs
*/
public void execute()
throws MojoExecutionException, MojoFailureException
diff --git a/src/main/java/org/codehaus/mojo/nbm/RunPlatformAppMojo.java b/src/main/java/org/codehaus/mojo/nbm/RunPlatformAppMojo.java
index 4d9ae24..0d595f2 100644
--- a/src/main/java/org/codehaus/mojo/nbm/RunPlatformAppMojo.java
+++ b/src/main/java/org/codehaus/mojo/nbm/RunPlatformAppMojo.java
@@ -84,8 +84,8 @@
/**
*
- * @throws org.apache.maven.plugin.MojoExecutionException
- * @throws org.apache.maven.plugin.MojoFailureException
+ * @throws MojoExecutionException if an unexpected problem occurs
+ * @throws MojoFailureException if an expected problem occurs
*/
public void execute()
throws MojoExecutionException, MojoFailureException
diff --git a/src/test/java/org/codehaus/mojo/nbm/AbstractNbmMojoTest.java b/src/test/java/org/codehaus/mojo/nbm/AbstractNbmMojoTest.java
index e5eae6f..f66bd9b 100644
--- a/src/test/java/org/codehaus/mojo/nbm/AbstractNbmMojoTest.java
+++ b/src/test/java/org/codehaus/mojo/nbm/AbstractNbmMojoTest.java
@@ -141,6 +141,7 @@
/**
* Module is not a library
+ * @throws java.lang.Exception if AbstractNbmMojo.getLibraryArtifacts fail
*/
public void testGetLibraryArtifacts1() throws Exception {
System.out.println("getLibraryArtifacts1");
@@ -155,6 +156,7 @@
/**
* direct dependency is a library
+ * @throws java.lang.Exception if AbstractNbmMojo.getLibraryArtifacts fail
*/
public void testGetLibraryArtifact2() throws Exception {
System.out.println("getLibraryArtifacts2");
@@ -170,6 +172,7 @@
/**
* transitive dependency gets included as well.
+ * @throws java.lang.Exception if AbstractNbmMojo.getLibraryArtifacts fail
*/
public void testGetLibraryArtifact3() throws Exception {
System.out.println("getLibraryArtifacts3");
@@ -187,6 +190,7 @@
/**
* transitive dependency of a module doesn't get included as library
+ * @throws java.lang.Exception if AbstractNbmMojo.getLibraryArtifacts fail
*/
public void testGetLibraryArtifact4() throws Exception {
System.out.println("getLibraryArtifacts4");
@@ -203,7 +207,8 @@
/**
* transitive dependency of a library is a duplicate of a transitive dependency of a module
- * ->doesn't get included.
+ * ->doesn't get included.
+ * @throws java.lang.Exception if AbstractNbmMojo.getLibraryArtifacts fail
*/
public void testGetLibraryArtifact5() throws Exception {
System.out.println("getLibraryArtifacts5");