This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to copy resources with maven?
 
Similar Threads
Maven src and netbeans
Importing Maven project in Eclipse?
Error on making a project with m2e + eclipse indigo + springmvc-archetype
Maven & environment specific files
Class file not created on build?