>I am not sure, I get your problem. By default your EJB will not contain any >jars and if you declare your EJB as dependency for your EAR the latter will >contain the EJB as well as all transitive dependencies of this EJB.
You are right. I made an erroneous assumption that EJBs would be similar to wars (again I'm new to maven and EJBs). However the question still holds for war projects. How do I get dependencies to be placed in the ear? The best I can come up with is to declare the dependencies in the ear project pom with a scope of "compile", and then again in the war project pom, with a scope of "provided". Or is there a configuration setting for the war plugin that will tell it to package dependencies in the ear? Thanks. Dave
