Rest api plugin upload error

Hi there, I have downloaded the plugin source code and have built the jar file (making zero changes to the project file) and when i upload to openfire through admin portal I am getting this error

org.jivesoftware.openfire.container.PluginManager - Error installing plugin ‘restAPI.jar’: Unable to find ‘plugin.xml’ in archive.

Please help !! Thanks again in advance!!

Which artifact did you upload? The -openfire-plugin-assembly.jar one is the one you want to upload, but first rename it to just restAPI.jar

Hey, thanks this worked!!!