The default folder for resources, which need to be available on the
classpath is:
src/main/resources
and for java-files:
src/main/java
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.
Robert
[1]
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
[2]
http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html
Op Sat, 04 May 2013 16:49:44 +0200 schreef kashu <kashu.jo...@gmail.com>:
What I did is that, I manually added resources folder which had changed
FTL
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 storyDriver.java 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:
http://maven.40175.n5.nabble.com/How-to-read-new-Folder-data-tp5754909.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org