Compile Version: 27.0.2 Issue

I am compiling Opennms source version 27.0.2 and the maven compile goal is failing with an error.

The command I run to compile is:
./ -DskipTests=true

Expected outcome:
Successful Compilation

OpenNMS version:

Other relevant data:

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project org.opennms.features.telemetry.protocols.bmp.parser: Compilation failure
/Users/xyz/Research/opennms/features/telemetry/protocols/bmp/parser/src/main/java/org/opennms/netmgt/telemetry/protocols/bmp/parser/proto/bmp/packets/[53,57] unreported exception E; must be caught or declared to be thrown

Try a mvn clean first.

Thanks dino2gnt.

I had to clean up the mvn modules folder and then recompile and that worked.