org.codehaus.mojo.sqlj.AbstractSqljMojo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlj-maven-plugin Show documentation
Show all versions of sqlj-maven-plugin Show documentation
A wrapper around the sqlj.tools.Sqlj SQLJ Translator.
The newest version!
package org.codehaus.mojo.sqlj;
import java.io.File;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugins.annotations.Parameter;
/**
* Common superclass for sharing configuration attributes.
*
* @author karltdav
*/
public abstract class AbstractSqljMojo
extends AbstractMojo
{
/**
* Location for generated source files.
*/
@Parameter( property = "sqlj.generatedSourcesDirectory", defaultValue = "${project.build.directory}/generated-sources/sqlj" )
private File generatedSourcesDirectory;
/**
* Location for generated .ser files.
*/
@Parameter( property = "sqlj.generatedResourcesDirectory", defaultValue = "${project.build.directory}/generated-resources/sqlj" )
private File generatedResourcesDirectory;
protected File getGeneratedSourcesDirectory()
{
return generatedSourcesDirectory;
}
protected File getGeneratedResourcesDirectory()
{
return generatedResourcesDirectory;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy