I have the following issue in maven project
Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:3.1.11 from/to central (https://repo.maven.apache.org/maven2): Permission denied:
I can access the repo https://repo.maven.apache.org/maven2 from my browser.
My POM file:
4.0.0
org.springframework.boot
spring-boot-starter-parent
3.1.11
com.iso8583
iso8583
0.0.1-SNAPSHOT
war
iso8583
CRUD Rest API for ISO8583 implementation
<java.version>17</java.version>
org.springframework.boot
spring-boot-starter-data-jpa
org.springframework.boot
spring-boot-starter-web
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<builder>paketobuildpacks/builder-jammy-base:latest</builder>
</image>
</configuration>
</plugin>
</plugins>
</build>
Tried to build my project but no luck!