generate_jar_as_utility Tag <build> ... </build> is used to generate the JAR file for given 'mainClass'. JAR can be imported to another project as dependency and all the methods can be utilized there. Refer below utilities: DocUtility: DocUtility