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

1 vote

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
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...

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