javamavenintellij-ideanetbeansgephi

Unable to run Maven project (gephi-app) the same way on NetBeans in IntelliJ


I am currently working on a project that involves utilizing Gephi's backend tools and frontend visualizers. For this, I have cloned Gephi's repository, https://github.com/gephi/gephi.git. The following tutorial walks users through how to clone and modify Gephi's sourcecode so that you may add "circle creation logic" to Gephi's visualizer, https://seinecle.github.io/gephi-tutorials/generated-html/working-from-the-source-en.html. I have found that running the project through NetBeans is a straightforward process, build the dependencies and run.

Screenshot of run option highlighted within the NetBeans IDE over the maven project node
Unfortunately, such an option doesn't exist in IntelliJ and the maven "Lifecycle" goals that I can run (clean, validate, compile, test, package, verify, install, site, and deploy) build successfully, but does not actually run the project within the environment unlike NetBeans does. I am wondering what I am missing here, or how NetBeans can simply run the maven project node, but such an option doesn't exist in IntelliJ? How do I perhaps edit my run configuration within the IntelliJ IDE so that I can run such an instance?

Screenshot of runnable maven goals within the IntelliJ IDE for gephi-app maven project node


Solution

  • The equivalent in IntelliJ IDEA would be the following:

    1. Run the compile goal
    2. Run nbm:cluster-app
    3. Run nbm:run-platform

    The last 2 goals are provided by the nbm Maven plug-in.

    In IntelliJ IDEA they are visible under the Plugins node of the module in the Maven tool window:

    nmb maven plug-in node