maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <denn...@apache.org>
Subject Re: Maven 2.1.0 regression issue w/ testResources outputDirectory
Date Wed, 25 Mar 2009 21:07:47 GMT
outputDirectory is a plugin configuration parameter.
See this page for how it can be used:
http://maven.apache.org/plugins/maven-resources-plugin/examples/copy-resources.html

Steve Ariantaj wrote:
> 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.bentmann@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-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg
Mime
View raw message