I don't really understand the structure of directories with Maven and JSF webapp.

When I generate project I have this structure :

src
|_ main
   |_ java
   |_ resources
   |_ webapp
      |_ WEB-INF 
         |_ web.xml
      |_ index.xhtml

I want to include some resources :

  • javascript file
  • css file
  • images
  • i18n files

I can include i18n files inside src/main/resources but not anywhere and I can include JS file, CSS file and images inside src/main/webapp/resources but not anywhere...

I didn't find very clear rules on the web about directories structure with JSF and Maven.

What are the rules please ?

Thanks

Edit
Report