You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ma...@ubs.com on 2004/10/18 16:46:34 UTC
Maven
Hi,
Am a newbie to Maven, and I was trying to setup a project build system.
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?
and more over can I pass the directory path as a runtime argument when calling maven?
Many Thanks,
Manoj
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven
Posted by Thomas Recloux <th...@gmail.com>.
On Mon, 18 Oct 2004 15:46:34 +0100, manoj.thomas@ubs.com
<ma...@ubs.com> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org