I have a maven project which depends on 2 other local project and a host of 3rd party jars. I want to move the jar file to another machine and run the application from there. I tried the mvn exec:exec command but it was not able to find the 2 local projects, which makes sense. How do I get this scenario to work. the machine on which the application will be installed have maven in it and is connected to the internet, so if required it can download the jars mentioned in the pom.
Share
Use the Maven-assembly-plugin to make a jar-with-dependencies, which will result in the execution of
mvn packagecreating a more readily deployable package.