maven ear no libs included

Problem: even though you have the ear plugin configured with

<defaultJavaBundleDir>APP-INF/lib</defaultJavaBundleDir>

your libs still are not assembled into the ear file.

Probable solution: in my case it was the

<scope>prodived</scope>

for some of the dependencies that prevented the *.jar file from being added to the ear file. Solution is to change the scope (or leave the default one, than the libs will be included).

Posted by wojtek Fri, 27 Mar 2009 10:38:00 GMT




Comments

Leave a response

Leave a comment