This project illustrates how to configure the Vert.x Maven Plugin to develop and package an application using Kotlin:
- package your application as a fat jar
- enable the redeployment of the application during development
First, launch the application in redeploy mode using:
mvn compile vertx:run
Then, open a browser to http://localhost:8080, you should see the message. Edit the
verticle and the redeployment is triggered.
When done with development, hit
Package the application using:
mvn clean package
The fat-jar is executable, so run it using:
java -jar target/kotlin-example-0.1-SNAPSHOT.jar
CTRL+C to stop the process.