Exclude *.bat Files from Maven Filtering #973
Labels
bug
Something isn't working
good first issue
Good for newcomers
mvn
related to apache maven build tool
When using Maven filtering,
*.bat
files variables are being incorrectly processed, causing variables to not be replaced as expected. So variables with$var
vs${var}
syntax (see default delimiters) are replaced differntly by the filtering. In our case, the variable${file}
is used by Maven Filtering as well. So when maven filtering does not have the variable${«variable-name»}
defined, it will not resolve that variable syntax in the filtered file.The proper fix would be to exclude *.bat from filtering and include to non-filtered copying here:
IDEasy/cli/pom.xml
Lines 160 to 175 in 58fd72a
The text was updated successfully, but these errors were encountered: