schemacrawler / SchemaCrawler-Report-Maven-Plugin

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

Configure output file #5

Closed dmatej closed 4 years ago

dmatej commented 4 years ago

I use this profile to get the image of the database schema, but whatever output format I configure, the file is named always schemacrawler.html - depsite it's content is a PDF. Same with SVG. I would like to configure output file or at least filename in combination with the existing outputDirectory property.

        <profile>
            <id>schema</id>
            <build>
                <defaultGoal>process-resources us.fatehi:schemacrawler-maven-plugin:schemacrawler</defaultGoal>
                <plugins>
                    <plugin>
                        <groupId>us.fatehi</groupId>
                        <artifactId>schemacrawler-maven-plugin</artifactId>
                        <version>16.9.3</version>
                        <configuration>
                            <outputformat>pdf</outputformat>
                            <command>details</command>
                            <schemas>public</schemas>
                            <sequences>none</sequences>
                            <noinfo>false</noinfo>
                            <infolevel>maximum</infolevel>
                            <user>${postgres.user}</user>
                            <password>${postgres.password}</password>
                            <url>${postgres.url}</url>
                            <portablenames>true</portablenames>
                            <outputDirectory>${project.build.directory}</outputDirectory>
                        </configuration>
                        <dependencies>
                            <dependency>
                                <groupId>org.postgresql</groupId>
                                <artifactId>postgresql</artifactId>
                                <version>42.2.12</version>
                            </dependency>
                        </dependencies>
                    </plugin>
                </plugins>
            </build>
        </profile>
sualeh commented 4 years ago

@dmatej - please SchemaCrawler Report Maven Plugin v16.9.3-2