Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Maven 3.3.9, Java 8
Description
I started with the following cdbimport configuration in pom.xml:
<catalog> <name>c1</name> <includeTable> <pattern>table1</pattern> <excludeColumn>.*XYZ</excludeColumn> </includeTable> <includeTables> <pattern>table2</pattern> <pattern>table3</pattern> </includeTables> </catalog>
It mostly worked, except "excludeColumn" spec was ignored. I changed this to this (replacing one "includeTables" with multiple "includeTable" tags) :
<catalog> <name>c1</name> <includeTable> <pattern>table1</pattern> <excludeColumn>.*XYZ</excludeColumn> </includeTable> <includeTable>table2</includeTable> <includeTable>table3</includeTable> </catalog>
And now everything started working. So we should either fix this scenario. Or even better - disallow plural tags (such as "includeTables") ...
Is plural tag support automatically added by Maven, or is this our code?
Attachments
Issue Links
- is part of
-
CAY-2216 cdbimport: reduce configuration variants
- Closed