@@ -50,7 +50,7 @@ nexusPublishing {
5050// start - define tasks to download, unzip, and generate from opentelemetry/semantic-conventions
5151// Using image built from feature branch: https://github.com/open-telemetry/build-tools/tree/feature/codegen-by-namespace
5252// TODO: upgrade to official release when features are incorporated into main
53- var generatorVersion = " feature-codegen-by-namespace "
53+ var generatorVersion = " 0.24.0 "
5454val semanticConventionsRepoZip = " https://github.com/open-telemetry/semantic-conventions/archive/v$semanticConventionsVersion .zip"
5555val schemaUrl = " https://opentelemetry.io/schemas/$semanticConventionsVersion "
5656
@@ -93,7 +93,7 @@ fun generateTask(taskName: String, incubating: Boolean) {
9393 " -v" , " $projectDir /$outputDir :/output" ,
9494 " otel/semconvgen:$generatorVersion " ,
9595 " --yaml-root" , " /source" ,
96- " --strict- validation" , " false " ,
96+ " --continue-on- validation-errors " , " compatibility " ,
9797 " code" ,
9898 " --template" , " /templates/SemanticAttributes.java.j2" ,
9999 " --output" , " /output/{{pascal_prefix}}${classPrefix} Attributes.java" ,
0 commit comments