It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't build JIRA 7.1.0 from source

Alex Shchagin Feb 13, 2016

It fails on JIRA Board plugin with the message:

Traceback (most recent call last):
  File "./", line 10, in <module>
  File "../../../../jmake_src/node/", line 25, in run_command
    raise NodeRegistryMisconfiguredException("Atlassian NPM registry not configured, please refer to or type:\n\n\n\n\tnpm login --registry= --scope=atlassian\n\n\n")
node.NodeVersionChecker.NodeRegistryMisconfiguredException: Atlassian NPM registry not configured, please refer to or type:
	npm login --registry= --scope=atlassian

If I try to issue

npm login --registry= --scope=Atlassian 

command it asks for a username and a password which I obviously do not have.

Mentioned pages are also not available.

Anything I can do with it?

3 answers

0 votes
Audrius Idzelis Mar 16, 2016

Alexander Shchagin -did you manage to solve this issue ? I see the  same problem is still present in 7.1.1 and 7.1.2 releases.

0 votes
Oswaldo Hernandez Atlassian Team Mar 28, 2016

Hi @Alexander Shchagin (quisapps) / @Audrius Idzelis,

This is caused by a bug, we have already been made aware of it and we are currently working on a fix.

The bug is being tracked at




Oswaldo Hernández.

JIRA Bugmaster.


0 votes
Jessica Bartsch Nov 07, 2016

@Alexander Shchagin (quisapps) - how did you get past it complaining about the 'exec (exec-npm-install) on project jira-board-plugin: Command execution failed. Cannot run program "python3"' to get to the NPM problem?

Alex Shchagin Nov 07, 2016

Well here's the patch that makes JIRA 7.1.x buildable:

# HG changeset patch
# User alex
# Date 1463673850 -10800
#      Thu May 19 19:04:10 2016 +0300
# Node ID 0b091fca59decf83305ec6ead6dcef26c0dfcc4e
# Parent  c3bd363d1c3bd134c175ad48748e9b9ae3f2ef16
JIRA 7.1.7 POMs fixed to allow building
diff -r c3bd363d1c3b -r 0b091fca59de jira-source/atlassian-jira-7.1.7-source/jira-project/jira-components/jira-plugins/jira-board-plugin/pom.xml
--- a/jira-source/atlassian-jira-7.1.7-source/jira-project/jira-components/jira-plugins/jira-board-plugin/pom.xml	Thu May 19 19:03:26 2016 +0300
+++ b/jira-source/atlassian-jira-7.1.7-source/jira-project/jira-components/jira-plugins/jira-board-plugin/pom.xml	Thu May 19 19:04:10 2016 +0300
@@ -132,7 +132,7 @@
@@ -190,6 +190,7 @@
\ No newline at end of file
diff -r c3bd363d1c3b -r 0b091fca59de jira-source/atlassian-jira-7.1.7-source/jira-project/jira-components/jira-plugins/jira-fileviewer-plugin/pom.xml
--- a/jira-source/atlassian-jira-7.1.7-source/jira-project/jira-components/jira-plugins/jira-fileviewer-plugin/pom.xml	Thu May 19 19:03:26 2016 +0300
+++ b/jira-source/atlassian-jira-7.1.7-source/jira-project/jira-components/jira-plugins/jira-fileviewer-plugin/pom.xml	Thu May 19 19:04:10 2016 +0300
@@ -43,8 +43,8 @@
             <!--Specifics for File Preview-->
-                <!-- Install npm modules first -->
@@ -87,6 +87,7 @@
Jessica Bartsch Nov 08, 2016

@Alexander Shchagin (quisapps) - can you point me to where you found this? When I refer to the ticket it doesn't expose a lot, other then it was resolved in 7.2.0. Thank you!


If this helps someone else I got further, it then fussed about the 2nd step in the build.bat file (call mvn325.bat clean install -f jira-project/jira-components/jira-webapp/pom.xml -Dmaven.test.skip -Pbuild-from-source-dist -Dmaven.test.skip -s %SETTINGSFILE% -Dmaven.repo.local=%cd%\%LOCALREPO% %* )

[WARNING] The requested profile "build-from-source-dist" could not be activated because it does not exist. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1 :clean (default-clean) on project atlassian-jira-webapp: Failed to clean project : Failed to delete C:\Users\xxxxxx\test\jira-project\jira-components\jira-weba pp\target\jira\WEB-INF\classes\com\atlassian\jira\workflow -> [Help 1]

The following POM file: /jira-source/atlassian-jira-7.1.7-source/jira-project/jira-distribution/jira-source-distribution/pom.xml doesn't have a profile named: build-from-source-dist but it does have:









I updated my build.bat to reference that ID instead: call mvn325.bat clean install -f jira-project/jira-components/jira-webapp/pom.xml -Dmaven.test.skip -Pbuild-source-distribution -Dmaven.test.skip -s %SETTINGSFILE% -Dmaven.repo.local=%cd%\%LOCALREPO% %*

Then I reran my build.bat and eventually the Build was successful.

Alex Shchagin Nov 08, 2016

@Jessica Bartsch It's my own :) For me, applying this patch was enough for the build to succeed; however, I build under Linux.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

977 views 12 15
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you