so im setting up my backend IDE using vscode then i run 'mvn clean install' on cmd but it turned out build failure with this message:
[INFO] BUILD FAILURE
[INFO] Total time: 02:02 h'
[INFO] Finished at: 2025-01-20T15:07:31+07:00'
[ERROR] No plugin found for prefix 'dependency' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\u0XXXXX.m2\repository), artifactory (/), RepositoryDevOps (/), libs-release-local (/), maven-all (/)] - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
this is pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns=".0.0" xmlns:xsi="; xsi:schemaLocation=".0.0 .0.0.xsd">
<modelVersion> 4.0.0 </modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.4</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.example</groupId>
<artifactId>ARTIFACTXXXX</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>ARTIFACTNAME</name>
<description>BACKEND PROJECT X </description>
<properties>
<java.version>17</java.version>
</properties>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web-services</artifactId>
</dependency>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</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>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.9.9</version>
</plugin>
</plugins>
</build>
and this is the settings.xml in m2
<settings>
<proxies>
<!-- Proxy defined by NetBeans IDE -->
<proxy>
<id>netbeans-default-proxy</id>
<active>true</active>
<protocol>http</protocol>
<host>proxyint.intra.bca.co.id</host>
<port>8080</port>
</proxy>
<proxy>
<id>netbeans-default-proxy</id>
<active>false</active>
<protocol>http</protocol>
<host>proxyint.intra.bca.co.id</host>
<port>8,080</port>
<!-- Proxy exclusion list: separate by pipe-symbol, e.g.
127.0.0.8|localhost -->
<nonProxyHosts>localhost|127.0.0.0/8|localhost.localdomain|127.0.0.1|
[::1]</nonProxyHosts>
</proxy>
</proxies>
</settings>
This is the settings in apache/conf
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns=".1.0"
xmlns:xsi=";
xsi:schemaLocation=".1.0
.1.0.xsd">
<pluginGroups>
</pluginGroups>
<proxies>
</proxies>
<servers>
<server>
</server>
</servers>
<mirrors>
<mirror>
<id>maven-all</id>
<mirrorOf>central</mirrorOf>
<name>artifactory</name>
<url>
all/</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>libs-release-local</id>
<repositories>
<repository>
<id>libs-release-local</id>
<name>libs-release-local</name> <url>/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>libs-release-local</id>
<name>libs-release-local</name>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots> <url>/</url>
<layout>default</layout>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>RepositoryDevOps</id>
<repositories>
<repository>
<id>RepositoryDevOps</id>
<name>RepositoryDevOps</name> <url>/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>RepositoryDevOps</id>
<name>RepositoryDevOps</name>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots> <url>/</url>
<layout>default</layout>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>maven-all</id>
<repositories>
<repository>
<id>artifactory</id>
<name>artifactory</name> <url>/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>artifactory</id>
<name>artifactory</name>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots> <url>/</url>
<layout>default</layout>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>maven-all</activeProfile>
<activeProfile>RepositoryDevOps</activeProfile>
<activeProfile>libs-release-local</activeProfile>
</activeProfiles>
does anyone has the same experience or how to solve it?, thanks in advance.