CLOUDSTACK-771: maven: add mysql version reference to enable non-snapshot builds
If you update your build to build a version with a name not ending in -SNAPSHOT, you are required to declare versions on all your depdendencies. There is already a cs.mysql.version property, this patch makes sure it is used where appropriate. Signed-off-by: Chip Childers <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/0055d802 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/0055d802 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/0055d802 Branch: refs/heads/api_refactoring Commit: 0055d80211def39d3e174d5cad7e1b3839c19b15 Parents: 7240204 Author: Noa Resare <[email protected]> Authored: Fri Jan 4 12:20:06 2013 -0500 Committer: Chip Childers <[email protected]> Committed: Fri Jan 4 12:20:06 2013 -0500 ---------------------------------------------------------------------- awsapi/pom.xml | 1 + client/pom.xml | 1 + server/pom.xml | 1 + utils/pom.xml | 1 + 4 files changed, 4 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/0055d802/awsapi/pom.xml ---------------------------------------------------------------------- diff --git a/awsapi/pom.xml b/awsapi/pom.xml index 06c9d7e..3ab5952 100644 --- a/awsapi/pom.xml +++ b/awsapi/pom.xml @@ -266,6 +266,7 @@ <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> + <version>${cs.mysql.version}</version> <scope>runtime</scope> </dependency> <dependency> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/0055d802/client/pom.xml ---------------------------------------------------------------------- diff --git a/client/pom.xml b/client/pom.xml index 7707706..3d12698 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -104,6 +104,7 @@ <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> + <version>${cs.mysql.version}</version> <scope>runtime</scope> </dependency> </dependencies> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/0055d802/server/pom.xml ---------------------------------------------------------------------- diff --git a/server/pom.xml b/server/pom.xml index 5ae926f..f8a1ae0 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -45,6 +45,7 @@ <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> + <version>${cs.mysql.version}</version> <scope>provided</scope> </dependency> <dependency> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/0055d802/utils/pom.xml ---------------------------------------------------------------------- diff --git a/utils/pom.xml b/utils/pom.xml index 1ee8b7e..0b3392d 100644 --- a/utils/pom.xml +++ b/utils/pom.xml @@ -132,6 +132,7 @@ <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> + <version>${cs.mysql.version}</version> <scope>test</scope> </dependency> <dependency>
