Maven dependency for jira-rest-java-client-0.2-m1.jar

后端 未结 1 872
走了就别回头了
走了就别回头了 2020-12-21 16:06

I want to download jira-rest-java-client-0.2-m1.jar using maven. But I dont know the dependency for that.

I tried the following


           


        
相关标签:
1条回答
  • 2020-12-21 16:35

    Looks like you can probably just add Atlassian's public repo to your settings.xml or your pom.xml.

    From: https://developer.atlassian.com/display/DOCS/Atlassian+Maven+Repositories, the url for the public repo is http://maven.atlassian.com/public

    Google searches also suggest this repo URL might work as well: https://repository.atlassian.com/maven2

    For example to add to your project's pom.xml, you would add the following as a child of <project>:

    <repositories>
      <repository>
        <id>central</id>
        <name>Atlassian Public Repository</name>
        <layout>default</layout>
        <url>http://maven.atlassian.com/public</url>
        <snapshots>
          <enabled>false</enabled>
        </snapshots>
      </repository>
    </repositories>
    

    (If you already have a repositories section, then you would just add the repository to it). Here is the documentation for the pom if you would like a little more info: http://maven.apache.org/guides/introduction/introduction-to-the-pom.html

    0 讨论(0)
提交回复
热议问题