aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-09-10 15:30:33 +0000
committerGodin <mandrikov@gmail.com>2010-09-10 15:30:33 +0000
commit555b263f31d1105829d14e9312e50b6739aa5b18 (patch)
tree0bbce0c8d810432368ad091f2a53b11360e36b9b
parent579e262b525ad17d9cfff7602d7a1b401e4910ff (diff)
downloadsonarqube-555b263f31d1105829d14e9312e50b6739aa5b18.tar.gz
sonarqube-555b263f31d1105829d14e9312e50b6739aa5b18.zip
sonar-maven3-plugin :
* Upgrade to Maven 3.0-beta-3 * Remove dependency on maven-project, because now part of maven-core
-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>