Excel WFS extension profile missing >= 2.27.3

Geoserver 2.27.3 (and newer versions) does not define a profile for Excel WFS extension. Due to the missing profile definition, no Excel-related (WFS) jar files are being included into a compiled Geoserver WAR file, thus Excel WFS download options (Excel & Excel 2007) are not available on the Layer preview web page.

I bisected the issue. The change happened at the following commit:

Earlier, including “excel” extension for Maven compilation process worked flawlessly. But that is not the case any more.

The fix is quite trivial: simply adding the missing Excel WFS profile into src/web/app/pom.xml, and compiling Geoserver WAR with the added profile (excel-wfs in my case).

  • Without the patch and extension xlsxppio defined for Maven, only gs-excel-wps-<version>.jar and gs-excel-core-<version>.jar are bundled into the WAR.

  • With the patch, and excel-wfs extension defined for Maven, gs-excel-wfs-<version>.jar is also bundled, and Excel WFS download options are working correctly in Layer preview web page drop-down download menus.

I have provided the patch file here:

(you may apply contents of the patch to the upstream Geoserver code as you wish)

I would have had opened a new issue to the Geoserver issue tracker but I don’t have necessary permissions to do so.

Thank you. I hope this helps you fixing the issue! :slight_smile: