The method escapeWindowsPath() is replacing colon by backslash + colon.
is escaped as
But windows doesn't recognize that. If you try to open D\:
temp on explorer, will not work.
Even java.io.File is not able to handle that too. The attached test proves it.
I'm not sure why this backslash was add to colon, but commenting line 44 of org.apache.maven.shared.filtering.FilteringUtils make the test work.
|Field||Original Value||New Value|
|Affects Version/s||2.3 [ 12622 ]|
|Fix Version/s||maven-filtering-1.0 [ 14631 ]|
|Component/s||maven-filtering [ 13380 ]|
|Fix Version/s||maven-filtering-1.0-beta-3 [ 14631 ]|
|Fix Version/s||maven-filtering-1.0-beta-4 [ 14861 ]|
|Assignee||Olivier Lamy [ olamy ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Fixed [ 1 ]|