Missed Team ’24? Catch up on announcements here.

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

Which version of active objects should I write on pom.xml?

nsacerdote December 12, 2012

If you are developing a plugin for Jira 5+ (5.0, 5.1, 5.2, etc) which version of active objects should you write on your pom.xml?

At the moment my pom.xml looks like:

<dependency>
	<groupId>com.atlassian.activeobjects</groupId>
	<artifactId>activeobjects-plugin</artifactId>
	<version>0.18.4</version>
	<scope>provided</scope>
</dependency>

What happens if someone install my plugin and they have Jira 5.2 (AO 0.19.16?) ? Will it work because 0.19.16 > 0.18.4?

I found this relevant documentation about this topic, but couldn't find version for Jira 5+:

https://developer.atlassian.com/display/AO/Adding+the+maven+dependency

https://developer.atlassian.com/display/AO/AO+0.18.x+Upgrade+Guide

5 answers

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
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2012

Yep, you cannot just set it and forget it, something may change, you have to monitor the dependencies in the target product and update your application markup to 'keep up' with the product. A later version is not guaranteed to work, after all, it changed, you have to get it and check it.

This is why plugins have compatibility matrixes, as developers say 'you need JIRA 5.2+ for this plugin, because of an updated library'. Of course, the fun starts when you dont do that, because youre testing shows its 'all good' despite the version change. A dangerous game but certainly possible.

BTW, I too have been using 0.19.7 for all 5.0+ development...

nsacerdote December 13, 2012

Ok, I'll use 0.19.7 for my plugin and check with new versions to see if works, thanks!

1 vote
Thomas Schroeder November 13, 2013

A grep / find in my maven repository revealed the following versions:

| Confluence | AO |

| 4.3.6 | 0.19.12 |

| 5.2.5 | 0.22.2 |

| 5.3.2 | 0.24-m4-confluence |

1 vote
sm shamim December 12, 2012

I am using 0.19.7 for 5.0 and it should work with all 5+ version.

0 votes
Thomas Schroeder November 13, 2013

Is there somewhere now a kind of version matrix? I am still struggling to find the correct version of AO which will work with my version of confluence (5.2.5).

0 votes
Mizan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2012

I have a plugin with depency as below and it works well on 5.1.8

<dependency>
  <groupId>com.atlassian.activeobjects</groupId>
  <artifactId>activeobjects-plugin</artifactId>
  <version>0.9.6</version>
  <scope>provided</scope>
</dependency>

Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2012

It may work, but its not what 5.1.8 ships with, that would be 0.19.7.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events