You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have setup my sbt file as described in the readme. However, when I do sbt clean compile I get the following output. Please note that I don't see anywhere it logging anything about "antlr". Understandingly enough, my code in src/main/antlr directory isn't getting generated. Almost looks like it doesn't know where the file is..?
[info] Loading global plugins from /Users/mm00180/.sbt/1.0/plugins
[info] Loading project definition from /Users/mm00180/Documents/projects/streaming-team/streaming-platform/project/project
[info] Loading settings from plugins.sbt ...
[info] Loading project definition from /Users/mm00180/Documents/projects/streaming-team/streaming-platform/project
[info] Loading settings from sonatype.sbt,build.sbt ...
[info] Set current project to root (in build file:/Users/mm00180/Documents/projects/streaming-team/streaming-platform/)
[info] Executing in batch mode. For better performance use sbt's shell
[success] Total time: 0 s, completed Dec 3, 2020, 12:33:42 PM
[info] Updating ...
[info] Updating schemaManager...
[info] Done updating.
[info] Done updating.
[warn] Found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[warn] * org.json4s:json4s-native_2.12:3.6.10 is selected over 3.2.11
[warn] +- com.sksamuel.avro4s:avro4s-core_2.12:4.0.1 (depends on 3.6.10)
[warn] +- com.github.massmutual.streaming:schemamanager_2.12:0.1.0-SNAPSHOT (depends on 3.2.11)
[warn] * com.google.guava:guava:28.1-android is selected over {20.0, 27.0.1-android}
[warn] +- com.google.protobuf:protobuf-java-util:3.11.4 (depends on 28.1-android)
[warn] +- io.swagger:swagger-core:1.6.0 (depends on 27.0.1-android)
[warn] +- com.fasterxml.jackson.datatype:jackson-datatype-guava:2.10.2 (depends on 20.0)
[warn] +- com.squareup.wire:wire-schema:3.2.2 (depends on 20.0)
[warn] Run 'evicted' to see detailed eviction warnings
[info] Compiling 4 protobuf files to /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/scala-2.12/src_managed/main
[info] Compiling schema /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/main/protobuf/myRecord.proto
[info] Compiling schema /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/main/protobuf/myRecord_v3.proto
[info] Compiling schema /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/main/protobuf/myRecord_v2.proto
[info] Compiling schema /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/main/protobuf/myRecord_v4.proto
protoc-jar: protoc version: 3.7.1, detected platform: osx-x86_64 (mac os x/x86_64)
[info] Considering source directories /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/test/avro
[info] Compiling AVSC /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/test/avro/orderEventSchema_v5.avsc to /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/scala-2.12/src_managed/test/compiled_avro
protoc-jar: embedded: bin/3.7.1/protoc-3.7.1-osx-x86_64.exe
protoc-jar: executing: [/var/folders/n2/typ8xbq15yxf0gvrn5q756w80000gp/T/protocjar15936569676654868411/bin/protoc.exe, --java_out=:/Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/scala-2.12/src_managed/main, -I/Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/main/protobuf, -I/Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/protobuf_external, -I/Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/main/protobuf, -I/Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/protobuf_external, /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/main/protobuf/myRecord.proto, /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/main/protobuf/myRecord_v3.proto, /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/main/protobuf/myRecord_v2.proto, /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/main/protobuf/myRecord_v4.proto]
/Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/protobuf_external: warning: directory does not exist.
/Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/protobuf_external: warning: directory does not exist.
[info] Compiling protobuf
[info] Protoc target directory: /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/scala-2.12/src_managed/main
[info] Compiling AVSC /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/test/avro/orderEventSchema_v4.avsc to /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/scala-2.12/src_managed/test/compiled_avro
[info] Compiling AVSC /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/test/avro/orderEventSchema_v3.avsc to /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/scala-2.12/src_managed/test/compiled_avro
[info] Compiling AVSC /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/test/avro/orderEventSchema_v2.avsc to /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/scala-2.12/src_managed/test/compiled_avro
[info] Compiling AVSC /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/src/test/avro/orderEventSchema.avsc to /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/scala-2.12/src_managed/test/compiled_avro
[info] Compiling 11 Scala sources and 11 Java sources to /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/scala-2.12/classes ...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by sbt.internal.inc.javac.DiagnosticsReporter$PositionImpl$ (file:/Users/mm00180/.sbt/boot/scala-2.12.6/org.scala-sbt/sbt/1.1.6/zinc-compile-core_2.12-1.1.7.jar) to field com.sun.tools.javac.api.ClientCodeWrapper$DiagnosticSourceUnwrapper.d
WARNING: Please consider reporting this to the maintainers of sbt.internal.inc.javac.DiagnosticsReporter$PositionImpl$
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[info] /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/scala-2.12/src_managed/main/com/github/massmutual/streaming/schemamanager/MyRecord.java: Some input files use or override a deprecated API.
[info] /Users/mm00180/Documents/projects/streaming-team/streaming-platform/modules/SchemaManager/target/scala-2.12/src_managed/main/com/github/massmutual/streaming/schemamanager/MyRecord.java: Recompile with -Xlint:deprecation for details.
[info] Done compiling.
[success] Total time: 12 s, completed Dec 3, 2020, 12:33:55 PM
My build.sbt looks like this. Am I missing something?
lazy val schemaManager = (project in file("modules/SchemaManager"))
.settings(
settings,
name := "SchemaManager",
libraryDependencies ++= {
commonDependencies ++ schemaManagerDeps
},
PB.targets in Compile := Seq(
PB.gens.java -> (sourceManaged in Compile).value
),
// PB.protoSources in Compile := Seq(sourceDirectory.value / "protobuf"),
sourceGenerators in Compile += (avroScalaGenerateSpecific in Compile).taskValue,
sourceGenerators in Compile += (avroScalaGenerateSpecific in Test).taskValue,
antlr4PackageName in Antlr4 := Some("com.github.massmutual.streaming.schemamanager.integration"),
antlr4Version in Antlr4 := "4.8-1",
// unmanagedResourceDirectories in Compile += (sourceDirectory in ProtobufConfig).value
)
//finally just aggregate all the child modules into root
lazy val root = (project in file("."))
.enablePlugins(JavaAppPackaging)
.enablePlugins(DockerPlugin)
.enablePlugins(ClasspathJarPlugin)
.enablePlugins(ProtobufPlugin)
.enablePlugins(Antlr4Plugin)
.aggregate(schemaManager)
.settings(settings)
sbt.version = 1.1.6
The text was updated successfully, but these errors were encountered:
I have setup my sbt file as described in the readme. However, when I do
sbt clean compile
I get the following output. Please note that I don't see anywhere it logging anything about "antlr". Understandingly enough, my code insrc/main/antlr
directory isn't getting generated. Almost looks like it doesn't know where the file is..?My
build.sbt
looks like this. Am I missing something?sbt.version = 1.1.6
The text was updated successfully, but these errors were encountered: