How do I execute a program using Maven?
With the global configuration that you have defined for the exec-maven-plugin: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.4.0</version> <configuration> <mainClass>org.dhappy.test.NeoTraverse</mainClass> </configuration> </plugin> invoking mvn exec:java on the command line will invoke the plugin which is configured to execute the class org.dhappy.test.NeoTraverse. So, to trigger the plugin from the command line, just run: mvn exec:java Now, if you want … Read more