Before we dive into creating a plugin, you'll need to configure a local development environment so you can use the Atlassian SDK.
Note: these instructions are for Windows 10.
The environment variable specifies the location of the JDK on your system. You can reference either Java SE Development Kit (JDK) 8 or AdoptOpenJDK 8. For Windows users, the default directory is , where x_y is the Java JDK 8 version you have installed.
To set these environment variables:
Open a new Command Prompt window, and run the following command:
C:\Users\manthony>javac -version javac 1.8.0_91
verify that your output is similar to what appears above.
Open a Command Prompt window, and run the following command:
You should see something similar to:
1 2 3 4 5 6 7 8 9 10 11 12 13
ATLAS Version: 6.2.9 ATLAS Home: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9 ATLAS Scripts: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\bin ATLAS Maven Home: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1 AMPS Version: 6.2.6 -------- Executing: "C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1\bin\mvn.bat" --version -gs C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1/conf/settings.xml Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-15T04:37:52+10:00) Maven home: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1\bin\.. Java version: 1.8.0_91, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.8.0_91\jre Default locale: en_AU, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
You now have a local development environment configured for the Atlassian SDK and you're ready to build your first plugin!
Need help? Request support at Developer Technical Support Portal