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

Commit 097d45d

Browse files
committed
v16.23.1
1 parent 9af9f6c commit 097d45d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<parent>
66
<artifactId>schemacrawler-parent</artifactId>
77
<groupId>us.fatehi</groupId>
8-
<version>16.22.3</version>
8+
<version>16.23.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111
<artifactId>schemacrawler-maven-plugin</artifactId>
1212
<packaging>maven-plugin</packaging>
13-
<version>16.22.3.2</version>
13+
<version>16.23.1.2</version>
1414
<name>SchemaCrawler Report - Maven Plugin</name>
1515
<inceptionYear>2011</inceptionYear>
1616
<licenses>
@@ -55,7 +55,7 @@
5555
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5656
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
5757
<skip.signing.artifacts>true</skip.signing.artifacts>
58-
<schemacrawler.version>16.22.3</schemacrawler.version>
58+
<schemacrawler.version>16.23.1</schemacrawler.version>
5959
<!-- Properties for Site documentation (may not use period)... -->
6060
<SchemacrawlerVersion>${schemacrawler.version}</SchemacrawlerVersion>
6161
<doxiaVersion>1.11.1</doxiaVersion>

src/main/java/schemacrawler/tools/integration/maven/SchemaCrawlerMojo.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
*/
2020
package schemacrawler.tools.integration.maven;
2121

22-
import static us.fatehi.utility.Utility.isBlank;
2322
import java.io.File;
2423
import java.io.IOException;
2524
import java.nio.file.Files;
@@ -40,7 +39,9 @@
4039
import org.apache.maven.plugins.annotations.Parameter;
4140
import org.apache.maven.reporting.AbstractMavenReport;
4241
import org.apache.maven.reporting.MavenReportException;
42+
import static us.fatehi.utility.Utility.isBlank;
4343
import schemacrawler.Main;
44+
import schemacrawler.tools.command.text.schema.options.PortableType;
4445

4546
/** Generates a SchemaCrawler report of the database. */
4647
@Mojo(name = "schemacrawler", requiresReports = true, threadSafe = true)
@@ -297,7 +298,7 @@ private Path executeSchemaCrawler() throws Exception {
297298
argsMap.put("--no-remarks", Boolean.TRUE.toString());
298299
}
299300
if (portablenames) {
300-
argsMap.put("--portable-names", Boolean.TRUE.toString());
301+
argsMap.put("--portable", PortableType.names.name());
301302
}
302303

303304
// Sort command
@@ -367,8 +368,7 @@ private Path executeSchemaCrawler() throws Exception {
367368
private String getOutputFilename() {
368369
if (outputfile == null || isBlank(outputfile)) {
369370
return String.format("schemacrawler-output.%s", outputformat);
370-
} else {
371-
return Paths.get(outputfile).getFileName().toString();
372371
}
372+
return Paths.get(outputfile).getFileName().toString();
373373
}
374374
}

0 commit comments

Comments
 (0)