vertx-guide-for-java-devs
vertx-guide-for-java-devs copied to clipboard
main verticle property in redeploy.sh is hardcoded
trafficstars
Instead of redeploy.sh using hard-coded value, it should pick it up from pom.xml
Since redeploy.sh isn't generated, how would you do that?
Using the Vert.x Maven Plugin you can define the main verticle in pom.xml as such:
<properties>
<vertx.verticle>io.vertx.guides.wiki.MainVerticle</vertx.verticle>
</properties>
and then run it (with or without hot redeploy) using mvn vertx:run.