package org.codehaus.mojo.modello;

/*
 * Copyright (c) 2004, Codehaus.org
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
 * of the Software, and to permit persons to whom the Software is furnished to do
 * so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

/**
 * @goal java
 *
 * @description Creates java beans from the Modello model.
 *
 * @parameter name="outputDirectory"
 * type="java.lang.String"
 * required="true"
 * validator=""
 * expression="#basedir/target/generated-sources"
 * description=""
 *
 * @parameter name="model"
 * type="java.lang.String"
 * required="required"
 * validator=""
 * expression="#model"
 * description="The modello model file."
 *
 * @parameter name="version"
 * type="java.lang.String"
 * required="required"
 * validator=""
 * expression="#version"
 * description="The modello model version to use."
 *
 * @parameter name="packageWithVersion"
 * type="java.lang.Boolean"
 * required="required"
 * validator=""
 * expression="#packageWithVersion"
 * description="True if the generated package names should include the version."
 *
 * @parameter name="modelloCore"
 * type=""
 * required="required"
 * validator=""
 * expression="#component.org.codehaus.modello.core.ModelloCore"
 * description="Modello component"
 *
 * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
 * @version $Id$
 */
public class ModelloJavaMojo
    extends AbstractModelloGeneratorMojo
{
    protected String getGeneratorType()
    {
        return "java";
    }
}

@@ -1464,32 +1464,28 @@
 * required=%22
-required
+true
 %22%0A * validat
@@ -1622,32 +1622,28 @@
 * required=%22
-required
+true
 %22%0A * validat
@@ -1804,32 +1804,28 @@
 * required=%22
-required
+true
 %22%0A * validat
@@ -2007,24 +2007,20 @@
 quired=%22
-required
+true
 %22%0A * val

o required = true