[M2] How to softcode 'version' in dependency declaration

2006-08-17 Thread hamdard
Hi Is it possible to softcode the version in the dependency declaration? For example, the pom could be like this: dependency groupIdcom.mycompany.ixaf/groupId artifactIdgw-plugin/artifactId version${myversion}/version /dependency And the myversion parameter is

RE: [M2] How to softcode 'version' in dependency declaration

2006-08-17 Thread graham
and snapshot dependency issues. G -Original Message- From: hamdard [mailto:[EMAIL PROTECTED] Sent: 17 August 2006 11:12 To: users@maven.apache.org Subject: [M2] How to softcode 'version' in dependency declaration Hi Is it possible to softcode the version in the dependency declaration

RE: [M2] How to softcode 'version' in dependency declaration

2006-08-17 Thread Maximilian . Antoni
Have a look at dependency management (http://maven.apache.org/guides/introduction/introduction-to-dependency- mechanism.html). Cheers -Original Message- From: hamdard [mailto:[EMAIL PROTECTED] Sent: 17 August 2006 11:12 To: users@maven.apache.org Subject: [M2] How to softcode 'version

Re: [M2] How to softcode 'version' in dependency declaration

2006-08-17 Thread Rohnny Moland
I guess it should be possible to add something like: properties gw-plugin.version1.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

Re: [M2] How to softcode 'version' in dependency declaration

2006-08-17 Thread hamdard
This is great, thanks to all. I'm using dependencyManagement and also the property declaration in the settings.xml that captures the version for the entire project. Every where else, the version is softly referenced. e.g. settings.xml: profile idframeworkVersion/id properties