Вот как у меня настроен файл settings.xml в папке .m2:
Вот как я вижу выполнение команды при попытке установить пакеты из IntellijIdea:
Код: Выделить всё
"C:\Program Files\Java\jdk-17.0.3\bin\java.exe" -Dmaven.multiModuleProjectDirectory=C:\Users\E10697\Desktop\Trabajo-New\AMBIENTES\DEV\GITLAB\Microservicios\ms-bss-userprofile -Djansi.passthrough=true -Dhttp.proxyHost=10.162.64.36 -Dhttp.proxyPort=8080 -Dhttps.proxyHost=10.162.64.36 -Dhttps.proxyPort=8080 -Dmaven.home=C:\Users\E10697\.m2\wrapper\dists\apache-maven-3.6.3-bin\1iopthnavndlasol9gbrbg6bf2\apache-maven-3.6.3 -Dclassworlds.conf=C:\Users\E10697\.m2\wrapper\dists\apache-maven-3.6.3-bin\1iopthnavndlasol9gbrbg6bf2\apache-maven-3.6.3\bin\m2.conf "-Dmaven.ext.class.path=C:\Program Files\JetBrains\IntelliJ IDEA 2023.2.4\plugins\maven\lib\maven-event-listener.jar" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2023.2.4\lib\idea_rt.jar=58688:C:\Program Files\JetBrains\IntelliJ IDEA 2023.2.4\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\E10697\.m2\wrapper\dists\apache-maven-3.6.3-bin\1iopthnavndlasol9gbrbg6bf2\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;C:\Users\E10697\.m2\wrapper\dists\apache-maven-3.6.3-bin\1iopthnavndlasol9gbrbg6bf2\apache-maven-3.6.3\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2024.1.4 -DskipTests=true install
Код: Выделить всё
*[ERROR] Failed to execute goal on project user-profile: Could not resolve dependencies for project org.tmve.customer:user-profile:jar:1.0.34-DEV: Failed to collect dependencies at tmve:encryption-library:jar:1.0.0: Failed to read artifact descriptor for tmve:encryption-library:jar:1.0.0: Could not transfer artifact tmve:encryption-library:pom:1.0.0 from/to nexus-repo-np (http://10.164.5.37:8081/repository/maven-releases/): proxy authentication failed for http://10.164.5.37:8081/repository/maven-releases/tmve/encryption-library/1.0.0/encryption-library-1.0.0.pom, status: 407 Proxy Authentication Required -> [Help 1]*
Код: Выделить всё
[ERROR] Failed to execute goal on project user-profile: Could not resolve dependencies for project org.tmve.customer:user-profile:jar:1.0.34-DEV: Failed to collect dependencies at tmve:encryption-library:j
ar:1.0.0: Failed to read artifact descriptor for tmve:encryption-library:jar:1.0.0: Could not transfer artifact tmve:encryption-library:pom:1.0.0 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [nexus-repo-np (http://10.164.5.37:8081/repository/maven-releases/, default, releases+snapshots)] -> [Help 1]
Подробнее здесь: https://stackoverflow.com/questions/790 ... rate-proxy