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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

743 views 1 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