vertx-guide-for-java-devs icon indicating copy to clipboard operation
vertx-guide-for-java-devs copied to clipboard

main verticle property in redeploy.sh is hardcoded

Open GordonTrang opened this issue 8 years ago • 2 comments
trafficstars

Instead of redeploy.sh using hard-coded value, it should pick it up from pom.xml

GordonTrang avatar Jun 29 '17 19:06 GordonTrang

Since redeploy.sh isn't generated, how would you do that?

jponge avatar Jun 29 '17 20:06 jponge

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.

rgmz avatar Aug 13 '18 14:08 rgmz