> 3) Added dependency to EJB module project for Commons
> Logging (session bean created in step 2 now compiles
As specification says, you can not package jar library in jar (practice says you can). Please, check if Commons Logging was packed in EJB jar (unzip the jar). I am pretty sure, maven did not do that. As you package EJB jar in EAR, the simplest solution is to add Commons Logging to EAR (add dependency and jarModule)
<jarModule>
<groupId>groupID</groupId>
<artifactId>artifactId</artifactId>
<bundleDir>folder in EAR you want to place this JAR/</bundleDir>
</jarModule>
But, if you want to add this library to EJB jar, use dependency plugin to copy jar file to target/classess before package phase
Regards
Marcin Kwapisz
[Message sent by forum member 'mkwapisz']
http://forums.java.net/jive/thread.jspa?messageID=476366