I recently fixed this in the java plugin. It looks like it's an issue for 
test too.

Add a <build/> element to your POM and I think that will fix it.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


"Mirko Novakovic" <[EMAIL PROTECTED]> wrote on 23/07/2003 
09:35:26 PM:

> 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]
> 

Reply via email to