Is there a way to deploy dependent JARS with a project deployment. For example, our EJB manifest has a classpath entry which specifies the dependent jars it needs. Subsequently, we have constructed our EAR project to look like:
EAR
|-EJB.jar
|-lib
| |-jar1.jar
| |-jar2.jar
|-WAR.war
The lib directory needs to be deployed along with the deployment of the EAR. Is there a way to add this to the deployment process. The jars can not be added to the server system classpath due to class visibility issues.