Issue
I'm using Eclipse Indigo with m2e plugin, and I've added to the build section of my pom.xml
a resources
tag. However the resource directory doesn't get created. I've also called Maven -> Update Project Configuration...
<build>
<finalName>...</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
</resources>
What am I missing?
Solution
It appears that you may not have created the maven project correctly. Perhaps you may have chosen an archetype, which does not do this correctly.
One possible way (which worked for me) is as follows:
When I do Create a new maven project, and choose Create a simple project (skip archetype selection, I do get the default folders created (src/main/java
, src/main/resources
, src/test/java
, src/test/resources
, along with the pom.xml
).
Answered By - Raghuram