[Cosmo] Building Cosmo - error in
osaf-commons-jackrabbit-maven-plugin
Brian Moseley
bcm at maz.org
Sun Feb 12 05:10:36 PST 2006
On 2/10/06, Mark Slater <lists at humanesoftware.com> wrote:
> I've just checked out the SVN source for cosmo and ran the maven
> build and maven test without problems. I was trying to run maven:site
> to generate all the reports and start poking around and I got this
> error during the process (I've tried to cut out as much duplicate
> stuff as possible):
<snip>
> I'm using maven 1.0.2. I checked my .maven/repository, and there's
> commons-collections-2.1.jar and commons-collections-3.1.jar there. My
> ${MAVEN_HOME}/lib has commons-collections-2.1.jar.
we don't actually use maven to generate a site or look at the reports,
so i never noticed the problem before ;) i bet one of the plugins used
by the site goal requires commons-collections-2.1.jar, and when the
site goal runs the test:test goal, it doesn't create a new classpath
for junit with just the test dependencies.
i worked around the issue by running `maven -Dmaven.test.skip=true
site'. since `maven test' succeeds, this seems okay, but i'm going to
follow up with the maven list to see if i can't fix the problem.
and now i'm motivated to start running the site goal so that we can
use the reports and javadocs. thanks for the prod ;)
More information about the Cosmo
mailing list