Unable to compile Jira source, and hence, Bugzilla Importer

This is holding up our migration from Bugzilla to Jira. I did some searching on how to modify the source code for the Bugzilla importer. The only real good documentation I found was for Jira 4.2, which did not work. So I downloaded the entire Jira atlassian-jira-6.1.3-source and tried compiling from the top. I did this on a machine with Ant on it – not the Jira server machine. I got errors – but all I want to do it rebuild the Bugzilla Importer portion, not the entire thing.

I have installed all the developer environment but still get these errors. All ok up to this point:

Building jira-compatibility-6
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Atlassian JIRA - Plugins - Issue Navigation Components - JIRA 6 Bridge
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
Downloading: https://m2proxy.atlassian.com/repository/public/jta/jta/1.0.1/jta-1.0.1.pom<br< a="">>[INFO] Unable to find resource 'jta:jta:pom:1.0.1' in repository atlassian-proxy (https://m2proxy.atlassian.com/repository/public)<br< a="">>Downloading: https://m2proxy.atlassian.com/contrib/jta/jta/1.0.1/jta-1.0.1.pom<br< a="">>[INFO] Unable to find resource 'jta:jta:pom:1.0.1' in repository atlassian-contrib (https://m2proxy.atlassian.com/contrib)<br< a="">>Downloading: http://repo1.maven.org/maven2/jta/jta/1.0.1/jta-1.0.1.pom<br< a="">>[INFO] Unable to find resource 'jta:jta:pom:1.0.1' in repository central (http://repo1.maven.org/maven2)<br< a="">>Downloading: https://m2proxy.atlassian.com/repository/public/jndi/jndi/1.2.1/jndi-1.2.1.pom<br< a="">>[INFO] Unable to find resource 'jndi:jndi:pom:1.2.1' in repository atlassian-proxy (https://m2proxy.atlassian.com/repository/public)<br< a="">>Downloading: https://m2proxy.atlassian.com/contrib/jndi/jndi/1.2.1/jndi-1.2.1.pom<br< a="">>[INFO] Unable to find resource 'jndi:jndi:pom:1.2.1' in repository atlassian-contrib (https://m2proxy.atlassian.com/contrib)<br< a="">>Downloading: http://repo1.maven.org/maven2/jndi/jndi/1.2.1/jndi-1.2.1.pom<br< a="">>[INFO] Unable to find resource 'jndi:jndi:pom:1.2.1' in repository central (http://repo1.maven.org/maven2)<br< a="">>Downloading: https://m2proxy.atlassian.com/repository/public/jta/jta/1.0.1/jta-1.0.1.jar<br< a="">>Downloading: https://m2proxy.atlassian.com/repository/public/jndi/jndi/1.2.1/jndi-1.2.1.jar<br< a="">>[INFO] Unable to find resource 'jndi:jndi:jar:1.2.1' in repository atlassian-proxy (https://m2proxy.atlassian.com/repository/public)<br< a="">>Downloading: https://m2proxy.atlassian.com/contrib/jndi/jndi/1.2.1/jndi-1.2.1.jar<br< a="">>[INFO] Unable to find resource 'jta:jta:jar:1.0.1' in repository atlassian-proxy (https://m2proxy.atlassian.com/repository/public)<br< a="">>Downloading: https://m2proxy.atlassian.com/contrib/jta/jta/1.0.1/jta-1.0.1.jar<br< a="">>[INFO] Unable to find resource 'jndi:jndi:jar:1.2.1' in repository atlassian-contrib (https://m2proxy.atlassian.com/contrib)<br< a="">>Downloading: http://repo1.maven.org/maven2/jndi/jndi/1.2.1/jndi-1.2.1.jar<br< a="">>[INFO] Unable to find resource 'jndi:jndi:jar:1.2.1' in repository central (http://repo1.maven.org/maven2)<br< a="">>[INFO] Unable to find resource 'jta:jta:jar:1.0.1' in repository atlassian-contrib (https://m2proxy.atlassian.com/contrib)<br< a="">>Downloading: http://repo1.maven.org/maven2/jta/jta/1.0.1/jta-1.0.1.jar<br< a="">>[INFO] Unable to find resource 'jta:jta:jar:1.0.1' in repository central (http://repo1.maven.org/maven2)<br< a="">>[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) jndi:jndi:jar:1.2.1

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=jndi -DartifactId=jndi -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/t...































http://repo1.maven.org/maven2),<br< a="">> atlassian-contrib (https://m2proxy.atlassian.com/contrib),<br< a="">> atlassian-proxy (https://m2proxy.atlassian.com/repository/public)<br< a="">>


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Wed Jan 15 13:29:18 PST 2014
[INFO] Final Memory: 30M/72M
[INFO] ------------------------------------------------------------------------

2 answers

This widget could not be displayed.
Daniel Wester Community Champion Jan 15, 2014

Step #6 at https://confluence.atlassian.com/display/JIRA/Building+JIRA+from+Sourcehas the dependencies that you need to install and how to install them.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

172 views 1 3
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