Missing resources jndi and jta - atlas-run

Fabiano Nascimento Leite November 22, 2019

I have same problem that link:

https://community.atlassian.com/t5/Answers-Developer-Questions/Missing-resources-jndi-and-jta-atlas-run/qaq-p/547867

 

atlas-run build failure:

{code}

C:\Users\fabianoleite\ideal_workspace\jira-plugin-exemplos>atlas-run
[INFO] Project POM found
Executing: "C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.16\apache-maven-3.5.4\bin\mvn.cmd" com.atlassian.maven.plugins:amps-dispatcher-maven-plugin:8.0.2:run -gs C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.16\apache-maven-3.5.4/conf/settings.xml
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< com.brq:jira-plugin-exemplos >--------------------
[INFO] Building jira-plugin-exemplos 1.0.0.0
[INFO] --------------------------[ atlassian-plugin ]--------------------------
[INFO]
[INFO] >>> amps-dispatcher-maven-plugin:8.0.2:run (default-cli) > package @ jira-plugin-exemplos >>>
[WARNING] The POM for jta:jta:jar:1.0.1 is missing, no dependency information available
[WARNING] The POM for jndi:jndi:jar:1.2.1 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.962 s
[INFO] Finished at: 2019-11-22T13:59:15-02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jira-plugin-exemplos: Could not resolve dependencies for project com.brq:jira-plugin-exemplos:atlassian-plugin:1.0.0.0: The following artifacts could not be resolved: jndi:jndi:jar:1.2.1, jta:jta:jar:1.0.1: Failure to find jndi:jndi:jar:1.2.1 in https://maven.atlassian.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of atlassian-public has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

{code}

1 answer

0 votes
Ali Bugra Topcuoglu May 7, 2020

Hi Fabiano,

 

You can use this param with your command.

 

-Dmaven.repo.local="your repo location"

Suggest an answer

Log in or Sign up to answer