> I ran into this yesterday. It turned out that my project.xml 
> was missing
> its <build> tag. I inserted <build/> at the end and all is well.

I had a build tag already, but this did lead me to the solution.

My build tag had an (evidently) outdated tag in it (probably from beta 7,
not sure):
      <unitTestPatterns>
         <unitTestPattern>**/*Test.java</unitTestPattern>
      </unitTestPatterns>

I changed this to what appears to be the new format:
      <unitTest>
         <includes>**/*Test.java</includes>
      </unitTest>

Now it works fine. 

I couldn't find any documentation on this format change, so I'm not sure if
the <unitTestPatterns> was always wrong, or if this just changed recently.
In any case, it appears that Maven would benefit from doing an XML
validation on the project.xml file. Would have saved me a great deal of
time.

Wordman

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to