On Mon, 18 Oct 2004 15:46:34 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi,
Hello, > Am a newbie to Maven, and I was trying to setup a project build system. Good idea :-) > I understand that the goals has to be redifined/modified using maven.xml if the > target path > (classes dir) is different from the default one. How can i do that? any good place > to refer? No, the target path can be modified using properties, you should read this : http://maven.apache.org/reference/user-guide.html#Properties_Processing The property for the target path is "maven.build.dir". But I do not think it is a good idea to mov. Maven defines a default layout with maven users are very familiar : http://maven.apache.org/reference/dirlayout.html > and more over can I pass the directory path as a runtime argument when calling maven? With the system properties : maven -Dmaven.build.dir=myPath I didn't test it but it should work. -- Thomas Recloux --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
