RE: b10 problem compiling (resources:copy missing)

2003-07-22 Thread Lester Ward
 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]



b10 problem compiling (resources:copy missing)

2003-07-21 Thread Lester Ward
I just installed a virgin copy of b10. When running various goals (site,
java:jar, etc), I get the following failure:

BUILD FAILED
File.. file:/C:/Documents and
Settings/lward/.maven/plugins/maven-test-plugin-1.3/
Element... resources:copy
Line.. 299
Column 11
java.lang.NullPointerException
Total time:  9 seconds

Near as I can tell, the last few lines of the
maven-test-plugin-1.3/plugin.jelly file invoke a goal called
resources:copy, which does not seem to exist anywhere. When I do a maven
-g, nothing like that shows up in the list.

So, is the test plugin code wrong? Or is the problem that there really
should be a resources:copy somewhere? Or is there some new configuration I
don't know about? Or something else?

Any ideas?

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