How to build and install jira system plugin from source?

Hi,

I am trying to build the JIRA full source code from version 7.2.8. After finishing building it successfully by the command ./build.sh, I found that the system plugin source codes, such as jira-greenhopper-plugin-7.2.8-DAILY20170306163314-sources.jar, jira-quick-edit-plugin-3.2.0-sources.jar, in the dirictory dependencysources haven't been built and packed into the final war package. 

Could anyone to tell me how could I build the source codes in the dependencysources directory and install them into the JIRA software? 

 

1 answer

0 votes

Hi wangchaodi,

From the Building JIRA from source article the only buildable part of the source package is JIRA itself, not its dependencies.

If you're running into build errors that complain about the add-ons:

On rare occasions, however, the build process may fail and you may receive an error similar to the one encountered when an Atlassian product is unable to install a plugin from Atlassian's public Maven repository. This problem is caused by the JVM being unable to access its default 'cacerts' file, which contains a certificate that trusts Atlassian's public Maven repository.

To resolve the above:

  1. Try one of the solutions mentioned in the Confluence Knowledge Base article: Unable to Install Plugin Due to Maven SSL.
  2. If that does not resolve the problem, you may have a 'jssecacerts' file which does not contain a certificate that trusts Atlassian's public Maven repository. If a 'jssecacerts' file is present in your JVM, the 'cacerts' file may be ignored.

Cheers,

Branden

Hi Branden,

Thank you for your help. As you say, if the source code in the dependencies couldn't be build with the JIRA source, how can I build them by myself? And how does your install package of atlassian-jira-software-7.3.3-x64.bin be made?

Besides, when I deplyed the jira software war file which had been built with your source by myself, I found that there was no software project type and I didn't use the backlog, sprint feature and so on for software development management. The attachment file could show this. How could I resolve this problem? Is there any other configuration should I do?

lack-software-project-type-1.JPGlack-software-project-type-2.JPG

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,959 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot