So much for my project tree, all blanks were gotten rid of :) Here is another try :
- foo - |-- final-foo - |-- JavaSource - |-- com - |-- ... - |-- WebContent - |-- WEB-INF - |-- ... - |--... Yann ---------- Mail d'origine ----------- De : "Yann LE DU" [EMAIL PROTECTED] A : users@maven.apache.org Cc : Date : Thu, 16 Jun 2005 11:06:11 +0200 Objet : [m2] Overriding webapp source directory -Hi there, - -I'm 2-week-old to Maven and trying to build a small -webapp with Maven (for POC). The thing is, my corp. is -already using Eclipse Web Tools, which forces us into -this kind of project structure (I hid test directories -for readability) : - -foo -|-- final-foo - |-- JavaSource - |-- com - |-- ... - |-- WebContent - |-- WEB-INF - |-- ... - |--... - -Even though I know this isn't the way Maven is supposed -to work :) , I partly solved the issue by including the -following in my foo/pom.xml : - -<build> - <sourceDirectory>final-foo/JavaSource</sourceDirectory> -</build> - -...which is working well, but I'd like to do the same -for the webapp directory, that is, something like : - -<webappSourceDirectory>final-foo/WebContent</webappSourceDirectory> - -I haven't found anything in docs, JIRA, user lists. Is -there any way ? - -Yann - - ---------------------------------------------------------------------- -To unsubscribe, e-mail: [EMAIL PROTECTED] -For additional commands, e-mail: [EMAIL PROTECTED] - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]