I am trying to generate an executable jar for a project called "mysas" using maven, just like this:
How can I create an executable JAR with dependencies using Maven?
I added the snippet shown there to the pom.xml, and ran mvn clean install. It generates two jar files in mysas/target: mysas-0.1.0.jar, and mysas-0.1.0-jar-with-dependencies.jar.
I need to test and run this file on a remote machine but mysas-0.1.0-jar-with-dependencies.jar is around 500 MB
I don't want to move this big file every time I make a small change. Is there a way that I can transfer dependencies only once separately, and use mysas-0.1.0.jar for testing my changes.