Missing resources jndi and jta - atlas-run

Jan Prokeš
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.
November 14, 2012

Hi there,

I try to run development jira instance, but I got an error

[INFO] Unable to find resource 'jndi:jndi:jar:1.2.1' in repository central (http://repo1.maven.org/maven2)
[INFO] Unable to find resource 'jta:jta:jar:1.0.1' in repository central (http://repo1.maven.org/maven2)

When I try to install resource manually via this command

atlas-mvn install:install-file -DgroupId=jndi -DartifactId=jndi -Dversion=1.2.1 -Dpackaging=jar -Dfile=d:\jndi-1.2.1.jar

I got this error msg

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Invalid task 'jndi': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVers
ion:goal

Thank you very much for any help, Jan

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Nitram
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.
November 14, 2012

Hi,

Please check this link,

https://answers.atlassian.com/questions/68542/building-jira-5-1-from-source-build-error

I think this will be helpfull.

Jan Prokeš
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.
November 14, 2012

Hi,

it was not exactly the same problem, but it pushed me to solve the issue. As far as I know there are no jndi and jta artefacts on maven repo anymore, anyway I have copied them to my local repository from backup and it seems, that it works as it should.

Thanks

3 votes
Narendra S September 20, 2018

Download the jar/class files jta.jar. If jar is not available download class file jta-1_0_1Class.zip from http://www.oracle.com/technetwork/java/javaee/jta/index.html rename the zip file to jar jta-1_0_1B.jar

 

Run maven command.

mvn install:install-file -DgroupId=jta -DartifactId=jta -Dversion=1.0.1 -Dpackaging=jar -Dfile=jta-1_0_1B.jar

hellboy007 January 11, 2019

and what about jndi?

Турчинов Иван March 20, 2019

You can copy both from ....\Atlassian\atlassian-plugin-sdk-8.0.7\repository\ and put them in ...\.m2\repository\

Like aikunim likes this
TAGS
AUG Leaders

Atlassian Community Events