powered by Jive Software

Maven openfire plugin jar builder

Hi Guys,

I have been trying to build a plugin using the maven openfire plugin seen here http://maven.reucon.com/projects/public/maven-openfire-plugin/1.0.0/

I tried using this plugin with openfire 3.4.5 and successfully built a

jar of my plugin but this jar does not deploy into openfire. Should

this maven-plugin work with openfire 3.4.5?

I built the jar using the ant task from the openfire source code and using the maven-build-plugin.

Comparing the jars shows that the one built with maven-build-plugin has

a different structure, Did the stucture of deploying jars change from

openfire version 3.3.0 to 3.4.5 i wonder. As 3.3.0 is the openfire

version the maven-build source code uses as an example.

Any advice?

best

Mark

Hm maybe a bit late, but if its still an issue could you detail the differences?

Its been a while since i looked at it but i think the jar build with the maven plugin had a structure of folders starting with the class packages, then had on the same level a meta-inf folder with further packages in that as well as the plugin.xml.

packages, packages, meta-inf

While the ant build task build a jar containing a folder full of dependencies such as jar files and the application as a jar. and a plugin.xml on the top level with that.

so it would look like, lib, plugin.xml, meta-inf .

Best

Mark