GeoDienstenCentrum / schemaspy-maven-plugin

Maven reporting plugin for Schemaspy
https://geodienstencentrum.github.io/schemaspy-maven-plugin/
Other
4 stars 3 forks source link

Support running from CLI #200

Closed marcelstoer closed 3 years ago

marcelstoer commented 3 years ago

Expected Behavior

Allow to run and configure the plugin from the command line. Example:

$  mvn nl.geodienstencentrum.maven:schemaspy-maven-plugin:5.1.0:schemaspy -DdatabaseType=pgsql -Dhost=localhost -Dport=5432 -Ddatabase=test -Duser=testuser -Dpassword=testuser -DoutputDirectory=/tmp

Actual Behavior

[ERROR] Failed to execute goal nl.geodienstencentrum.maven:schemaspy-maven-plugin:5.1.0:schemaspy (default-cli) on project myproject: The parameters 'database' for goal nl.geodienstencentrum.maven:schemaspy-maven-plugin:5.1.0:schemaspy are missing or invalid

Required Changes

If I'm not mistaken all @Parameter annotations in SchemaSpyReport.java need a property attribute.

marcelstoer commented 3 years ago

If I'm not mistaken

I wasn't 😄 -> #201

mprins commented 3 years ago

yes, this was not a forseen use case

github-actions[bot] commented 3 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.