Prevent JAR Creation using Maven

Introduction In this post we will see how to prevent JAR creation using maven build tool if your application does not have the required Java classes or resource files. We will use maven-jar-plugin which is used by default by maven build tool…