vert-x3 / vertx-starter

Home of the Vert.x Starter
Apache License 2.0
48 stars 38 forks source link

Provide variants with the Vert.x Maven and Gradle plugins #39

Open jponge opened 6 years ago

jponge commented 6 years ago

Along with the bare projects, it would be useful to provide project variants using the (opinionated) Maven and Gradle plugins:

tsegismont commented 5 years ago

Sounds like a good idea to me. I will start with #70. Such options should hidden at first and unfold when user clicks on Advanced options or similar.

tsegismont commented 5 years ago

Removed from the 2.0.5 milestone. We have enough features/fixes ready to get a 2.0.5 out.

pmlopes commented 3 years ago

I'd like to bump this issue. Currently, maven generated projects use the maven shade plugin. This works to some extent. For example, if I create a project and add webauthn dependency plus webauthn with classifier js (the javascript helper file), the shade plugin will not process that dependency and produce a non-working fat jar.

Using the reactiverse vertx maven plugin does work as expected, plus it offers some other interesting features like webjars support, auto-reload, etc...

At least for maven projects, I believe that using the reactiverse plugin, it would make developers workflow simpler than the current solution.

tsegismont commented 3 years ago

@pmlopes it would be great if you could contribute this. Otherwise, you can generate a project from a terminal without using the starter:

mvn io.reactiverse:vertx-maven-plugin:1.0.24:setup \
    -DprojectGroupId=org.acme \
    -DprojectArtifactId=acme-project \
    -DprojectVersion=1.0-SNAPSHOT \ # default to 1.0-SNAPSHOT
    -Dverticle=org.acme.Foo \
    -Ddependencies=web,

See https://reactiverse.io/vertx-maven-plugin/#vertx:setup