I am looking to use Azure SDK in my Spring Boot app.
This is the repo URLin my POM file : http://maven.apache.org/maven2
I am not getting to add Azure dependency to the file. I have found the BOM file:https://repo.maven.apache.org/maven2/com/azure/azure-sdk-bom/
It does not work in my case.
More precisely, the storage dependency is not working (cannot find) The BOM dependency works but I cannot download any dependency inside.
Below is a preview of my pom file.
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.test</groupId>
<artifactId>tesrt</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
<name>tesrt</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jbcrypt.version>0.4</jbcrypt.version>
<java.version>1.8</java.version>
</properties>
<profiles>
<profile>
<id>dev</id>
<properties>
<activatedProperties>dev</activatedProperties>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<activatedProperties>prod</activatedProperties>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
</profiles>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.4.RELEASE</version>
</parent>
<dependencies>
<!-- AZURE SDK-->
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-queue</artifactId>
<version>12.3.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-sdk-bom</artifactId>
<version>1.0.4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.2.4.RELEASE</version>
</dependency>
<dependency>
<groupId>com.twilio.sdk</groupId>
<artifactId>twilio</artifactId>
<version>7.47.3</version>
</dependency>
I have another problem in the BOM file:
It says the following cannot be found:
<plugin>
<groupId>net.jonathangiles.tools</groupId>
<artifactId>dependencyChecker-maven-plugin</artifactId>
<version>1.0.6</version>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>