projects
/
hibernate4-maven-plugin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP
[hibernate4-maven-plugin]
/
src
/
main
/
java
/
de
/
juplo
/
plugins
/
hibernate
/
AbstractSchemaMojo.java
diff --git
a/src/main/java/de/juplo/plugins/hibernate/AbstractSchemaMojo.java
b/src/main/java/de/juplo/plugins/hibernate/AbstractSchemaMojo.java
index
ca6b935
..
71e1250
100644
(file)
--- a/
src/main/java/de/juplo/plugins/hibernate/AbstractSchemaMojo.java
+++ b/
src/main/java/de/juplo/plugins/hibernate/AbstractSchemaMojo.java
@@
-687,7
+687,7
@@
public abstract class AbstractSchemaMojo extends AbstractMojo
{
thread.setContextClassLoader(classLoader);
ExceptionHandlerCollectingImpl handler =
{
thread.setContextClassLoader(classLoader);
ExceptionHandlerCollectingImpl handler =
- build((MetadataImplementor)metadataBuilder.build());
+ build((MetadataImplementor)metadataBuilder.build()
, output
);
if (handler.getExceptions().size() > 0)
{
StringBuilder builder = new StringBuilder();
if (handler.getExceptions().size() > 0)
{
StringBuilder builder = new StringBuilder();
@@
-738,7
+738,10
@@
public abstract class AbstractSchemaMojo extends AbstractMojo
}
}
- abstract ExceptionHandlerCollectingImpl build(MetadataImplementor metadata)
+ abstract ExceptionHandlerCollectingImpl build(
+ MetadataImplementor metadata,
+ File file
+ )
throws
MojoFailureException,
MojoExecutionException;
throws
MojoFailureException,
MojoExecutionException;