This example is the Vert.x hello world. It creates a HTTP server returning a greeting message.
Just run:
./mvnw package
On Windows, use:
./mvnw.bat package
The application is packaged into target/vertx-hello-1.0-SNAPSHOT.jar
. Launch it with:
java -jar target/vertx-hello-1.0-SNAPSHOT.jar
Then, open a browser to: http://localhost:8080, you should see "Hello from Vert.x".
If you want to modify the application code and get hot reload, just launch:
mvn compile vertx:run
Now, update your source files and save. The application is re-packaged and restarted.