Загрузка данных
dmitriev-aal@VDI-Dmitriev-A:~$ sudo docker run --rm \
> registry.rshbdev.ru/appfarm/infra/images/base/java/build/maven-legacy:3.9.12-eclipse-temurin-17-rshb.0.2.0 \
> mvn -version
Unable to find image 'registry.rshbdev.ru/appfarm/infra/images/base/java/build/maven-legacy:3.9.12-eclipse-temurin-17-rshb.0.2.0' locally
3.9.12-eclipse-temurin-17-rshb.0.2.0: Pulling from appfarm/infra/images/base/java/build/maven-legacy
01d7766a2e4a: Pull complete
d10f3ac7b458: Pull complete
1bbcf5688c19: Pull complete
78395afbc5eb: Pull complete
fd88562ce968: Pull complete
9ae2e4a8370e: Pull complete
0315dd7c027c: Pull complete
bea46ab8f938: Pull complete
6c73c7e6cdbd: Pull complete
02a2ab1a3a0b: Pull complete
0b59023ab7cc: Pull complete
cab1189d45bb: Pull complete
07dba37add12: Pull complete
17ace904fb38: Pull complete
e2340e06ab98: Pull complete
Digest: sha256:4d887619b8a5ec24275288c460239ee9572155379571aa173c40fd6881ecba3a
Status: Downloaded newer image for registry.rshbdev.ru/appfarm/infra/images/base/java/build/maven-legacy:3.9.12-eclipse-temurin-17-rshb.0.2.0
Apache Maven 3.9.12 (848fbb4bf2d427b72bdb2471c22fced7ebd9a7a1)
Maven home: /usr/share/maven
Java version: 17.0.18, vendor: Eclipse Adoptium, runtime: /opt/java/openjdk
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-41-generic", arch: "amd64", family: "unix"
dmitriev-aal@VDI-Dmitriev-A:~$ sudo docker run --rm \
> registry.rshbdev.ru/appfarm/infra/images/base/java/build/maven-legacy:3.9.12-eclipse-temurin-17-rshb.0.2.0 \
> mvn dependency:get \
> -Dartifact=ru.consaltica.integration:integration:0.1.1040 \
> -DremoteRepositories=https://nexus.rshbdev.ru/repository/maven-public/
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] 'profiles.profile[default].repositories.repository.id' must not contain any of these characters \/:"<>|?* but found : @ /root/.m2/settings.xml
[WARNING] 'profiles.profile[default].repositories.repository.id' must not contain any of these characters \/:"<>|?* but found : @ /root/.m2/settings.xml
[WARNING]
[INFO] Scanning for projects...
[WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC}): Cannot access ${env.NEXUS_MAVEN_PUBLIC} with type default using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC}): Cannot access ${env.NEXUS_MAVEN_PUBLIC} with type default using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] org.apache.maven.plugins/maven-metadata.xml failed to transfer from ${env.NEXUS_MAVEN_PUBLIC} during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of ${env.NEXUS_MAVEN_PUBLIC_ID} has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC}): Cannot access ${env.NEXUS_MAVEN_PUBLIC} with type default using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] org.codehaus.mojo/maven-metadata.xml failed to transfer from ${env.NEXUS_MAVEN_PUBLIC} during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of ${env.NEXUS_MAVEN_PUBLIC_ID} has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC}): Cannot access ${env.NEXUS_MAVEN_PUBLIC} with type default using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:3.2.0: Plugin org.apache.maven.plugins:maven-clean-plugin:3.2.0 or one of its dependencies could not be resolved:
The following artifacts could not be resolved: org.apache.maven.plugins:maven-clean-plugin:pom:3.2.0 (absent): Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:3.2.0 from/to ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC}): Cannot access ${env.NEXUS_MAVEN_PUBLIC} with type default using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:3.1.2: Plugin org.apache.maven.plugins:maven-install-plugin:3.1.2 or one of its dependencies could not be resolved:
The following artifacts could not be resolved: org.apache.maven.plugins:maven-install-plugin:pom:3.1.2 (absent): Could not transfer artifact org.apache.maven.plugins:maven-install-plugin:pom:3.1.2 from/to ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC}): Cannot access ${env.NEXUS_MAVEN_PUBLIC} with type default using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:3.1.2: Plugin org.apache.maven.plugins:maven-deploy-plugin:3.1.2 or one of its dependencies could not be resolved:
The following artifacts could not be resolved: org.apache.maven.plugins:maven-deploy-plugin:pom:3.1.2 (absent): Could not transfer artifact org.apache.maven.plugins:maven-deploy-plugin:pom:3.1.2 from/to ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC}): Cannot access ${env.NEXUS_MAVEN_PUBLIC} with type default using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.12.1: Plugin org.apache.maven.plugins:maven-site-plugin:3.12.1 or one of its dependencies could not be resolved:
The following artifacts could not be resolved: org.apache.maven.plugins:maven-site-plugin:pom:3.12.1 (absent): Could not transfer artifact org.apache.maven.plugins:maven-site-plugin:pom:3.12.1 from/to ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC}): Cannot access ${env.NEXUS_MAVEN_PUBLIC} with type default using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:3.1.0: Plugin org.apache.maven.plugins:maven-antrun-plugin:3.1.0 or one of its dependencies could not be resolved:
The following artifacts could not be resolved: org.apache.maven.plugins:maven-antrun-plugin:pom:3.1.0 (absent): Could not transfer artifact org.apache.maven.plugins:maven-antrun-plugin:pom:3.1.0 from/to ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC}): Cannot access ${env.NEXUS_MAVEN_PUBLIC} with type default using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:3.7.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:3.7.1 or one of its dependencies could not be resolved:
The following artifacts could not be resolved: org.apache.maven.plugins:maven-assembly-plugin:pom:3.7.1 (absent): Could not transfer artifact org.apache.maven.plugins:maven-assembly-plugin:pom:3.7.1 from/to ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC}): Cannot access ${env.NEXUS_MAVEN_PUBLIC} with type default using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:3.7.0: Plugin org.apache.maven.plugins:maven-dependency-plugin:3.7.0 or one of its dependencies could not be resolved:
The following artifacts could not be resolved: org.apache.maven.plugins:maven-dependency-plugin:pom:3.7.0 (absent): Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:3.7.0 from/to ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC}): Cannot access ${env.NEXUS_MAVEN_PUBLIC} with type default using the available connector factories: BasicRepositoryConnectorFactory
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:3.0.1: Plugin org.apache.maven.plugins:maven-release-plugin:3.0.1 or one of its dependencies could not be resolved:
The following artifacts could not be resolved: org.apache.maven.plugins:maven-release-plugin:pom:3.0.1 (absent): Could not transfer artifact org.apache.maven.plugins:maven-release-plugin:pom:3.0.1 from/to ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC}): Cannot access ${env.NEXUS_MAVEN_PUBLIC} with type default using the available connector factories: BasicRepositoryConnectorFactory
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.150 s
[INFO] Finished at: 2026-08-25T11:20:20Z
[INFO] ------------------------------------------------------------------------
[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 (/root/.m2/repository), ${env.NEXUS_MAVEN_PUBLIC_ID} (${env.NEXUS_MAVEN_PUBLIC})] -> [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] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
dmitriev-aal@VDI-Dmitriev-A:~$