Warning |
---|
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here ! |
Contents
Table of Contents |
---|
...
Install the Atlassian developer kit from the terminal/command line
Code Block theme Emacs brew tap atlassian/tap brew install atlassian/tap/atlassian-plugin-sdk
Download your desired version of the SIL Engine from the marketplace.
Add the SIL Engine to the local maven repository
Code Block language powershell theme Emacs title Template atlas-mvn install:install-file -Dfile=<Location of Jar from step 2> -DgroupId=com.keplerrominfo.jira.plugins -DartifactId=katl-commons -Dversion=<Version of Jar> -Dpackaging=jar
Code Block language powershell theme Emacs title Example atlas-mvn install:install-file -Dfile=/var/atlassian/katl-commons-4.1.6-r20180917150405.jar -DgroupId=com.keplerrominfo.jira.plugins -DartifactId=katl-commons -Dversion=4.1.6 -Dpackaging=jar
...
Configuration
Adding functionality into SIL™ means that you need to create an Atlassian add-on. Add-ons are basically JAR files containing a descriptor (atlassian-plugin.xml). So let's create one, skipping the tools that Atlassian provides, because there's too much to be customized.
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
/* * File: ExamplePluginInfoService.java * Created by rdumitriu on 13.12.2016. */ package com.mycompany.silexample; import javax.annotation.Nonnull; import com.keplerrominfo.refapp.config.PluginInfoService; import org.springframework.stereotype.Component; /** * The plugin info service * * @author Radu Dumitriu (rdumitriu@gmail.com) * @version 1.0 * @since 1.0 */ @Component public class ExamplePluginInfoService implements PluginInfoService { @Nonnull @Override public String getKey() { return "com.mycompany.silexample"; } @Nonnull @Override public String getName() { return "SIL Example"; } } |
...