项目:JIRA插件破冰之旅

工具:研发提效、数据可视化、持续改进

项目:JIRA插件破冰之旅

项目管理工具之JIRA

第一步:安装JDK

http://openjdk.Java.net/install/index.html

https://openjdk.org/projects/jdk/

~ $ uname -a

~ $ javac -version

~ $ sudo apt install openjdk-16-jdk-headless

~ $ java -version

切换到可用的JDK版本(如果有多个的话)

~ $ sudo update-alternatives –config java

~ $ sudo update-alternatives –config javac

安装后所在目录:/usr/lib/jvm/

~ $ cat /etc/environment

JAVA_HOME="/usr/lib/jvm/java-16-openjdk-amd64"

~ $ source /etc/environment

~ $ echo $JAVA_HOME

卸载java指令:sudo apt remove openjdk-13-jdk

第二步:安装atlassian

~ $ sudo sh -c 'echo "deb https://packages.atlassian.com/debian/atlassian-sdk-deb/ stable contrib" >>/etc/apt/sources.list'

~$ sudo wget https://packages.atlassian.com/api/gpg/key/public

~$ sudo apt-key add public

~$ sudo apt-get update

~$ sudo apt-get install atlassian-plugin-sdk

https://developer.atlassian.com/server/framework/atlassian-sdk/install-the-atlassian-sdk-on-a-linux-or-mac-system/

~$ atlas-version

ATLAS Version: 8.2.8

ATLAS Home: /usr/share/atlassian-plugin-sdk-8.2.8

ATLAS Scripts: /usr/share/atlassian-plugin-sdk-8.2.8/bin

ATLAS Maven Home: /usr/share/atlassian-plugin-sdk-8.2.8/apache-maven-3.5.4

AMPS Version: 8.1.2

Executing: /usr/share/atlassian-plugin-sdk-8.2.8/apache-Maven-3.5.4/bin/mvn –version -gs /usr/share/atlassian-plugin-sdk-8.2.8/apache-maven-3.5.4/conf/settings.xml

Apache Maven 3.5.4

(1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T02:33:14 08:00)

Maven home:

/usr/share/atlassian-plugin-sdk-8.2.8/apache-maven-3.5.4

Java version: 16.0.1, vendor: Private Build, runtime: /usr/lib/jvm/java-16-openjdk-amd64

Default locale: en_US, platform encoding: UTF-8

OS name: "linux", version: "5.13.0-27-generic", arch: "amd64", family: "unix"

第三步:打开Hello World之旅

https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-helloworld-plugin-project/

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

(0)
上一篇 2022年12月22日 上午10:49
下一篇 2022年12月22日 上午11:02

相关推荐