package org.codehaus.mojo.sqlj;

import java.io.File;

import org.apache.maven.plugin.AbstractMojo;

/**
 * 
 * @author karltdav
 *
 */
public abstract class AbstractSqljMojo
    extends AbstractMojo
{
    /**
     * Location for generated source files.
     * 
     * @parameter expression="${sqlj.generatedSourcesDirectory}"
     *            default-value="${project.build.directory}/generated-sources/sqlj"
     * @required
     */
    private File generatedSourcesDirectory;
    
    /**
     * Location for generated .ser files.
     * @parameter expression="${sqlj.generatedResourcesDirectory}"
     *            default-value="${project.build.directory}/generated-resources/sqlj"
     */
    private File generatedResourcesDirectory;
    
   
    protected File getGeneratedSourcesDirectory()
    {
        return generatedSourcesDirectory;
    }
    
    protected File getGeneratedResourcesDirectory()
    {
        return generatedResourcesDirectory;
    }

}

@@ -427,26 +427,8 @@
 j%22%0D%0A
-     * @required%0D%0A
     

set params to optional and be consistent