Service build failure due to maven version
Service builds are failing due to API incompatibility which typically happens when we refer to classes compiled in a higher version of Java and we using a lower version of Java runtime
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.0.0:build-info (build-info) on project os-schema: Execution build-info of goal org.springframework.boot:spring-boot-maven-plugin:3.0.0:build-info failed: Unable to load the mojo 'build-info' in the plugin 'org.springframework.boot:spring-boot-maven-plugin:3.0.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/springframework/boot/maven/BuildInfoMojo has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
This commit fixed the issue in azure/m12-master branch in notification service. Similar fix we have to propagate in master branch for all the OSDU services where build are failing due to maven version issue.