Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
v16.23.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sualeh committed Nov 24, 2024
1 parent 9af9f6c commit 097d45d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<artifactId>schemacrawler-parent</artifactId>
<groupId>us.fatehi</groupId>
<version>16.22.3</version>
<version>16.23.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>schemacrawler-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<version>16.22.3.2</version>
<version>16.23.1.2</version>
<name>SchemaCrawler Report - Maven Plugin</name>
<inceptionYear>2011</inceptionYear>
<licenses>
Expand Down Expand Up @@ -55,7 +55,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<skip.signing.artifacts>true</skip.signing.artifacts>
<schemacrawler.version>16.22.3</schemacrawler.version>
<schemacrawler.version>16.23.1</schemacrawler.version>
<!-- Properties for Site documentation (may not use period)... -->
<SchemacrawlerVersion>${schemacrawler.version}</SchemacrawlerVersion>
<doxiaVersion>1.11.1</doxiaVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*/
package schemacrawler.tools.integration.maven;

import static us.fatehi.utility.Utility.isBlank;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
Expand All @@ -40,7 +39,9 @@
import org.apache.maven.plugins.annotations.Parameter;
import org.apache.maven.reporting.AbstractMavenReport;
import org.apache.maven.reporting.MavenReportException;
import static us.fatehi.utility.Utility.isBlank;
import schemacrawler.Main;
import schemacrawler.tools.command.text.schema.options.PortableType;

/** Generates a SchemaCrawler report of the database. */
@Mojo(name = "schemacrawler", requiresReports = true, threadSafe = true)
Expand Down Expand Up @@ -297,7 +298,7 @@ private Path executeSchemaCrawler() throws Exception {
argsMap.put("--no-remarks", Boolean.TRUE.toString());
}
if (portablenames) {
argsMap.put("--portable-names", Boolean.TRUE.toString());
argsMap.put("--portable", PortableType.names.name());
}

// Sort command
Expand Down Expand Up @@ -367,8 +368,7 @@ private Path executeSchemaCrawler() throws Exception {
private String getOutputFilename() {
if (outputfile == null || isBlank(outputfile)) {
return String.format("schemacrawler-output.%s", outputformat);
} else {
return Paths.get(outputfile).getFileName().toString();
}
return Paths.get(outputfile).getFileName().toString();
}
}

0 comments on commit 097d45d

Please sign in to comment.