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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,967 views 19 22
Read article

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