you should remove your <sourceDirectory> tag as it specifies only the java part. The default value should fit in you case.
Hope this helps Manu 2006/11/9, Gianfranco Oldani <[EMAIL PROTECTED]>:
Hi Valerio, Thanks for the advise. The hbm.xml are now copied ok. But the jsp aren't even if I put the jsp directory under WEB-INF. Attached my pom. Thanks for your help Gianfranco OLDANI ----Original Message Follows---- From: "Valerio Schiavoni" <[EMAIL PROTECTED]> Reply-To: "Maven Users List" <users@maven.apache.org> To: "Maven Users List" <users@maven.apache.org>, [EMAIL PROTECTED] Subject: Re: Newbie question Date: Thu, 9 Nov 2006 13:23:53 +0100 your jsp pages should be in src/main/webapp/WEB-INF/jsp and your hbm.xml in src/main/resources given that you're using that directory layout, can you post your pom.xml ? On 11/9/06, Gianfranco Oldani <[EMAIL PROTECTED]> wrote: > >Hi, >I am trying to build a web application using Spring and Hibernate. All >goes >find except that my jsp pages and all the *.hbm.xml are not copied in >the >target war. The directory structure is the standard one for a web app as >advised by maven book. > -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni _________________________________________________________________ Sentez vous chez vous sur la page d'accueil MSN en personnalisant le contenu! http://fr.ch.msn.com/default.aspx?dc=true --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Manu (:-Þ)