I have quite massive project which was developed in intellij Idea. Now I have to be able to run it from command line, but there are too many libraries including maven dependencies are used.
Is there a way to get command line that is used by intellij idea when it runs a project?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
If you use maven you can do this:
mvn install
mvn exec:java -Dexec.mainClass="com.module.Main" -Dexec.classpathScope=runtime