Problema to import Plugin

David Melo May 29, 2017

Someone can help me? 

 

I developed a plugin in Stash it's ok, but now i'm migrating to Bitbucket. 

I do the changes in the code but show me the message of error: 

DefaultPluginInstallationService Plugin installation failed: Jar contained neither an atlassian-plugin.xml nor a Bundle-SymbolicName

 

 

2 answers

0 votes
David Corino April 23, 2018

My problem was code. 

 

I solved, and now import correctly. 

Matti Kiviharju
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.
April 23, 2018

which file it was? in atlassian-plugin.xml or in some Java file?

Lucas Rodrigues de Oliveira
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.
November 27, 2018

Hi,

when i was create my .JAR file it was incorrect, the "META-INF" folder was out of the root structure.   

I resolve this with this command to create my .JAR file:

     on the folder of files for your jar run that:

jar -cfv [yourFileName.jar] *

 

The correct is like that: 

Screen Shot 2018-11-27 at 19.37.01.png

 

But it was like that:

Screen Shot 2018-11-27 at 19.40.35.png

0 votes
Matti Kiviharju
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.
April 23, 2018

I have a same problem. Somehow atlassian-plugin-xml mising from installation .jar file.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events