Assembling OpenNMS fails with invalid entry size error during warmerge

Problem

You try to compile and assembly OpenNMS from source code with the commands:

 ./clean.pl && ./compile.pl -DskipTests && ./assemble.pl -p dir

The assemble fails with the following error message:

[ERROR] Failed to execute goal org.opennms.maven.plugins:opennms-warmerge-plugin:0.4:warmerge (default) on project org.opennms.assemblies.webapp-full: Execution default of goal org.opennms.maven.plugins:opennms-warmerge-plugin:0.4:warmerge failed: invalid entry size -> [Help 1]

Solution

Delete the git repository and do a fresh git clone from the remote repository.

cd ~/dev
rm -rf opennms
git clone https://github.com/OpenNMS/opennms.git opennms

Run compile / assemble steps again an the problem should be solved.