Hi,
I was trying to build the MapML extension from the 2.27.x branch head today, and I get the following error consistently. I also tried downloading the artifact in the browser and the file size that results is 1.6Mb, although there’s no other indication of error. I think it may be a gzipped / compressed response, but I’m not certain… it doesn’t have a Content-encoding header. When I do a wget on it it retrieves the whole amount but across 2 requests (see response below image). Maybe it’s my network setup? Thanks for any ideas you may have.
Peter Rushforth
[INFO] Downloading from osgeo-snapshots: https://repo.osgeo.org/repository/snapshot/org/geoserver/gs-main/2.27-SNAPSHOT/gs-main-2.27-20250409.112307-269-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.388 s
[INFO] Finished at: 2025-04-09T13:57:42-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project gs-mapml: Could not resolve dependencies for project org.geoserver.extension:gs-mapml:jar:2.27-SNAPSHOT: The following artifacts could not be resolved: org.geoserver:gs-main:jar:tests:2.27-SNAPSHOT, org.geoserver.web:gs-web-core:jar:tests:2.27-SNAPSHOT, org.geoserver:gs-wms:jar:tests:2.27-SNAPSHOT: Could not transfer artifact org.geoserver:gs-main:jar:tests:2.27-20250409.112307-269 from/to osgeo-snapshots (Repository - Sonatype Nexus Repository): GET request of: org/geoserver/gs-main/2.27-SNAPSHOT/gs-main-2.27-20250409.112307-269-tests.jar from osgeo-snapshots failed: Premature end of Content-Length delimited message body (expected: 2,946,511; received: 1,647,562) → [Help 1]
$ wget https://repo.osgeo.org/repository/snapshot/org/geoserver/gs-main/2.27-SNAPSHOT/gs-main-2.27-20250409.112307-269-tests.jar
–2025-04-09 14:14:51-- https://repo.osgeo.org/repository/snapshot/org/geoserver/gs-main/2.27-SNAPSHOT/gs-main-2.27-20250409.112307-269-tests.jar
Resolving repo.osgeo.org (repo.osgeo.org)… 140.211.15.6
Connecting to repo.osgeo.org (repo.osgeo.org)|140.211.15.6|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 2946511 (2.8M) [application/java-archive]
Saving to: ‘gs-main-2.27-20250409.112307-269-tests.jar.1’
gs-main-2.27-20250409.112307- 55%[==========================> ] 1.57M 3.21MB/s in 0.5s
2025-04-09 14:14:52 (3.21 MB/s) - Connection closed at byte 1649722. Retrying.
–2025-04-09 14:14:53-- (try: 2) https://repo.osgeo.org/repository/snapshot/org/geoserver/gs-main/2.27-SNAPSHOT/gs-main-2.27-20250409.112307-269-tests.jar
Connecting to repo.osgeo.org (repo.osgeo.org)|140.211.15.6|:443… connected.
HTTP request sent, awaiting response… 206 Partial Content
Length: 2946511 (2.8M), 1296789 (1.2M) remaining [application/java-archive]
Saving to: ‘gs-main-2.27-20250409.112307-269-tests.jar.1’
gs-main-2.27-20250409.112307- 100%[+++++++++++++++++++++++++++======================>] 2.81M 2.71MB/s in 0.5s
2025-04-09 14:14:53 (2.71 MB/s) - ‘gs-main-2.27-20250409.112307-269-tests.jar.1’ saved [2946511/2946511]
