Description
It appears that the JSON patch (SAMZA-197) has broken builds for Scala 2.9.2:
$ ./gradlew -PscalaVersion=2.9.2 clean test && ./gradlew clean test The TaskContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead. :samza-api:clean :samza-core_2.9.2:clean :samza-kafka_2.9.2:clean :samza-kv_2.9.2:clean :samza-serializers_2.9.2:clean :samza-shell:clean :samza-test_2.9.2:clean :samza-yarn_2.9.2:clean :samza-api:compileJava :samza-api:processResources UP-TO-DATE :samza-api:classes :samza-api:compileTestJava :samza-api:processTestResources UP-TO-DATE :samza-api:testClasses :samza-api:test :samza-api:jar :samza-core_2.9.2:compileJava UP-TO-DATE :samza-core_2.9.2:compileScala [ant:scalac] /Users/criccomi/Code/incubator-samza/samza-core/src/main/scala/org/apache/samza/util/Util.scala:150: error: object beans is not a member of package scala [ant:scalac] private class SSPWrapper(@scala.beans.BeanProperty var partition:java.lang.Integer = null, [ant:scalac] ^ [ant:scalac] /Users/criccomi/Code/incubator-samza/samza-core/src/main/scala/org/apache/samza/util/Util.scala:151: error: object beans is not a member of package scala [ant:scalac] @scala.beans.BeanProperty var Stream:java.lang.String = null, [ant:scalac] ^ [ant:scalac] /Users/criccomi/Code/incubator-samza/samza-core/src/main/scala/org/apache/samza/util/Util.scala:152: error: object beans is not a member of package scala [ant:scalac] @scala.beans.BeanProperty var System:java.lang.String = null) { [ant:scalac] ^ [ant:scalac] three errors found :samza-core_2.9.2:compileScala FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':samza-core_2.9.2:compileScala'. > Compile failed with 3 errors; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED