Does anyone know why the build is failing with
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.7.1:single (default) on project gs-kml: Failed to create assembly: Error adding file to archive: /var/lib/jenkins/workspace/geoserver-main-nightly/src/release/target/html/extensions/LICENSE.html -> [Help 1]
Ian
Peter
April 17, 2026, 11:15am
2
I also just noticed that
[INFO] Finished at: 2026-04-16T10:34:35Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.7.1:single (default) on project gs-kml: Failed to create assembly: Error adding file to archive: /var/lib/jenkins/workspace/geoserver-main-nightly/src/release/target/html/extensions/LICENSE.html -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :gs-kml
from Console - #2650 - Jenkins
Changes
[GEOS-12063] Fix mapml layout and update table actions button for tile layers (#9370 ) (details / githubweb )
[GEOS-12063] Review vertical resizing of textareas (#9374 ) (details / githubweb )
Refactor extension assemblies to use per-module descriptors (#8910 ) (details / githubweb )
Peter
April 17, 2026, 11:26am
3
Hi Peter,
it is indeed likely related, but for the life of me I cannot reproduce it on a fresh checkout, using the exact same command as the build server.
cd geoserver-checkout
mvn -f src/pom.xml -Dhudson.buildId=2658 clean install -B -U -DskipTests -Prelease,assembly
and the result is:
[INFO] Reactor Summary for GeoServer 3.0-SNAPSHOT:
[INFO]
[INFO] GeoServer … SUCCESS [ 5.924 s]
[INFO] Core Platform Module … SUCCESS [ 2.124 s]
[INFO] Open Web Service Module … SUCCESS [ 0.982 s]
[INFO] Main Module … SUCCESS [ 4.797 s]
[INFO] GeoServer Security Modules … SUCCESS [ 0.028 s]
[INFO] GeoServer Security Tests Module … SUCCESS [ 0.697 s]
[INFO] GeoServer JDBC Security Module … SUCCESS [ 0.483 s]
[INFO] GeoServer LDAP Security Module … SUCCESS [ 0.518 s]
[INFO] Web Coverage Service Module … SUCCESS [ 0.416 s]
[INFO] Web Coverage Service 2.0 Module … SUCCESS [ 0.740 s]
[INFO] Web Feature Service Core Module … SUCCESS [ 0.861 s]
[INFO] Web Feature Service 1.x Module … SUCCESS [ 0.739 s]
[INFO] Web Feature Service 2.x Module … SUCCESS [ 0.496 s]
[INFO] Web Map Service Core Module … SUCCESS [ 1.621 s]
[INFO] Web Map Service 1.1 Module … SUCCESS [ 0.746 s]
[INFO] Web Map Service 1.3 Module … SUCCESS [ 0.551 s]
[INFO] Web Map Service GML Feature Info support … SUCCESS [ 0.467 s]
[INFO] gs-rest … SUCCESS [ 0.418 s]
[INFO] GeoWebCache (GWC) Module … SUCCESS [ 2.380 s]
[INFO] GeoWebCache (GWC) Rest Module … SUCCESS [ 0.401 s]
[INFO] gs-restconfig … SUCCESS [ 0.982 s]
[INFO] GeoServer Extensions … SUCCESS [ 0.122 s]
[INFO] GeoServer WCS Extensions … SUCCESS [ 0.033 s]
[INFO] Web Coverage Service 1.1 Extension Module … SUCCESS [ 0.872 s]
[INFO] gs-restconfig-wcs … SUCCESS [ 0.372 s]
[INFO] gs-restconfig-wfs … SUCCESS [ 0.302 s]
[INFO] gs-restconfig-wms … SUCCESS [ 0.343 s]
[INFO] WMTS REST configuration … SUCCESS [ 0.346 s]
[INFO] Theme Module … SUCCESS [ 0.042 s]
[INFO] GeoServer Web Modules … SUCCESS [ 0.016 s]
[INFO] Core UI Module … SUCCESS [ 2.416 s]
[INFO] WMS UI Module … SUCCESS [ 0.679 s]
[INFO] GWC UI Module … SUCCESS [ 0.692 s]
[INFO] WFS UI Module … SUCCESS [ 0.391 s]
[INFO] Demos Module … SUCCESS [ 0.547 s]
[INFO] WCS UI Module … SUCCESS [ 0.424 s]
[INFO] Security UI Modules … SUCCESS [ 0.017 s]
[INFO] Security UI Core Module … SUCCESS [ 0.909 s]
[INFO] Security UI JDBC Module … SUCCESS [ 0.388 s]
[INFO] Security UI LDAP Module … SUCCESS [ 0.376 s]
[INFO] REST UI Module … SUCCESS [ 0.323 s]
[INFO] GeoServer Web Application … SUCCESS [ 1.184 s]
[INFO] Community Space … SUCCESS [ 0.121 s]
[INFO] KML support for GeoServer … SUCCESS [ 0.728 s]
[INFO] Application Schema Support … SUCCESS [ 0.040 s]
[INFO] Application Schema Module … SUCCESS [ 0.464 s]
[INFO] Application Schema Integration Test … SUCCESS [ 0.549 s]
[INFO] Sample DataAccess Integration Test … SUCCESS [ 0.185 s]
[INFO] App Schema Assembly … SUCCESS [ 0.084 s]
[INFO] SQL Server DataStore Extension … SUCCESS [ 0.146 s]
[INFO] Oracle DataStore Extension … SUCCESS [ 0.239 s]
[INFO] MySQL DataStore Extension … SUCCESS [ 0.157 s]
[INFO] DB2 DataStore Extension … SUCCESS [ 0.368 s]
[INFO] ImageI/O-Ext GDAL Coverage Extension … SUCCESS [ 0.164 s]
[INFO] IAU Authority Planetary CRS Extension … SUCCESS [ 0.045 s]
[INFO] JP2K Coverage Extension … SUCCESS [ 0.248 s]
[INFO] OGR parent … SUCCESS [ 0.024 s]
[INFO] OGR CORE … SUCCESS [ 0.196 s]
[INFO] OGR WFS … SUCCESS [ 0.374 s]
[INFO] Web Coverage Service 1.0 Extension Module … SUCCESS [ 0.452 s]
[INFO] Web Processing Service parent … SUCCESS [ 0.022 s]
[INFO] Web Processing Service Module … SUCCESS [ 0.993 s]
[INFO] OGR WPS … SUCCESS [ 0.411 s]
[INFO] Image Pyramid Extension … SUCCESS [ 0.049 s]
[INFO] MS Excel Core Module for GeoServer … SUCCESS [ 0.317 s]
[INFO] MS Excel Output Format for WFS … SUCCESS [ 0.478 s]
[INFO] MS Excel XLSX PPIO for WPS … SUCCESS [ 0.528 s]
[INFO] Chart external graphics support … SUCCESS [ 0.152 s]
[INFO] Feature Generalization Extension … SUCCESS [ 0.376 s]
[INFO] OWS request flow controller … SUCCESS [ 0.389 s]
[INFO] Web process status sharing with Hazelcast … SUCCESS [ 0.728 s]
[INFO] KML PPIO for WPS … SUCCESS [ 0.397 s]
[INFO] Web Processing Service GUI … SUCCESS [ 0.525 s]
[INFO] Wps Assembly … SUCCESS [ 0.124 s]
[INFO] GeoServer Layer Querying filter functions … SUCCESS [ 0.345 s]
[INFO] GeoServer Monitor Extensions … SUCCESS [ 0.031 s]
[INFO] Core Monitor Extension … SUCCESS [ 0.558 s]
[INFO] Monitor Assembly … SUCCESS [ 0.134 s]
[INFO] GeoServer Security Extension Modules … SUCCESS [ 0.035 s]
[INFO] GeoServer CAS Security Module … SUCCESS [ 0.373 s]
[INFO] GeoServer Security Extension Web Modules … SUCCESS [ 0.025 s]
[INFO] GeoServer CAS Security Web Module … SUCCESS [ 0.184 s]
[INFO] CAS Assembly … SUCCESS [ 0.078 s]
[INFO] GeoServer INSPIRE Extensions … SUCCESS [ 0.532 s]
[INFO] GeoServer CSS Styling … SUCCESS [ 0.431 s]
[INFO] Catalog Services for the Web parent … SUCCESS [ 0.026 s]
[INFO] Catalog Services for the Web interfaces … SUCCESS [ 0.358 s]
[INFO] Catalog Services for the Web - Simple CatalogStore implementation SUCCESS [ 0.327 s]
[INFO] Catalog Services for the Web core module … SUCCESS [ 0.472 s]
[INFO] CSW UI Module … SUCCESS [ 0.347 s]
[INFO] Catalog Services for the Web ISO metadata profile module SUCCESS [ 0.400 s]
[INFO] Csw Assembly … SUCCESS [ 0.075 s]
[INFO] CSW ISO Metadata Profile Assembly … SUCCESS [ 0.063 s]
[INFO] DXF WFS output format and WPS PPIO … SUCCESS [ 0.019 s]
[INFO] DXF WFS output format … SUCCESS [ 0.328 s]
[INFO] DXF WPS PPIO … SUCCESS [ 0.356 s]
[INFO] Dxf Assembly … SUCCESS [ 0.113 s]
[INFO] Printing Module … SUCCESS [ 0.809 s]
[INFO] GeoServer WCS 2.0 Earth Observation Extensions … SUCCESS [ 0.024 s]
[INFO] Web Coverage Service 2.0 Earth Observation extensions SUCCESS [ 0.365 s]
[INFO] Web Coverage Service 2.0 Earth Observation GUI extension SUCCESS [ 0.339 s]
[INFO] Wcs2 0 Eo Assembly … SUCCESS [ 0.068 s]
[INFO] WCS Integration Tests … SUCCESS [ 0.186 s]
[INFO] GeoServer libjpeg-turbo Module … SUCCESS [ 0.423 s]
[INFO] GeoServer Data Importer … SUCCESS [ 0.036 s]
[INFO] Importer Core Module … SUCCESS [ 0.647 s]
[INFO] Importer REST Api Module-ng … SUCCESS [ 0.458 s]
[INFO] Importer Web UI Module … SUCCESS [ 0.514 s]
[INFO] Importer Assembly … SUCCESS [ 0.101 s]
[INFO] GRIB Coverage Format … SUCCESS [ 0.516 s]
[INFO] NetCDF Coverage format … SUCCESS [ 0.540 s]
[INFO] WCS NetCDF output Module … SUCCESS [ 0.651 s]
[INFO] Vector Tiles … SUCCESS [ 0.538 s]
[INFO] YSLD GeoServer Plugin … SUCCESS [ 0.398 s]
[INFO] MBStyle Extension … SUCCESS [ 0.403 s]
[INFO] MongoDB Data Store … SUCCESS [ 0.423 s]
[INFO] REST SLD service … SUCCESS [ 0.552 s]
[INFO] Authentication by unique URL key … SUCCESS [ 0.492 s]
[INFO] GeoServer Resource Browser … SUCCESS [ 0.428 s]
[INFO] Parameters Extractor … SUCCESS [ 0.458 s]
[INFO] GeoWebCache S3 … SUCCESS [ 0.493 s]
[INFO] WMTS Multi Dimensional … SUCCESS [ 0.520 s]
[INFO] DownloadProcess … SUCCESS [ 0.779 s]
[INFO] WPS cluster on jdbc datastores … SUCCESS [ 0.418 s]
[INFO] MapML Support for GeoServer … SUCCESS [ 0.962 s]
[INFO] GeoPackage output … SUCCESS [ 0.020 s]
[INFO] GeoPackage Core output … SUCCESS [ 0.330 s]
[INFO] GeoPackage WMS output … SUCCESS [ 0.378 s]
[INFO] GeoPackage WFS output … SUCCESS [ 0.331 s]
[INFO] Geopkg Output Assembly … SUCCESS [ 0.066 s]
[INFO] GeoServer Metadata Customizer … SUCCESS [ 0.698 s]
[INFO] Raster Attribute Table support … SUCCESS [ 0.444 s]
[INFO] gs-ogcapi … SUCCESS [ 0.018 s]
[INFO] gs-ogcapi-core … SUCCESS [ 0.864 s]
[INFO] gs-ogcapi-features … SUCCESS [ 0.574 s]
[INFO] OGC API core web module … SUCCESS [ 0.374 s]
[INFO] OGC API features web module … SUCCESS [ 0.181 s]
[INFO] OGC API Features Assembly … SUCCESS [ 0.105 s]
[INFO] ArcGrid datasource module … SUCCESS [ 0.232 s]
[INFO] WorldImage datasource module … SUCCESS [ 0.223 s]
[INFO] GeoServer Release Module … SUCCESS [ 0.132 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:10 min
[INFO] Finished at: 2026-04-17T14:00:09+02:00
[INFO] ------------------------------------------------------------------------
At first I thought it was due to the current directory in the build server being the root of the checkout instead of being in “src” already, but the above disproves it.
The file being searched are referenced from here:
picking from target eh? Ah because they are markdown and need to be rendered into HTML.
I’m guessing this is a race condition, on my system the maven reactor decides to build the release module before the others, while on the build server it runs it later.
Theoretically every extension module should depend on the release module now because of this, at least when assembling, which is a large change, or we stop including these HTML files and add the markdown version instead, which can be picked without issues…
@groldan @jive ideas?
In the meantime I’m going to try a small change in the build on the build server, to force those HTML files being generated before, as a stop-gap measure
Cheers
Andrea
Peter
April 17, 2026, 12:52pm
5
ouch,
so if I get it right the Jenkins build runs clean install -Prelease,assembly whereas the github actions (always?) ran clean install -Prelease first then -Prelease,assembly
Andrea’s workaround on Jenkins was to add a pre job for clean install -pl :gs-release -Prelease
I’m looking at Pete’s PR, will report back
All good now. Pete’s PR applied.