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
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
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
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
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