From e8bcd955ce759b9cbb72b0d5664f107800611569 Mon Sep 17 00:00:00 2001 From: David Scourfield Date: Mon, 15 Aug 2022 11:29:53 +0100 Subject: [PATCH 1/2] Do not split on spaces for properties which take a comma-separated list of values --- .../src/main/java/com/backbase/oss/boat/GenerateMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boat-maven-plugin/src/main/java/com/backbase/oss/boat/GenerateMojo.java b/boat-maven-plugin/src/main/java/com/backbase/oss/boat/GenerateMojo.java index dc2009bf2..bda698604 100644 --- a/boat-maven-plugin/src/main/java/com/backbase/oss/boat/GenerateMojo.java +++ b/boat-maven-plugin/src/main/java/com/backbase/oss/boat/GenerateMojo.java @@ -81,7 +81,7 @@ public class GenerateMojo extends InputMavenArtifactMojo { private static String trimCSV(String text) { if (isNotEmpty(text)) { - return stream(text.split("[,;\\s]+")) + return stream(text.split("[,;]+")) .map(StringUtils::trimToNull) .filter(Objects::nonNull) .collect(joining(",")); From 715f548f44f7497e6193b3bc1c7440ce52822322 Mon Sep 17 00:00:00 2001 From: David Scourfield Date: Mon, 15 Aug 2022 17:30:25 +0100 Subject: [PATCH 2/2] Update release notes in README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index e06e7d980..fe14292f8 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,10 @@ The project is very much Work In Progress and will be published on maven central # Release Notes BOAT is still under development and subject to change. +## 0.16.3 +* *Maven Plugin* + * Do not treat spaces as delimiters in configuration properties which take a comma-separated list of values. + Fixes an issue that prevented the use of tag names containing spaces in the `apisToGenerate` property. ## 0.16.2 * Boat Angular generator * Specify minimum Angular-related package versions when Angular v13 is used