Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

stash-rest-common for bitbucket server?

David Schlesinger December 22, 2015

In my pom.xml of certain stash plugins, I used to include the following block:

<dependency>
    <groupId>com.atlassian.stash</groupId>
    <artifactId>stash-rest-common</artifactId>
    <scope>provided</scope>
</dependency>

 

I'm currently upgrading my plugins to Bitbucket server. Is there an equivalent of stash-rest-common? I'm having trouble finding one.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Felix
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 22, 2015

Hi David, 

in Bitbucket Server, stash-rest-common has been broken down into:

&lt;dependency&gt;
    &lt;groupId&gt;com.atlassian.bitbucket.server&lt;/groupId&gt;
    &lt;artifactId&gt;bitbucket-rest-api&lt;/artifactId&gt;
    &lt;scope&gt;provided&lt;/scope&gt;
&lt;/dependency&gt;

and

&lt;dependency&gt;
    &lt;groupId&gt;com.atlassian.bitbucket.server&lt;/groupId&gt;
    &lt;artifactId&gt;bitbucket-rest-model&lt;/artifactId&gt;
    &lt;scope&gt;provided&lt;/scope&gt;
&lt;/dependency&gt;

Depending on what functionality you need, you'll need to import one or both of these artifacts.

 

I hope this helps, 

Felix Haehnel 
Graduate Developer 
Bitbucket Server 

David Schlesinger December 22, 2015

Thanks! That helped a lot.

TAGS
AUG Leaders

Atlassian Community Events