maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte" <>
Subject Re: How to read new Folder data
Date Sat, 04 May 2013 19:45:24 GMT
The default folder for resources, which need to be available on the  
classpath is:

and for java-files:

using the standard directory layout [1] is by far the easiest way to setup  
your project.

if you still want to keep your own structure and adjust the pom, have a  
look at the maven-resource-plugin[2], which is responsible for copying  
files to the classes-folder.



Op Sat, 04 May 2013 16:49:44 +0200 schreef kashu <>:

> What I did is that, I manually added resources folder which had changed  
> file in the project folder structure under the path src/main. Now through
> eclipse, I right click on and gone to configure build path where I link
> resources folder and also created environment variable as well.This was
> fruitful as when I tried to run via Junit, test case was
> getting run successfully and custom report were generated due to the  
> changes
> I made in FTL file..but when I try to run through maven , the resources
> folder data was not at all getting picked up/read hence no custom report  
> got
> generated..
>  can somebody please suggest how I can make it read the resources folder
> through maven?I mean , I am not an expert in Maven so what I did in  
> eclipse
> for reading resources folder, how I can do the same in POM file?
> Cheers,
> kashu
> --
> View this message in context:  
> Sent from the Maven - Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message