You can have user to set the properties at a fixed file location ( ie ${
user.home}/.yourprovider.
Check out the source for cvs, svn,starteam, etc providers
-D
On 7/19/06, ekio <
ekio83@...> wrote:
>
>
> Hello. Does anyone know if there is a way to declare system properties
> from
> within a pom file, rather than doing it on the command line? (Ex: mvn
> -Dproperty=value scm:checkout) I saw some examples on the web, some
> plugins
> do the following under <configuration> of <plugin>:
>
> <systemProperties>
> <property>
> <name>property</name>
> <value>value</value>
> </property>
> </systemProperties>
>
> I am writing a scm-provider, and I want to use the System.getProperty()
> method in the provider to get the properties. It works when I declare the
> properties on the command line, but not when I declare them from inside
> the
> pom...
>
> Any idea? Thanks a lot!
> --
> View this message in context:
>
http://www.nabble.com/-M2--System-properties-tf1969896.html#a5407705> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
>