wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes how to copy resources with maven? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "how to copy resources with maven?" Watch "how to copy resources with maven?" New topic
Author

how to copy resources with maven?

ertan eyimaya
Greenhorn

Joined: Feb 16, 2005
Posts: 14
Hi,
I have a multimodule project with maven2. I have "src/main/resources" folders for each modules.I want to copy these resource folders to another location? Is there any task in maven for this job?

Also when I compile my project maven does not copy image file that are in src/main/java folders.(i.e. some image files are in the same folder with the java source files. Ok, they should not be there but...) Maven only copies the *.class files to the target but not images. How can I do this?

Thanks much.
 
Don't get me started about those stupid light bulbs.
 
subject: how to copy resources with maven?