File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
 
subject: how to copy resources with maven?
 
Similar Threads
Error on making a project with m2e + eclipse indigo + springmvc-archetype
Importing Maven project in Eclipse?
Class file not created on build?
Maven src and netbeans
Maven & environment specific files