Thanks for your quick reply, Benjamin.

According to the resource plugin v2.3, 
http://maven.apache.org/plugins/maven-resources-plugin/testResources-moj
o.html

there is a required outputDirectory parameter:
http://maven.apache.org/plugins/maven-resources-plugin/testResources-moj
o.html#outputDirectory

and it used to work in 2.0.9. For now, I've removed it and it seems to
work without it, it'd be good to reconcile the documentation w/ the
model. I'd be happy to do this (I haven't done it before, so I'll need
instructions).

Steve

-----Original Message-----
From: Benjamin Bentmann [mailto:benjamin.bentm...@udo.edu] 
Sent: Wednesday, March 25, 2009 12:07 PM
To: Maven Developers List
Subject: Re: Maven 2.1.0 regression issue w/ testResources
outputDirectory

Steve Ariantaj wrote:

> I'm getting the following error with maven 2.1.0. Pom chunk pasted
> below.
>   <build>
>     <testResources>
>
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
> 
> Did outputDirectory element's name/order got changed in 2.1.0? This
was
> working fine in 2.0.9. 

Compare the Maven Model Reference [0]:

   <testResources>
     <testResource>
       <targetPath/>
       <filtering/>
       <directory/>
       <includes/>
       <excludes/>
     </testResource>
   </testResources>

There is no <outputDirectory> element as a child of <testResources>.


Benjamin


[0] http://maven.apache.org/ref/2.0.8/maven-model/maven.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to