Hi, Maven creates jar, but with name "PROJECT-version.jar" eg:- PROJECT-12.0.0.jar, is there anyway i can override this to create "project.jar"
Many Thanks Manoj -----Original Message----- From: Thomas Recloux [mailto:[EMAIL PROTECTED] Sent: 18 October 2004 16:57 To: Maven Users List Subject: Re: Maven 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] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
