I'm not sure what this solution was. In geronimo we have a
"repository" subproject for stuff that isn't published. it has a
repository inside and the pom has dependencies on all of these jars,
and a <repository> tag pointing to it. Building this project gets
all the dependencies into your local maven repo. We don't think this
is close to ideal but it works.
This was also an idea we had but I don't know if it's a good idea as the server behind is not really built to serve as Maven repository (which implies a lot of traffic).