[
https://issues.apache.org/jira/browse/MNG-6604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov updated MNG-6604:
--------------------------------
Description:
Hello
we're running maven 3.6.0 builds in a docker container and we use Nexus OSS
configured as proxy for Maven Central.
While running our builds using Gitlab CI, we're experiencing intermittent build
failures because Maven cannot find artifacts in Nexus which we verified they
are actually available.
Error example below:
{noformat}
20744 [main] [ERROR] Failed to execute goal on project EcotransitWSClient:
Could not resolve dependencies for project
it.sdb.ecotransit:EcotransitWSClient:jar:7.0.1-SNAPSHOT: Could not transfer
artifact commons-beanutils:commons-beanutils:jar:1.9.3 from/to nexus
(http://maven-repo.sdb.it:8081/repository/maven-public/):
/builds/sdb/webportal/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar.part
(No such file or directory) -> [Help 1]
{noformat}
I attached the full maven build log and our Docker env settings.
We tried disabling the keep alive and also disabling the connection pooling but
nothing seems to fix the issue.
was:
Hello
we're running maven 3.6.0 builds in a docker container and we use Nexus OSS
configured as proxy for Maven Central.
While running our builds using Gitlab CI, we're experiencing intermittent build
failures because Maven cannot find artifacts in Nexus which we verified they
are actually available.
Error example below:
{code:java}
20744 [main] [ERROR] Failed to execute goal on project EcotransitWSClient:
Could not resolve dependencies for project
it.sdb.ecotransit:EcotransitWSClient:jar:7.0.1-SNAPSHOT: Could not transfer
artifact commons-beanutils:commons-beanutils:jar:1.9.3 from/to nexus
(http://maven-repo.sdb.it:8081/repository/maven-public/):
/builds/sdb/webportal/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar.part
(No such file or directory) -> [Help 1]
{code}
I attached the full maven build log and our Docker env settings.
We tried disabling the keep alive and also disabling the connection pooling but
nothing seems to fix the issue.
> Intermittent failures while downloading GAVs from Nexus
> -------------------------------------------------------
>
> Key: MNG-6604
> URL: https://issues.apache.org/jira/browse/MNG-6604
> Project: Maven
> Issue Type: Bug
> Components: Command Line, Toolchains
> Affects Versions: 3.6.0
> Environment: Nexus OSS 3.15.2-01
> Docker 18.09.2 on Ubuntu 18.04.2 LTS
> Gitlab runner 11.8.0
> Reporter: Ivan Rizzante
> Priority: Major
> Attachments: docker-env.txt, log.txt
>
>
> Hello
> we're running maven 3.6.0 builds in a docker container and we use Nexus OSS
> configured as proxy for Maven Central.
> While running our builds using Gitlab CI, we're experiencing intermittent
> build failures because Maven cannot find artifacts in Nexus which we verified
> they are actually available.
> Error example below:
> {noformat}
> 20744 [main] [ERROR] Failed to execute goal on project EcotransitWSClient:
> Could not resolve dependencies for project
> it.sdb.ecotransit:EcotransitWSClient:jar:7.0.1-SNAPSHOT: Could not transfer
> artifact commons-beanutils:commons-beanutils:jar:1.9.3 from/to nexus
> (http://maven-repo.sdb.it:8081/repository/maven-public/):
> /builds/sdb/webportal/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar.part
> (No such file or directory) -> [Help 1]
> {noformat}
> I attached the full maven build log and our Docker env settings.
> We tried disabling the keep alive and also disabling the connection pooling
> but nothing seems to fix the issue.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)