Java Reference
In-Depth Information
As you can see in the preceding code snippet, besides the maven-compiler-plugin
configuration that we omitted for the sake of brevity (we discussed it in the server pro-
ject), we have included exec-maven-plugin , which adds the ability to execute Java
programs using the exec goal.
Once all the plugins are in place, you can compile and execute your project by issuing the
following Maven goal:
mvn package exec:exec
The preceding command can be executed either from a shell (positioned in the project's
root folder) or from your Eclipse runtime configuration, as shown in the following
screenshot:
Search WWH ::




Custom Search