Github user zentol commented on the issue: https://github.com/apache/flink/pull/5118 As for failing the build, I don't like that option, even if I find a way to do it. We _do not know_ how such a kill-switch would interact with various IDEs and tools. What we could do however is print a warning if mvn package/install is invoked without specifying the build-jar profile.
---