Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Converting Jira Plugin 1 to Plugin 2

Rahul Aich [Nagra]
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.
January 9, 2013

Hi All

I have recently upgraded a jira plugin and when I placed it uner the installed_plugins directory(usual place to put the plugins 2 type plugins) I received an error message that it could not load the plugin and I copy over the jar to WEB-INF/lib directory (usual place to keep plugin 1 type)

My question is how do I make a plugin type-2 compatible?

Note: Functionally my upgraded plugin is running fine

Rahul

2 answers

1 accepted

0 votes
Answer accepted
Dieter
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.
January 9, 2013

Depending on the type of your plugin it might be sufficient to just add plugins-version="2" to your atlassian-plugin.xml

<atlassian-pluginkey="com.atlassian.confluence.plugins.example"name="Example Plugin" plugins-version="2">

Rahul Aich [Nagra]
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.
January 9, 2013

Thanks. Go it. I am sure it will work then.

Rahul

0 votes
Rahul Aich [Nagra]
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.
January 9, 2013

Thanks. Go it. I am sure it will work then.

Rahul

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events