Viewing and Running Samples From IntelliJ IDEA

Build and run the sample operators from an IDE such as IntelliJ. This approach is useful for developing custom operators.

Perform this task from the IntelliJ IDEA.
Before you begin If you have not done so already, clone the AlpineNow/CustomPlugins repo. See Installing the Custom Sample Operator for your Version for more information.

IntelliJ must be configured to support Maven projects as follows:

  • Preferences > Plugins > Maven Integration should be enabled.
  • View > Tool Buttons > should be enabled.
    Procedure
  1. In IntelliJ, click File > Open.
  2. In PluginExampleProject, PluginTemplateProject, or TextMiningProject, select the file pom.xml.
    IntelliJ generates the project using that .pom file.
    Note: This is a change from the previous SDK.
  3. In the right panel, select Maven Projects.
  4. Under LifeCycle, review the valid Maven comments.
  5. Click package, and then click Run.
What to do nextIf you have problems, check the troubleshooting advice.