Hi Christopher,

You may use another pom for it, let's say pom2.xml. Configure the pom with the

<build>
<outputDirectory>tmp/outputDirectory</outputDirectory>
...
</build>
and execute the mvn command "mvn install -f pom2.xml"

-allan

Christopher Cobb wrote:

I would occasionally like to put my jar file in a different directory.  Is
there something along the lines of:



mvn -Dproject.build.outputDirectory=/tmp/outputDirectory package



that will allow me to do a one-off build without having to modify
configuration files?  The line above does not do anything different than the
standard build.












-----------------------------------------
Attention:
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity. The information
contained in this message and or attachments is intended only for the
person or entity to which it is addressed and may contain confidential
and/or privileged material.  If you received this in error, please
contact the sender and delete the material from any system and destroy
any copies.

------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.1/206 - Release Date: 12/16/2005

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to