Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

There are several problems with maven repository

$
0
0

There are several problems with smartbear maven repository.

 

One of them is that there are a lot of checksum errors during artifact checkout like the one bellow:

 

Downloading: http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/analytics-core/5.1.3-os/analytics-core-5.1.3-os.pom
Downloaded: http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/analytics-core/5.1.3-os/analytics-core-5.1.3-os.pom (785 B at 0.8 KB/sec)
Downloading: http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/smartbear-analytics/5.1.3-os/smartbear-analytics-5.1.3-os.pom
Downloaded: http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/smartbear-analytics/5.1.3-os/smartbear-analytics-5.1.3-os.pom (794 B at 1.0 KB/sec)
Downloading: http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/out-app-analytics-provider/5.1.3-os/out-app-analytics-provider-5.1.3-os.pom
Downloaded: http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/out-app-analytics-provider/5.1.3-os/out-app-analytics-provider-5.1.3-os.pom (2 KB at 2.0 KB/sec)
Downloading: http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/analytics-core/5.1.2-os/analytics-core-5.1.2-os.pom
Downloaded: http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/analytics-core/5.1.2-os/analytics-core-5.1.2-os.pom (785 B at 0.9 KB/sec)
Downloading: http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/smartbear-analytics/5.1.2-os/smartbear-analytics-5.1.2-os.pom
[WARNING] Checksum validation failed, expected 97e20f7d1cde9d7579d7219d2d99afa725c75246 but is 72972465a5f344e6ec909ce8a87488ae7edafcd7 for http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/smartbear-analytics/5.1.2-os/smartbear-analytics-5.1.2-os.pom
[WARNING] Could not validate integrity of download from http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/smartbear-analytics/5.1.2-os/smartbear-analytics-5.1.2-os.pom: Checksum validation failed, expected 97e20f7d1cde9d7579d7219d2d99afa725c75246 but is 72972465a5f344e6ec909ce8a87488ae7edafcd7
[WARNING] Checksum validation failed, expected 97e20f7d1cde9d7579d7219d2d99afa725c75246 but is 72972465a5f344e6ec909ce8a87488ae7edafcd7 for http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/smartbear-analytics/5.1.2-os/smartbear-analytics-5.1.2-os.pom
Downloaded: http://www.soapui.org/repository/maven2/com/smartbear/utils/analytics/smartbear-analytics/5.1.2-os/smartbear-analytics-5.1.2-os.pom (815 B at 0.5 KB/sec)

Other is that when behind a artifact repository manager like Artifactory it's impossible to download the cajo dependency due to the following error:

 

2015-11-09 11:42:03,718 [http-nio-8081-exec-7] [INFO ] (o.a.r.HttpRepo      :388) - soapui downloading http://www.soapui.org/repository/maven2/gnu/cajo/cajo/1.142/cajo-1.142.pom 181 bytes 
2015-11-09 11:42:04,611 [http-nio-8081-exec-7] [ERROR] (o.a.r.d.DbStoringRepoMixin:268) - IO error while trying to save resource soapui:gnu/cajo/cajo/1.142/cajo-1.142.pom'': org.artifactory.api.repo.exception.maven.BadPomException: The target deployment path 'gnu/cajo/cajo/1.142/cajo-1.142.pom' does not match the POM's expected path prefix 'cajo/cajo/1.142'. Please verify your POM content for correctness and make sure the source path is a valid Maven repository root path.
2015-11-09 11:42:04,635 [http-nio-8081-exec-7] [ERROR] (o.a.r.RemoteRepoBase:765) - IO error while trying to download resource 'soapui:gnu/cajo/cajo/1.142/cajo-1.142.pom': org.artifactory.api.repo.exception.maven.BadPomException: The target deployment path 'gnu/cajo/cajo/1.142/cajo-1.142.pom' does not match the POM's expected path prefix 'cajo/cajo/1.142'. Please verify your POM content for correctness and make sure the source path is a valid Maven repository root path.
2015-11-09 11:42:04,635 [http-nio-8081-exec-7] [ERROR] (o.a.r.HttpRepo      :977) - soapui: Failed to download 'http://www.soapui.org/repository/maven2/gnu/cajo/cajo/1.142/cajo-1.142.pom'. Received status code 200 and caught exception: The target deployment path 'gnu/cajo/cajo/1.142/cajo-1.142.pom' does not match the POM's expected path prefix 'cajo/cajo/1.142'. Please verify your POM content for correctness and make sure the source path is a valid Maven repository root path.
2015-11-09 11:42:04,635 [http-nio-8081-exec-7] [WARN ] (o.a.r.ArtifactoryResponseBase:105) - Sending HTTP error code 409: The target deployment path 'gnu/cajo/cajo/1.142/cajo-1.142.pom' does not match the POM's expected path prefix 'cajo/cajo/1.142'. Please verify your POM content for correctness and make sure the source path is a valid Maven repository root path.
2015-11-09 11:42:04,639 [http-nio-8081-exec-7] [WARN ] (o.a.w.s.HttpArtifactoryResponse:182) - Failed to commit http response (java.io.IOException: Broken pipe).

This is due to the fact that the location on smartbear repo does not match the pom file.

 

It would be very important to make this right so it's usable without having to manage the dependencies by hand.

 

Cheers,

Pedro


Viewing all articles
Browse latest Browse all 20755

Trending Articles