I tried to build the solution using Jenkins and found the following issue in
pom.xml.
Source option 5 is no longer supported. Use 6 or later
This is fixed by adding the following piece of code to the pom.xml file,
<properties><maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target></properties>
Replace 1.8 with the version of your JDK