aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-maven-plugin/pom.xml12
-rw-r--r--sonar-maven3-plugin/pom.xml18
2 files changed, 16 insertions, 14 deletions
diff --git a/sonar-maven-plugin/pom.xml b/sonar-maven-plugin/pom.xml
index 47c9bf17b54..7b088a6807e 100644
--- a/sonar-maven-plugin/pom.xml
+++ b/sonar-maven-plugin/pom.xml
@@ -10,6 +10,10 @@
<packaging>maven-plugin</packaging>
<name>Sonar :: Maven2 Plugin</name>
+ <properties>
+ <maven.version>2.0.7</maven.version>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
@@ -32,20 +36,20 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
- <version>2.0.7</version>
+ <version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
- <version>2.0.7</version>
+ <version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
- <version>2.0.7</version>
+ <version>${maven.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
-</project> \ No newline at end of file
+</project>
diff --git a/sonar-maven3-plugin/pom.xml b/sonar-maven3-plugin/pom.xml
index d3a638ba268..c9a60c9eb1d 100644
--- a/sonar-maven3-plugin/pom.xml
+++ b/sonar-maven3-plugin/pom.xml
@@ -16,6 +16,10 @@
<maven>3.0</maven>
</prerequisites>-->
+ <properties>
+ <maven.version>3.0-beta-3</maven.version>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
@@ -38,26 +42,20 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
- <version>3.0-beta-1</version>
+ <version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
- <version>3.0-beta-1</version>
+ <version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-settings</artifactId>
- <version>3.0-beta-1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-project</artifactId>
- <version>3.0-alpha-2</version>
+ <version>${maven.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
-</project> \ No newline at end of file
+</project>