Has anyone got a recommended place to put project related jar files so they get picked up and used in a Brick-like project?
 
I'm trying to structure a project in a Brick-like manner (http://wiki.apache.org/cocoon/BricksCms) but struggling with how to incorporate the project specific jar files in a way that makes sense.
 
I noticed that some jar files have been placed in the following layout: -
 
  <project-dir> / lib / ** / *.jar     (e.g. lib/hivemind/* or lib/commons/* )
 
But when I adopt a similar strategy 'ant webapp' or 'ant run' fail to copy them to <project-dir> / build / cocoon / webapp / WEB-INF / lib as I would have expected and hence some of my project files fail to compile.
 
Also what if the release of Cocoon I'm using has an old version of a jar file and my project absolutely requires the latest version.  Should anything I put into the project lib directory override the Cocoon release version?
 
Regards,
David Legg