Peter, I hope I can solve some of you confusion. The rule I always use to determine where to put a file is to look at who will load a certain file.
If the file is being loaded by a classload, the it should be under /src/main/resources. They will be copied to WEB-INF/classes when you build your project. If a file is needed by the ApplicationServer, then the file should be onder /src/main/webapp/WEB-INF. These would include: web.xml and possible some optional files like: .tld-files, tile-definitions, spring-servlet-config.xml-files, .... When a file is being loaded directly from a browser (images, .js-files and .css-files) then those should be located under /src/main/webapp/ Resulting in something like /src/main /src/main/java /src/main/resources/ /src/main/resources/ResourceBundle_en.properties /src/main/resources/ResourceBundle_fr.properties /src/main/webapp/ /src/main/webapp/index.html /src/main/webapp/css/style.css /src/main/webapp/images/logo.gif /src/main/webapp/script/site.js /src/main/webapp/WEB-INF/ /src/main/webapp/WEB-INF/web.xml I hope this helps. With kind regards, Marco Beelen -----Original Message----- From: Peter Horlock [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 3:51 PM To: Maven Users List Subject: Re: war plugin - images / css Hi, in the example provided the language properties seem to be under resources, not under webapp: http://jamwiki.svn.sourceforge.net/viewvc/jamwiki/wiki/trunk/jamwiki-war /src/main/resources/ApplicationResources_ja.properties?revision=2200&vie w=markup Now I am confused :-( Thanks in advance, Peter ********************************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
