git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114791 13f79535-47bb-0310-9956-ffa450edef68
68 lines
2.0 KiB
XML
68 lines
2.0 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
/*
|
|
* 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 Antlr Plug-in Goals</title>
|
|
<author email="dion@multitask.com.au">dIon Gillard</author>
|
|
</properties>
|
|
|
|
<body>
|
|
<section name="Goals">
|
|
<p>
|
|
<strong>Note:</strong> The goals in this plugin are only executed
|
|
when the <a href="properties.html">maven.antlr.src.dir</a> property
|
|
is set
|
|
</p>
|
|
<table>
|
|
<tr><th>Goal</th><th>Description</th></tr>
|
|
<tr>
|
|
<td>antlr:generate</td>
|
|
<td>
|
|
<p>
|
|
Generates code for all grammars defined in the
|
|
<a href="properties.html">${maven.antlr.grammars}</a>
|
|
property.
|
|
</p>
|
|
<p>
|
|
This goal is called before the <code>java:compile</code>
|
|
goal so that code is generated before compilation.
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>antlr:prepare-filesystem</td>
|
|
<td>
|
|
<p>
|
|
Creates the <code>${maven.build.dir}/antlr</code>
|
|
directory which holds antlr generated code.
|
|
</p>
|
|
<p>
|
|
This directory is added to the code to be compiled by
|
|
Maven, as specified by the <code>maven.compile.src.set</code>
|
|
property.
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</section>
|
|
</body>
|
|
</document>
|