2007-04-10 01:12:11 +00:00

128 lines
7.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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>Goals</title>
<author email="aheritier@apache.org">Arnaud Heritier</author>
</properties>
<body>
<section name="Goals">
<table>
<thead>
<tr>
<th>Goal</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a name="modello"></a>modello</td>
<td>Default goal for the plugin. It calls <code>modello:modello</code>.</td>
</tr>
<tr>
<td><a name="modello:modello"></a>modello:modello</td>
<td>Code generation based on the property <code>maven.modello.plugins</code>. Each plugin listed in this property is called as a goal <code>modello:<i>pluginName</i></code>. If <code>maven.modello.plugins=java,stax,jpox</code> a call to <code>modello(:modello)</code> will call goals <code>modello:java, modello:stax, modello:jpox</code>.</td>
</tr>
<tr>
<td><a name="modello:java"></a>modello:java</td>
<td>Generates Java Pojos of the DataModel in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a>.</td>
</tr>
<tr>
<th colspan="2">Java - XML Mappings</th>
</tr>
<tr>
<td><a name="modello:dom4j"></a>modello:dom4j</td>
<td>Generates classes in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> to read/write the model from/into a xml file using <a href="http://www.dom4j.org/" target="_blank">Dom4j</a>.</td>
</tr>
<tr>
<td><a name="modello:dom4j-reader"></a>modello:dom4j-reader</td>
<td>Generates the class in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> to read the model from a xml file using <a href="http://www.dom4j.org/" target="_blank">Dom4j</a>.</td>
</tr>
<tr>
<td><a name="modello:dom4j-writer"></a>modello:dom4j-writer</td>
<td>Generates the class in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> to write the model into a xml file using <a href="http://www.dom4j.org/" target="_blank">Dom4j</a>.</td>
</tr>
<tr>
<td><a name="modello:jdom"></a>modello:jdom</td>
<td>Generates classes in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> to write the model into a xml file using <a href="http://www.jdom.org/" target="_blank">JDom</a>.</td>
</tr>
<tr>
<td><a name="modello:jdom-writer"></a>modello:jdom-writer</td>
<td>Generates classes in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> to write the model into a xml file using <a href="http://www.jdom.org/" target="_blank">JDom</a>.</td>
</tr>
<tr>
<td><a name="modello:stax"></a>modello:stax</td>
<td>Generates classes in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> to read/write the model from/into a xml file using <a href="http://stax.codehaus.org/" target="_blank">STAX RI</a>.</td>
</tr>
<tr>
<td><a name="modello:stax-reader"></a>modello:stax-reader</td>
<td>Generates the class in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> to read the model from a xml file using <a href="http://stax.codehaus.org/" target="_blank">STAX RI</a>.</td>
</tr>
<tr>
<td><a name="modello:stax-writer"></a>modello:stax-writer</td>
<td>Generates the class in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> to write the model into a xml file using <a href="http://stax.codehaus.org/" target="_blank">STAX RI</a>.</td>
</tr>
<tr>
<td><a name="modello:xpp3"></a>modello:xpp3</td>
<td>Generates classes in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> to read/write the model from/to a xml file using <a href="http://www.extreme.indiana.edu/xgws/xsoap/xpp/" target="_blank">Xpp3</a>.</td>
</tr>
<tr>
<td><a name="modello:xpp3-reader"></a>modello:xpp3-reader</td>
<td>Generates the class in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> to read the model from a xml file using <a href="http://www.extreme.indiana.edu/xgws/xsoap/xpp/" target="_blank">Xpp3</a>.</td>
</tr>
<tr>
<td><a name="modello:xpp3-writer"></a>modello:xpp3-writer</td>
<td>Generates the class in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> to write the model into a xml file using <a href="http://www.extreme.indiana.edu/xgws/xsoap/xpp/" target="_blank">Xpp3</a>.</td>
</tr>
<tr>
<th colspan="2">Java - Database Storage</th>
</tr>
<tr>
<td><a name="modello:jpox"></a>modello:jpox</td>
<td>Generates classes in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> to read/store the model in a database using <a href="http://www.jpox.org/" target="_blank">JPox</a>.</td>
</tr>
<tr>
<td><a name="modello:jpox-jdo-mapping"></a>modello:jpox-jdo-mapping</td>
<td>Generates in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> the JOD mapping for <a href="http://www.jpox.org/" target="_blank">JPox</a> (<code>package.jdo</code>).</td>
</tr>
<tr>
<td><a name="modello:jpox-metadata-class"></a>modello:jpox-metadata-class</td>
<td>Generates in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> MetaData class for <a href="http://www.jpox.org/" target="_blank">JPox</a>.</td>
</tr>
<tr>
<td><a name="modello:jpox-store"></a>modello:jpox-store</td>
<td>Generates in the directory <a href="properties.html"><code>${maven.modello.java.targetDirectory}</code></a> the <a href="http://www.jpox.org/" target="_blank">JPox</a> code to do the persistence of the model in a DB.</td>
</tr>
<tr>
<th colspan="2">Documentation and validation</th>
</tr>
<tr>
<td><a name="modello:xsd"></a>modello:xsd</td>
<td>Generates an XML Schema in the directory <a href="properties.html"><code>${maven.modello.xsd.targetDirectory}</code></a> for the xml file used to store the model.</td>
</tr>
<tr>
<td><a name="modello:xdoc"></a>modello:xdoc</td>
<td>Generates a xdoc file in the directory <a href="properties.html"><code>${maven.modello.xdoc.targetDirectory}</code></a> to document the model.</td>
</tr>
</tbody>
</table>
</section>
</body>
</document>