Reason of OS=Windows and the assembly descriptor contains
This error (OS=Windows and the assembly descriptor contains) may occur during Maven build. The reason is simple and this is due wrong path in <outputDirectory> section in assembly config XML" file.
Basically this error occurs when you are trying to build project that is compatible with Linux on Windows" 🙂
Solution
Change path in <outputDirectory> to correct value. Please find the example below. In most cases the “./” (dot and slash) before path will resolve problem.
<fileSets> <fileSet> <directory>${project.basedir}</directory> <outputDirectory>./</outputDirectory> <includes> <include>*/include> </includes> </fileSet> </fileSets>
Could You Please Share This Post?
I appreciate It And Thank YOU! :)
Have A Nice Day!