tags:

views:

880

answers:

1

I have a Java project which I've used Maven2 and the assembly plugin to help with compiling and packaging, theres quite a few dependencies so its quite a nightmare to manage especially since im quite new to Maven.

Anyway, Im using a Java library which has an accompanying native Windows library (DLL) and im trying to work out how to specify the native library as a dependency or something so that it exists on the path and my application can use the library at runtime.

Any help would be appreciated!

+5  A: 

Check out these blog posts on how to handle Maven and Native Libraries and an update with improvements - the blog's author shows how he accomplished this on a project using JDIC (Java Desktop Integration Components) - which has native bindings.

Nate
This might help as well: ( http://blog.codeeg.com/2008/06/28/25-things-i-hate-about-maven/ )
Kieveli
Maybe this will too - http://jbrugge.com/blog/2008/02/19/the-joy-and-sorrow-that-is-maven/ - and rather than be disingenuous like Kieveli - this is a rather more balanced post on why so many developers either love or hate Maven.
Nate
thanks will check out all the links and see what i can find
sixones