Unable to compile Jira source, and hence, Bugzilla Importer

Raye Raskin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 15, 2014
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
Daniel Wester
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 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.

0 votes
Raye Raskin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 15, 2014

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events