maven-native
maven-native copied to clipboard
No way to escape a space with mingw provider
Using the generic provider this works:
<compilerStartOptions>
<compilerStartOption>"-DNAME_versie=\"NAME\ v${project.version}\"" "-DBUILD_YEAR=\"${current.year}\"" "-DBUILD_DATE=\"${current.day}\""</compilerStartOption>
</compilerStartOptions>
With the new mingw provider I have to remove the surrounding quotes from the individual quotes:
<compilerStartOptions>
<compilerStartOption>-DNAME_versie=\"NAME\ v${project.version}\" -DBUILD_YEAR=\"${current.year}\" -DBUILD_DATE=\"${current.day}\"</compilerStartOption>
</compilerStartOptions>
But this fails because v${project.version}\"
is passed as a separate argument.
Hi,
I will take a look ASAP. Thanks