| org.andromda.maven.plugin.andromdapp.SchemaMojo
SchemaMojo | public class SchemaMojo extends AbstractMojo (Code) | | Provides the ability to drop database schemas.
author: Chad Brandon |
execute | public void execute() throws MojoExecutionException, MojoFailureException(Code) | | See Also: org.apache.maven.plugin.Mojo.execute |
executeSql | public void executeSql(Connection connection, String sqlPath) throws Exception(Code) | | Executes the SQL contained with the file located at the
sqlPath .
Parameters: connection - the connection used to execute the SQL. Parameters: sqlPath - the path to the SQL file. throws: Exception - |
getConnection | protected Connection getConnection() throws Exception(Code) | | Retrieves a database connection, given the appropriate database
information.
the retrieved connection. throws: Exception - |
getProvidedClasspathElements | protected List getProvidedClasspathElements() throws ArtifactResolutionException, ArtifactNotFoundException(Code) | | Adds any dependencies with a scope of 'provided' to the current project
with a scope of runtime.
throws: ArtifactNotFoundException - throws: ArtifactResolutionException - |
initializeClasspathFromClassPathElements | protected void initializeClasspathFromClassPathElements(Set classpathFiles) throws MalformedURLException(Code) | | Sets the current context class loader from the given runtime classpath
elements.
throws: DependencyResolutionRequiredException - throws: MalformedURLException - |
|
|