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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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?
 
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?