A18.3.3 Building & Installing
The project is packaged into a .jar file by running the maven command 'install'. This can be done either from the intellij maven tab (on the far right there is a vertical tab called Maven - unfold and double click on “install”). Or it can be done from a command terminal by standing in the folder where the pom.xml file is located and write mvn clean install.
Figure 498: The successful run of the 'install' command will produce a target folder containing
the resulting .jar file
You may have warning complaining of a wrong “Maven Home directory” configuration. This is because your maven home directory is not set properly. Click on the “configuration dialog” link, which will lead you to the Maven setting panel.
Figure 499: The successful run of the 'install' command will produce a target folder containing
the resulting .jar file
When your “Maven Home directory” is set properly, double click on “Install” again, you can see that the compilation starts
If you have uploaded the latest version of the SEAMCAT interface for plugin, then IntellijIdea will by default use it (even though it has been generated from another project).
If the compile works without failure you should get a “BUILD SUCCESS”
Figure 500: Compilation status
IntellijIdea/maven created a Target folder where you can see the .jar that has been created. You can then upload that .jar into SEAMCAT.
Figure 501: Target folder
You are now ready to install your .jar plugin into SEAMCAT.