Building/deploying a EJB .jar with its dependencies
问题 I am new to Java EE. I use Maven, Eclipse and jBoss/WildFly. I have a war project. When I build the project all its dependencies are packaged inside the war file in WEB-INF/lib . Now I am trying to create a ejb project (I have <packaging>ejb</packaging> in the pom.xml ). I want to deploy it as a separate project (not as a part of the war ). When I build the ejb project Maven does not package any dependencies in the jar . How can I package/deploy a ejb .jar with its dependencies ? UPDATE: I'd