I did notice (replying to my self) that the failing project is the only one
with an <excludes> on the surefile plugin.

On 1/5/06, Lee Meador <[EMAIL PROTECTED]> wrote:
>
> When I do 'mvn site' or 'mvn test' the tests run on all my projects. They
> don't fail.
>
> When I do 'mvn package', one test fails. Two projects (including the
> parent) have no tests. Then wo projects with tests succeed. Then two
> projects with no tests. And then the failure happens on the next project to
> build.
>
> The failure is due to a java.lang.NoClassDefFoundError pointing to a class
> that is in one of the earlier built projects' jar files. That jar file is in
> place and contains the class file. When I do -e -X it shows the classpath on
> the test run and that jar file (the one with the class that can't be found)
> is listed.
>
> I have a parent/base project and a bunch of child projects sitting in
> folder beside the folder for the parent. That leaves a lot of ".."s in the
> POMs but hasn't been a problem to this point.
>
> I don't know where to go from here. Help?
>
> Thanks.
>
> -- Lee Meador
> Sent from gmail. My real email address is [EMAIL PROTECTED]




--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]

Reply via email to