How to copy resources from other module to specific location ? (maven)

Posted by smallufo on Stack Overflow See other posts from Stack Overflow or by smallufo
Published on 2010-06-02T11:04:35Z Indexed on 2010/06/02 19:34 UTC
Read the original article Hit count: 140

Filed under:
|

I have a maven-managed project with some modules. One module contains some native codes inside "src/main/resources/native" directory. Second module packages all related modules to a WAR file.

Here comes the question : How to copy the "native/" directory (and its sub-directories) in first module to WEB-INF/native directory in the second module ?

I found a copy resources plugin , but it seems not what I want. (It copies directory inside the same module , but I want cross-module copy)

Thanks in advanced.

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about maven