schemacrawler / SchemaCrawler-Report-Maven-Plugin

Generate SchemaCrawler reports for Maven generated project websites
Eclipse Public License 2.0
8 stars 6 forks source link

How to generate diagram with schemacrawler-maven-plugin? #1

Closed schemacrawler closed 9 years ago

schemacrawler commented 9 years ago

From @jeffjensen on September 20, 2015 16:29

I am struggling to find the correct configuration between pom and property files to generate a diagram. Is it possible to do so or is the Maven plugin not able to generate the diagram?

I'm using these versions:

<groupId>net.sourceforge.schemacrawler</groupId>
<artifactId>schemacrawler-maven-plugin</artifactId>
<version>9.5</version>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler</artifactId>
<version>12.06.03</version>        (the latest version I found that works with Java 7)

Copied from original issue: sualeh/SchemaCrawler#11

schemacrawler commented 9 years ago

Jeff, unfortunately I am not maintaining the SchemaCrawler Maven Plugin too much, and it is a separate project from this one. Please check if you can execute SchemaCrawler as a Java process from your Maven project. If you can, then I would love it if you can share what you find. Otherwise, I can certainly use your help on the SchemaCrawler Maven Plugin, if you are so inclined.

schemacrawler commented 9 years ago

From @jeffjensen on September 22, 2015 19:4

Currently, it looks like the plugin correctly runs SchemaCrawler, but the resulting PNG is in the generated page as file contents vs an image (looks like gibberish characters).

I hope to have some time soon to try what you suggest. Improving the plugin is ideal, but using exec may work well enough.

schemacrawler commented 9 years ago

Try using the htmlx output format. I will take a look at the plugin code when I get a chance.

schemacrawler commented 9 years ago

From @jeffjensen on September 23, 2015 3:32

Thanks for the tip. Your suggestion goes directly to my original question: I don't know where to specify the output format for the plugin.

schemacrawler commented 9 years ago

@jeffjensen, I have moved this issue to a new repository for the SchemaCrawler Report Maven Plugin.

jeffjensen commented 9 years ago

Thank you!

schemacrawler commented 9 years ago

Jeff, I have released an updated version of the SchemaCrawler Report Maven Plugin. It requires Java 8, and uses SchemaCrawler 14.03.03 by default. It has a new groupId, "us.fatehi", to be consistent with the main SchemaCrawler jar. The plugin now supports "outputformat", and can generate image files. You can find it on Maven Central. Please try it out, and let me know.

DanielFran commented 6 years ago

@jeffjensen @schemacrawler Any example how to use this plugin?