diff --git a/server/src/main/java/com/octopus/teamcity/opentelemetry/server/TeamCityBuildListener.java b/server/src/main/java/com/octopus/teamcity/opentelemetry/server/TeamCityBuildListener.java index 979f30f..b98d47a 100644 --- a/server/src/main/java/com/octopus/teamcity/opentelemetry/server/TeamCityBuildListener.java +++ b/server/src/main/java/com/octopus/teamcity/opentelemetry/server/TeamCityBuildListener.java @@ -29,6 +29,7 @@ public class TeamCityBuildListener extends BuildServerAdapter { private static final String ENDPOINT = TeamCityProperties.getProperty(PluginConstants.PROPERTY_KEY_ENDPOINT); @Autowired + @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection") public TeamCityBuildListener(EventDispatcher buildServerListenerEventDispatcher) { buildServerListenerEventDispatcher.addListener(this); Loggers.SERVER.info("OTEL_PLUGIN: OTEL_PLUGIN: BuildListener registered.");