Do not require explicit setting of source and output directories

This commit is contained in:
Sam Harwell 2013-01-19 15:54:44 -06:00
parent 087dea5e39
commit 8e738dad52
1 changed files with 2 additions and 2 deletions

View File

@ -168,13 +168,13 @@ public class Antlr4Mojo extends AbstractMojo {
/** /**
* Specifies the ANTLR directory containing grammar files. * Specifies the ANTLR directory containing grammar files.
*/ */
@Parameter(defaultValue = "${basedir}/src/main/antlr4", required = true) @Parameter(defaultValue = "${basedir}/src/main/antlr4")
private File sourceDirectory; private File sourceDirectory;
/** /**
* Specify output directory where the Java files are generated. * Specify output directory where the Java files are generated.
*/ */
@Parameter(defaultValue = "${project.build.directory}/generated-sources/antlr4", required = true) @Parameter(defaultValue = "${project.build.directory}/generated-sources/antlr4")
private File outputDirectory; private File outputDirectory;
/** /**