Are you talking about a property? Like:

mvn compile -Dmyprop=value

POM:
<project>
  ...
  <dependency>
    ...
    <version>${myprop}</version>

Like that?

--
Eric Redmond
http://coderoshi.blogspot.com/

On 10/1/07, morrison19 <[EMAIL PROTECTED]> wrote:
>
>
> Is it possible to pass in a custom argument to maven that could be used
> through out the pom files? I'm struggling with finding documentation if
> this
> is a possibility or not.
> --
> View this message in context:
> http://www.nabble.com/Maven-String-Argument-tf4549492s177.html#a12982863
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to