One jar with all dependencies

The configuration is below when you issue this command “mvn clean package assembly:single” then you will get a jar file containing all the sources and if  you check the me MANIFEST.MF file and you will see the line “Main-Class: com.tugrulaslan.App” the value we set below in the pom.xml <project xmlns="" xmlns:xsi="" xsi:schemaLocation=""> <modelVersion>4.0.0</modelVersion> <groupId>de.goeuro</groupId>

Including and storing resource and media files like css, img file etc

Previously I have faced the situation that I was trying to add resources and images in my maven project and was dwelling on how to add and use those files within my project.  After a long search i have come across with a solution reading blogs, stackoverflow and maven’s official web site As you know

Maven goals

validate – validate the project is correct and all necessary information is available compile – compile the source code of the project test – test the compiled source code using a suitable unit testing framework. These tests should not require the code be packaged or deployed package – take the compiled code and package it in its distributable format,