Bug 530741 - /src/test/resources bound to WEB-INF/classes
Summary: /src/test/resources bound to WEB-INF/classes
Status: UNCONFIRMED
Alias: None
Product: M2E-WTP
Classification: Technology
Component: Core (show other bugs)
Version: 1.3.1   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-05 10:38 EST by David Matheson CLA
Modified: 2018-02-05 19:19 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Matheson CLA 2018-02-05 10:38:35 EST
Eclipse Jave EE IDE for Web Developers 4.6.3
M2E 1.7.0
M2E-WTP 1.3.1

In my Maven project, I have a log4j2.xml in each of these locations:

/src/main/resources/ (for my application's true logging)
/src/test/resources/ (for test logging)

I was noticing that my application logging was going by my test thresholds, and I found it was because wtp-m2e had configured the Deployment Assembly to bind the test resources directory to the application's .war output. I would expect that the Deployment Assembly would only contain binding for /src/main/resources.
Comment 1 Fred Bricon CLA 2018-02-05 11:37:04 EST
Can you try to right click on project and perform Maven > Update Project Configuration?