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