Make Maven package all dependency jars into my jar

Add the following in pom.xml



and you run it with
mvn clean compile assembly:single Compile goal should be added before assembly:single or otherwise the code on your own project is not included.


Leave a Reply

Your email address will not be published. Required fields are marked *