Closed joe776 closed 6 years ago
@joe776 did you found a way to use this plugin?
Unfortunately not. We ended up writing a small shell script which is run during the Maven build.
Can you share it? Thanks
Basically the one already provided with SchemaCrawler, with some custom adjustments: https://github.com/schemacrawler/SchemaCrawler/blob/master/schemacrawler-distrib/src/assembly/schemacrawler.sh Then just call it with the maven-exec-plugin.
Please take a look at the example code in schemacrawler/SchemaCrawler-Report-Maven-Plugin-Usage-Example
I'm pretty lost why the exception occurs. Also I'm confused on how I have to use and configure the plugin, as both parts shown in the "Goal" and "Usage" sections of the documentation seem to be incomplete (Goal does not show any configuration, Usage does not show the reporting part described in Goal). Furthermore I have to add the configuration directly when also declaring the dependencies to the JDBC driver, otherwise SchemaCrawler complains about the configuration being missing. One complete example of a POM would be very helpful.
This is the full exception stacktrace:
The relevant parts of the POM look like this: