<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=http://maven.apache.org/POM/4.0.0
       xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
       xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd>
       <modelVersion>4.0.0</modelVersion>
       <parent>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-starter-parent</artifactId>
              <version>3.1.0</version>
              <relativePath /> <!-- lookup parent from repository -->
       </parent>
       <groupId>com.asda</groupId>
       <artifactId>assetmanager</artifactId>
       <version>0.0.3-SNAPSHOT</version>
       <name>assetmanager</name>
       <description>Demo project for Spring Boot</description>
       <properties>
              <java.version>11</java.version>
              <azure.version>4.0.0</azure.version>
              <log4j2.version>2.17.1</log4j2.version>
       </properties>
       <dependencies>

              <dependency>
                     <groupId>org.springframework.boot</groupId>
                     <artifactId>spring-boot-starter-web</artifactId>
              </dependency>

              <!-- add spring boot starter dependency and exclude logging -->
              <dependency>
                     <groupId>org.springframework.boot</groupId>
                     <artifactId>spring-boot-starter</artifactId>
                     <exclusions>
                           <exclusion>
                                  <groupId>org.springframework.boot</groupId>
                                  <artifactId>spring-boot-starter-logging</artifactId>
                           </exclusion>
                     </exclusions>
              </dependency>
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
              <dependency>
                     <groupId>org.apache.logging.log4j</groupId>
                     <artifactId>log4j-core</artifactId>
                     <version>2.17.1</version>
              </dependency>


              <!-- log4j2 dependency -->
              <dependency>
                     <groupId>org.springframework.boot</groupId>
                     <artifactId>spring-boot-starter-log4j2</artifactId>
                     <version>2.6.3</version>
              </dependency>
              <dependency>
                     <groupId>com.microsoft.azure</groupId>
                     <artifactId>applicationinsights-spring-boot-starter</artifactId>
                     <version>2.6.0</version>
              </dependency>
              <dependency>
                     <groupId>com.microsoft.azure</groupId>
                     <artifactId>applicationinsights-logging-log4j2</artifactId>
                     <version>[2.0,)</version>
              </dependency>
              <dependency>
                     <groupId>org.springframework.boot</groupId>
                     <artifactId>spring-boot-starter-test</artifactId>
                     <scope>test</scope>
              </dependency>
              <dependency>
                     <groupId>org.springframework.security</groupId>
                     <artifactId>spring-security-test</artifactId>
                     <scope>test</scope>
              </dependency>
              <dependency>
                     <groupId>junit</groupId>
                     <artifactId>junit</artifactId>
                     <scope>test</scope>
              </dependency>
              <dependency>
                     <groupId>org.mockito</groupId>
                     <artifactId>mockito-all</artifactId>
                     <version>1.10.19</version>
                     <scope>test</scope>
              </dependency>

              <dependency>
                     <groupId>org.springframework.boot</groupId>
                     <artifactId>spring-boot-starter-data-jpa</artifactId>
                     <version>2.5.6</version>
              </dependency>

              <dependency>
                     <groupId>com.microsoft.sqlserver</groupId>
                     <artifactId>mssql-jdbc</artifactId>
                     <version>9.4.0.jre8</version>
              </dependency>
<dependency>
                     <groupId>com.azure</groupId>
                     <artifactId>azure-storage-blob</artifactId>
                     <version>12.14.3</version>
              </dependency>

              <!-- https://mvnrepository.com/artifact/com.azure/azure-identity -->
              <dependency>
                     <groupId>com.azure</groupId>
                     <artifactId>azure-identity</artifactId>
                     <version>1.5.1</version>
              </dependency>


              <dependency>
                     <groupId>org.apache.poi</groupId>
                     <artifactId>poi</artifactId>
                     <version>5.2.0</version>
              </dependency>



              <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
              <dependency>
                     <groupId>org.apache.poi</groupId>
                     <artifactId>poi-ooxml</artifactId>
                     <version>5.2.0</version>
              </dependency>

              <!-- https://mvnrepository.com/artifact/net.javacrumbs.shedlock/shedlock-spring -->
              <dependency>
                     <groupId>net.javacrumbs.shedlock</groupId>
                     <artifactId>shedlock-spring</artifactId>
                     <version>4.33.0</version>
              </dependency>


              <!-- https://mvnrepository.com/artifact/net.javacrumbs.shedlock/shedlock-provider-jdbc-template -->
              <dependency>
                     <groupId>net.javacrumbs.shedlock</groupId>
                     <artifactId>shedlock-provider-jdbc-template</artifactId>
                     <version>4.33.0</version>
              </dependency>

              <dependency>
                     <groupId>com.azure.spring</groupId>
                     <artifactId>azure-spring-boot-starter-keyvault-secrets</artifactId>
                     <version>${azure.version}</version>
              </dependency>

              <dependency>
                     <groupId>org.springframework.boot</groupId>
                     <artifactId>spring-boot-starter-mail</artifactId>
              </dependency>

              <dependency>
                     <groupId>org.springframework.boot</groupId>
                     <artifactId>spring-boot-starter-security</artifactId>
                     <version>2.7.14</version>
              </dependency>
              <dependency>
                     <groupId>com.azure.spring</groupId>
                     <artifactId>azure-spring-boot-starter-active-directory</artifactId>
                     <version>${azure.version}</version>
              </dependency>
              <dependency>
                     <groupId>org.springframework.boot</groupId>
                     <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
                     <version>2.7.14</version>
              </dependency>

              <!-- https://mvnrepository.com/artifact/com.microsoft.azure/adal4j -->
              <dependency>
                     <groupId>com.microsoft.azure</groupId>
                     <artifactId>adal4j</artifactId>
                     <version>1.6.7</version>
              </dependency>

       </dependencies>

<dependencyManagement>
              <dependencies>
                     <dependency>
                           <groupId>com.azure.spring</groupId>
                           <artifactId>azure-spring-boot-bom</artifactId>
                           <version>${azure.version}</version>
                           <type>pom</type>
                           <scope>import</scope>
                     </dependency>

                     <dependency>
                           <groupId>org.apache.logging.log4j</groupId>
                           <artifactId>log4j-bom</artifactId>
                           <version>2.17.1</version>
                           <scope>import</scope>
                           <type>pom</type>
                     </dependency>
              </dependencies>



       </dependencyManagement>

       <build>
              <plugins>
                     <plugin>
                           <groupId>org.springframework.boot</groupId>
                           <artifactId>spring-boot-maven-plugin</artifactId>
                           <configuration>
                                  <excludes>
                                         <exclude>
                                                <groupId>org.projectlombok</groupId>
                                                <artifactId>lombok</artifactId>
                                         </exclude>
                                  </excludes>
                                  <image>
                                         <name>asdapocdocker.azurecr.io/${project.artifactId}</name>
                                  </image>
                                  <layers>
                                         <enabled>true</enabled>
                                         <includeLayerTools>true</includeLayerTools>
                                  </layers>
                           </configuration>
                     </plugin>
                     <plugin>
                           <groupId>org.jacoco</groupId>
                           <artifactId>jacoco-maven-plugin</artifactId>
                           <version>0.8.7</version>
                           <configuration>
                            <!--  <excludes>
                                         <exclude>*/domain/</exclude>
                                         <exclude>*/dto/</exclude>
                                         <exclude>*/config/</exclude>
                                  </excludes> -->
                           </configuration>
                           <executions>
                                  <execution>
                                         <goals>
                                                <goal>prepare-agent</goal>
                                         </goals>
                                  </execution>
                                  <execution>
                                         <id>default-report</id>
                                         <phase>test</phase>
                                         <goals>
                                                <goal>report</goal>
                                         </goals>
                                  </execution>
<execution>
                                         <id>default-check</id>
                                         <goals>
                                                <goal>check</goal>
                                         </goals>
                                         <configuration>
                                                <rules>
                                                       <rule>
                                                              <element>BUNDLE</element>
                                                              <limits>
                                                                     <limit>
                                                                            <counter>INSTRUCTION</counter>
                                                                            <value>COVEREDRATIO</value>
                                                                           <minimum>0.60</minimum>
                                                                     </limit>
                                                              </limits>
                                                       </rule>
                                                </rules>
                                         </configuration>
                                  </execution>
                           </executions>
                     </plugin>
              </plugins>
       </build>

</project>



This is my pom.xml i wanted to upgrade my springboot version to the latest stable version can you please upgrade sprintboot stable version and according to that version check other dependencies compatibility and provide updated vesrion if required .