After you complete your code, there are only a few things left to do before you upload it to the
Team Studio web application. You must edit two more files - pom.xml and plugins.xml. You can also customize the icon that is displayed for your operator at this point.
Open the
pom.xml file in the
PluginTemplateProject folder and find the following line:
<artifactId>plugin-template</artifactId>
Replace it with the name you want the compiled
.jar file to have. This is the only thing you need to modify in this file. The other code in pom.xml does the work of downloading dependencies based on the
Team Studio Custom Operator SDK. Thus, to call your output jar
MyColumnFilter.jar, you would edit the
artifactId line to say:
<artifactId>MyColumnFilter</artifactId>
When you update your pom.xml file, IntelliJ might show a pop-up directing you to import changes to Maven Projects. Before proceeding, click
Import Changes, which refreshes the dependencies necessary to build your operator.
Now you need to specify the signature class to the
plugins.xml file. This tells
Team Studio where to find information about the operator after uploading the JAR.
Open
PluginTemplateProject/src/main/resources/plugins.xml. It should look like this: