Well, this isn't working either, so let's jump to something less readable :)
foo foo/final-foo foo/final-foo/JavaSource foo/final-foo/JavaSource/com foo/final-foo/JavaSource/com/... foo/final-foo/WebContent foo/final-foo/WebContent/WEB-INF foo/final-foo/WebContent/WEB-INF/... foo/final-foo/WebContent/... Sorry for all the spamming :) Yann ---------- Mail d'origine ----------- De : "Yann LE DU" [EMAIL PROTECTED] A : "Maven Users List" users@maven.apache.org Cc : Date : Thu, 16 Jun 2005 11:15:51 +0200 Objet : Re:[m2] Overriding webapp source directory -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] - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]