Disabled yarn 2.2 in sbt and mvn build and added a message in the sbt build.