Hi,
What do you mean by "the custom one when used to run by IDE(eclipse)"?
The maven-resource-plugin will copy all files from src/main/resources to
target/classes, and when using filtering, the ${key} -properties will be
replaced with their matching value. This has been used zillions of times,
so I can't imagine a bug here.
It seems like you're expecting something else.
What do you expect? (name the files + folders)
How did you run Maven?
It would help if you gave enough information so we could reproduce it.
Robert
Op Sun, 05 May 2013 13:59:12 +0200 schreef kashu <[email protected]>:
Hi,
I tried that option but no success as still report are getting generated
with old/default format and not the custom one when used to run by
IDE(eclipse)
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.ftl</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
I am using Jbehave on top of selenium..giving this as an additional
information as don't know whether this would be helpful or not.
Any idea why Maven is behaving such a way? Any bug present in maven?
Awaiting the reply.
Cheers,
Kashu
On Sun, May 5, 2013 at 1:15 AM, rfscholte [via Maven] <
[email protected]> wrote:
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 <[hidden
email]<http://user/SendEmail.jtp?type=node&node=5754938&i=0>>:
> 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: [hidden
email]<http://user/SendEmail.jtp?type=node&node=5754938&i=1>
> For additional commands, e-mail: [hidden
email]<http://user/SendEmail.jtp?type=node&node=5754938&i=2>
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden
email]<http://user/SendEmail.jtp?type=node&node=5754938&i=3>
For additional commands, e-mail: [hidden
email]<http://user/SendEmail.jtp?type=node&node=5754938&i=4>
------------------------------
If you reply to this email, your message will be added to the
discussion
below:
http://maven.40175.n5.nabble.com/How-to-read-new-Folder-data-tp5754909p5754938.html
To unsubscribe from How to read new Folder data, click
here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5754909&code=a2FzaHUuam9zaGlAZ21haWwuY29tfDU3NTQ5MDl8Mjk5NzQxNTY4>
.
NAML<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context:
http://maven.40175.n5.nabble.com/How-to-read-new-Folder-data-tp5754909p5754960.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]