我想从2.0.0-m2升级到最新版本的Java Jira客户端。我需要做什么?
答案 0 :(得分:2)
通过以下方式更新当前依赖于Jira客户端的项目的pom:
<repositories>
<repository>
<id>atlassian-public</id>
<url>https://maven.atlassian.com/content/repositories/atlassian-public/</url>
</repository>
</repositories>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-parent</artifactId>
<version>2.0.0-m31</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-api</artifactId>
<version>2.0.0-m31</version>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-api</artifactId>
<version>2.0.0-m31</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-core</artifactId>
<version>2.0.0-m31</version>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-core</artifactId>
<version>2.0.0-m31</version>
<classifier>sources</classifier>
</dependency>