The reason why the resource:testResources is being run twice might be because 



> The goals that are configured will be added to the goals already bound to
> the lifecycle from the packaging selected.
> 

as documented in
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Plugins

On the #maven IRC i did get some inputs about using an alternate approach:

<build>
  <testResources>
     <testResource>
             <directory>target/test-resources</directory>
     </testResource>
  </testResources>
</build>

But i haven't yet been able to get this working. The target/test-resources
is not created and the resources are not copied over.

-- 
View this message in context: 
http://www.nabble.com/Change-the-default-output-location-of-test-resources-tp22097054p22119883.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to