This plugin is very useful while executing system and java programs.It provides two goals as;
- exec:exec execute programs and Java programs in a separate process.
- exec:java execute Java programs in the same VM.
I will explain how to use exec:java goal in a simple helloWorld program.
- First create a new maven project.Here I used IntelliJIDEA.
- Then add a java class to it with having the main method.For the moment just add a System.out in that method.
For further info,visit
Comments
Post a Comment