Forge server needs additional libraries. They are installed by the Forge 'installer' package, but are not publically available. Perhaps listed in install_profile.json.
Either change over to building with installer, packaging installer w/install script (no CI, local build), or (preferrably) find links to install_profile for each forge version and parse -> library URLs -> integrate into build.