Tag: Maven Jar
Introduction In this post you will see how to prevent JAR creation using maven build tool if your application does not have the required Java classes or resource files. Actually you don’t need to create jar file when your project does not contain any Java or resource files. I will use maven-jar-plugin which is used…
Introduction Here you will see an example on how to remove default jar by maven build tool. Generally this may be required in a situation where you are generating executable jar or executable jars and your application does not require additional non-executable jar generated by maven build. Then you can remove such jar from the…
Introduction Here I am going to show you how to create executable jar using maven build tool. Sometimes you need to create executable jar file from a standalone application using maven because you want to put the executable jar file anywhere and just want to run the file to do some operations from command line.
Introduction This tutorial will show you how to create both war and jar file in an web application using maven. Sometimes you may need to create both war and jar files for an web application using maven build tool because some other standalone project needs to include the jar file for this web application. For…