I guess it should be possible to add something like:
<properties>
  <gw-plugin.version>1.0</gw-plugin.version>
</properties>

..to your pom or settings file.

HTH,
Rohnny

hamdard wrote:
> Hi
> 
> Is it possible to softcode the version in the dependency declaration?
> 
> For example, the pom could be like this:
> 
> <dependency>
>       <groupId>com.mycompany.ixaf</groupId>
>       <artifactId>gw-plugin</artifactId>
>       <version>${myversion}</version>
> </dependency>
> 
> And the myversion parameter is controllable from the settings.xml file.
> 
> The motivation is that if we have a multi-module build in maven with all the
> different modules using the same 'one' version, we could control/update the
> version of the entire project from one place (settings.xml), instead of
> updating it in several places. 
> 
> Thanks


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

Reply via email to