When I looked into the plugin.jelly file of maven-test-plugin-1.3, I tried out to add a unit test section to my project.xml. After adding
<unitTest>
<includes>
<include>**/Tests.java</include>
</includes>
</unitTest>


its working without exception...


Mirko Novakovic wrote:


Hi,

I've problems with the test plugin. Either test:compile or test:test fail with an exception:
BUILD FAILED
File...... file:/C:/WINNT/Profiles/xd99304/.maven/plugins/maven-test-plugin-1.3/


Element... resources:copy
Line...... 299
Column.... 11
java.lang.NullPointerException
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [test:test-res
ources] -- file:/C:/WINNT/Profiles/xd99304/.maven/plugins/maven-test-plugin-1.3/
:299:11: <resources:copy> java.lang.NullPointerException
at com.werken.werkz.Goal.fire(Goal.java:646)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
434)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:525)
at org.apache.maven.cli.App.main(App.java:1088)
at java.lang.reflect.Method.invoke(Native Method)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)


Any ideas?

Thanks.
Mirko


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





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



Reply via email to