Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-43031

Update jta dependency in jira-project pom.xml to a version that is available on public maven repositories

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      When we're attempting to use the jira-api jar in maven via

      {{<dependency>
      <groupId>com.atlassian.jira</groupId>
      <artifactId>jira-api</artifactId>
      <version>6.4.2</version>
      <scope>provided</scope>
      </dependency>}}

      We get the error:

      org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find jta:jta:jar:1.0.1

      Which is a dependency that is pulled in from https://maven.atlassian.com/content/groups/public/com/atlassian/jira/jira-project/6.4.2/jira-project-6.4.2.pom

      It looks like jta version 1.0.1 has been removed from all of the public maven repositories. Can you update this dependency in jira-project to be jta version 1.0.1B which is available on your maven repository at https://maven.atlassian.com/content/groups/public/jta/jta/1.0.1B/jta-1.0.1B.pom

      Or just fix the dependency relocation altogether so the dependency is

      <groupId>javax.transaction</groupId>
      <artifactId>jta</artifactId>
      <version>1.0.1B</version>

      which is available on mvn central.

      Related issues/answers:
      https://answers.atlassian.com/questions/106630/missing-resources-jndi-and-jta-atlas-run
      https://answers.atlassian.com/questions/68542/building-jira-5-1-from-source-build-error

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              frogaczewski Filip Rogaczewski (Inactive)
              Votes:
              14 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: