-
Bug
-
Resolution: Won't Do
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
6172
Some innocuous identifiers can lead to maven-bundle-plugin refusing to create the final jar file.
For example:
container con {
}
Leads to:
[ERROR] Bundle <...> : Invalid file/directory names for Windows in JAR: [<...>]. You can set the regular expression used with -invalidfilenames, the default expression is CON(\..)?|PRN(\..)?|AUX(\..)?|CLOCK\$|NUL(\..)?|COM[1-9](\..)?|LPT[1-9](\..)?|\$Mft|\$MftMirr|\$LogFile|\$Volume|\$AttrDef|\$Bitmap|\$Boot|\$BadClus|\$Secure|\$Upcase|\$Extend|\$Quota|\$ObjId|\$Reparse
[ERROR] Error(s) found in bundle configuration
It should be possible to use a less restrictive pattern (after verifying it on Windows).