You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by morrison19 <po...@hotmail.com> on 2007/10/01 18:44:53 UTC
Maven String Argument
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven String Argument
Posted by Eric Redmond <er...@gmail.com>.
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 <po...@hotmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>