Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2015-04-22 20:18:05 -0400
committerJoakim Erdfelt2015-04-22 20:18:05 -0400
commit6ecfb96508df39578c65a41f5104fb174d05e9ac (patch)
treeac899eeba73a532e09630ac92f04f6e04d07d6c3 /jetty-jspc-maven-plugin
parent4db27843542211c57746438c328b32c0f1f69e81 (diff)
downloadorg.eclipse.jetty.project-6ecfb96508df39578c65a41f5104fb174d05e9ac.tar.gz
org.eclipse.jetty.project-6ecfb96508df39578c65a41f5104fb174d05e9ac.tar.xz
org.eclipse.jetty.project-6ecfb96508df39578c65a41f5104fb174d05e9ac.zip
464727 - Update Javadoc for Java 8 DocLint
Diffstat (limited to 'jetty-jspc-maven-plugin')
-rw-r--r--jetty-jspc-maven-plugin/pom.xml64
-rw-r--r--jetty-jspc-maven-plugin/src/main/java/org/eclipse/jetty/jspc/plugin/JspcMojo.java16
2 files changed, 66 insertions, 14 deletions
diff --git a/jetty-jspc-maven-plugin/pom.xml b/jetty-jspc-maven-plugin/pom.xml
index 853f6f59d8..deb7481d75 100644
--- a/jetty-jspc-maven-plugin/pom.xml
+++ b/jetty-jspc-maven-plugin/pom.xml
@@ -14,25 +14,85 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <version>2.9</version>
+ <version>3.4</version>
<executions>
<execution>
<id>exec-plugin-doc</id>
<phase>generate-sources</phase>
<goals>
- <goal>xdoc</goal>
+ <goal>descriptor</goal>
<goal>helpmojo</goal>
</goals>
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <tags>
+ <tag>
+ <name>phase</name>
+ <placement>t</placement>
+ <head>Phase:</head>
+ </tag>
+ <tag>
+ <name>goal</name>
+ <placement>t</placement>
+ <head>Goal:</head>
+ </tag>
+ <tag>
+ <name>description</name>
+ <placement>a</placement>
+ <head>Description:</head>
+ </tag>
+ <tag>
+ <name>parameter</name>
+ <placement>f</placement>
+ <head>Parameter:</head>
+ </tag>
+ <tag>
+ <name>required</name>
+ <placement>f</placement>
+ <head>Required:</head>
+ </tag>
+ <tag>
+ <name>readonly</name>
+ <placement>f</placement>
+ <head>Read-Only:</head>
+ </tag>
+ <tag>
+ <name>execute</name>
+ <placement>X</placement>
+ <head />
+ </tag>
+ <tag>
+ <name>requiresDependencyResolution</name>
+ <placement>X</placement>
+ <head />
+ </tag>
+ <tag>
+ <name>requiresProject</name>
+ <placement>X</placement>
+ <head />
+ </tag>
+ <tag>
+ <name>threadSafe</name>
+ <placement>X</placement>
+ <head />
+ </tag>
+ </tags>
+ </configuration>
+ </plugin>
</plugins>
</build>
<dependencies>
diff --git a/jetty-jspc-maven-plugin/src/main/java/org/eclipse/jetty/jspc/plugin/JspcMojo.java b/jetty-jspc-maven-plugin/src/main/java/org/eclipse/jetty/jspc/plugin/JspcMojo.java
index dd7d614c49..5083898baa 100644
--- a/jetty-jspc-maven-plugin/src/main/java/org/eclipse/jetty/jspc/plugin/JspcMojo.java
+++ b/jetty-jspc-maven-plugin/src/main/java/org/eclipse/jetty/jspc/plugin/JspcMojo.java
@@ -51,29 +51,21 @@ import org.eclipse.jetty.util.PatternMatcher;
import org.eclipse.jetty.util.resource.Resource;
/**
- * <p>
* This goal will compile jsps for a webapp so that they can be included in a
* war.
- * </p>
* <p>
* At runtime, the plugin will use the jsp2.0 jspc compiler if you are running
* on a 1.4 or lower jvm. If you are using a 1.5 jvm, then the jsp2.1 compiler
* will be selected. (this is the same behaviour as the <a
- * href="http://jetty.mortbay.org/maven-plugin">jetty plugin</a> for executing
+ * href="https://www.eclipse.org/jetty/documentation/current/maven-and-jetty.html">jetty plugin</a> for executing
* webapps).
- * </p>
* <p>
* Note that the same java compiler will be used as for on-the-fly compiled
* jsps, which will be the Eclipse java compiler.
- * </p>
- *
* <p>
* See <a
- * href="http://docs.codehaus.org/display/JETTY/Maven+Jetty+Jspc+Plugin">Usage
+ * href="https://www.eclipse.org/jetty/documentation/current/jetty-jspc-maven-plugin.html">Usage
* Guide</a> for instructions on using this plugin.
- * </p>
- *
- * @author janb
*
* @goal jspc
* @phase process-classes
@@ -387,7 +379,7 @@ public class JspcMojo extends AbstractMojo
* Until Jasper supports the option to generate the srcs in a different dir
* than the classes, this is the best we can do.
*
- * @throws Exception
+ * @throws Exception if unable to clean srcs
*/
public void cleanupSrcs() throws Exception
{
@@ -433,7 +425,7 @@ public class JspcMojo extends AbstractMojo
* If you dont specify the insertionMarker, then the fragment will be
* inserted at the end of the file just before the &lt;/webapp&gt;
*
- * @throws Exception
+ * @throws Exception if unable to merge the web xml
*/
public void mergeWebXml() throws Exception
{

Back to the top