Howto add an own jar to my binding

Hello,

A few years ago I implemented an accounting system for our business. Therefore I implemented the business code in an own project (jar).

I put an symbolic link in the lib folder and added the jar to the eclipse build path -> Eclipse is happy…

How can I add the jar, so the maven clean install will repack the jar in my binding archive?
To put the jar into the global classpath is not an option, because there are dependencies that might
conflict with openhab. (e.g. mysql, log4j, apache-commons-io etc.)

Thanks in Advance
Jens Riebold

Put it into the “lib” directory of your binding, and add a reference to the jar file into build.properties.

The rest will happen automagically.

Thank you very much!
It works!

Jens