This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to copy resources with maven?