Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven resource folder isn't created

Tags:

maven

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?

like image 823
stivlo Avatar asked Nov 18 '11 04:11

stivlo


People also ask

How do I create a resource folder?

Add a resource directory If you need to add a new resource directory, follow these steps: Click the target app module in the Project window, and then select File > New > Android resource directory.

Where is resources folder in maven project?

By default, Maven will look for your project's resources under src/main/resources .


1 Answers

If the resources folder itself doesn't exist create the folder under the folder main. Then Right click the project, go to Maven -> Update Project. It worked for me.

like image 104
Thiruppathy Avatar answered Sep 24 '22 16:09

Thiruppathy