From 3117a4e9e1e1ad1adcd968d1a4b4f9399f9ce2d7 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Mon, 26 Nov 2012 22:33:21 -0600 Subject: [PATCH] Generate javadoc and fix warning --- antlr4-maven-plugin/pom.xml | 14 ++++++++++++++ .../java/org/antlr/mojo/antlr4/Antlr4ErrorLog.java | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/antlr4-maven-plugin/pom.xml b/antlr4-maven-plugin/pom.xml index d405b1156..84959b7cb 100644 --- a/antlr4-maven-plugin/pom.xml +++ b/antlr4-maven-plugin/pom.xml @@ -330,6 +330,20 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9 + + + attach-javadocs + + jar + + + + + diff --git a/antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/Antlr4ErrorLog.java b/antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/Antlr4ErrorLog.java index 1172ac798..49fb58f02 100644 --- a/antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/Antlr4ErrorLog.java +++ b/antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/Antlr4ErrorLog.java @@ -55,7 +55,7 @@ public class Antlr4ErrorLog implements ANTLRToolListener { /** * Sends an informational message to the Maven log sink. - * @param s The message to send to Maven + * @param message The message to send to Maven */ @Override public void info(String message) {