^^ I never do this and have no idea whether it works.
Better to do:
mvn idea:idea to generate the project files as explained in the docs
Then just open the ipr file in IntelliJ
^^ You don't need to execute mvn install - Vert.x will pick up the
module from the resource in IDEA, not from Maven
^^ Before you do this, just make sure the Java class has been built
for the first time (CTRL-F9)
I can see it deployed fine on the console (I changed here we are to
here we are 2)
tim@tim-laptop ~/projects/my-vertx-module $ mvn vertx:runMod
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Project - my-vertx-module 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- vertx-maven-plugin:2.0.2-final:runMod (default-cli) @
my-vertx-module ---
log4j:WARN No appenders could be found for logger
(io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See
http://logging.apache.org/log4j/1.2/faq.html#noconfig
for more info.
Looking for repos file
Found repos on url: null
Jan 22, 2014 3:54:33 PM
org.vertx.java.core.logging.impl.JULLogDelegate info
INFO: here we are!
Jan 22, 2014 3:54:33 PM
org.vertx.java.core.logging.impl.JULLogDelegate info
INFO: PingVerticle started
[INFO] CTRL-C to stop server
Jan 22, 2014 3:55:02 PM
org.vertx.java.core.logging.impl.JULLogDelegate info
INFO: Module com.mycompany~my-vertx-module~1.0-SNAPSHOT has changed,
reloading it.
Jan 22, 2014 3:55:02 PM
org.vertx.java.core.logging.impl.JULLogDelegate info
INFO: here we are2!
Jan 22, 2014 3:55:02 PM
org.vertx.java.core.logging.impl.JULLogDelegate info
INFO: PingVerticle started