maven-plugins/javacc/xdocs/properties.xml

94 lines
2.8 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<document>
<properties>
<title>Maven Javacc Plugin Properties</title>
<author email="michal.maczka@dimatics.com">Michal Maczka</author>
</properties>
<body>
<section name="Maven Javacc Plugin Settings">
<table>
<tr>
<th>Property name</th>
<th>Optional?</th>
<th>Description</th>
</tr>
<tr>
<td>maven.javacc.javacc.grammar</td>
<td>No</td>
<td>
The javacc grammar file for which code will be generated.
</td>
</tr>
<tr>
<td>maven.javacc.javacc.package</td>
<td>Yes</td>
<td>
The java package for the files generated during javacc generation.
If not specified, it will default to <code>${pom.package}</code>.
</td>
</tr>
<tr>
<td>maven.javacc.jjtree.grammar</td>
<td>No</td>
<td>
The jtree grammar file for which code will be generated.
</td>
</tr>
<tr>
<td>maven.javacc.jjtree.package</td>
<td>Yes</td>
<td>
The java package for the files generated during jjtree generation.
If not specified, it will default to <code>${pom.package}</code>.
</td>
</tr>
<tr>
<td>maven.gen.src</td>
<td>Yes</td>
<td>
The directory where files will be generated.
Defaults to <code>${maven.build.dir}/generated-src/main/java</code>
</td>
</tr>
</table>
</section>
<section name="Other properties used">
<table>
<tr>
<th>Property name</th>
<th>Optional?</th>
<th>Description</th>
</tr>
<tr>
<td>maven.compile.src.set</td>
<td>Yes</td>
<td>
The source directories maven uses to compile java code.
The javacc plugin adds the directory it generates code to
this path, so that generated code is compiled seamlessly
</td>
</tr>
</table>
</section>
</body>
</document>