Thanks Jason and Dennis!
-----Original Message-----
From: Jason Chaffee [mailto:[email protected]]
Sent: Wednesday, March 25, 2009 1:51 PM
To: Maven Developers List
Subject: RE: Maven 2.1.0 regression issue w/ testResources
outputDirectory
I believe this is a parameter for the plugin configuration itself. For
example,
<project>
...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
...
<outputDirectory>foo/bar</outputDirectory>
...
</configuration>
</plugin>
</plugins>
...
</build>
...
</project>
-----Original Message-----
From: Dennis Lundberg [mailto:[email protected]]
Sent: Wednesday, March 25, 2009 2:08 PM
To: Maven Developers List
Subject: Re: Maven 2.1.0 regression issue w/ testResources
outputDirectory
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-res
ources.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:[email protected]]
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]