aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-11-11 11:36:29 +0000
committerGodin <mandrikov@gmail.com>2010-11-11 11:36:29 +0000
commit10b43586ab408e6fdf6c4db25ff8bb053805e187 (patch)
tree526182a46c295c7afdd2b4c0ba00639d9abf2f08 /pom.xml
parentf21d3428c6481701a934b1317c41bc90e3b8cbf2 (diff)
downloadsonarqube-10b43586ab408e6fdf6c4db25ff8bb053805e187.tar.gz
sonarqube-10b43586ab408e6fdf6c4db25ff8bb053805e187.zip
Check compatibility with Java API in release profile
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml37
1 files changed, 34 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 41386eb3f59..6e31e31c6f1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
<module>sonar-testing-harness</module>
<module>sonar-squid</module>
<module>sonar-ws-client</module>
-
+
<module>plugins/sonar-core-plugin</module>
<module>plugins/sonar-checkstyle-plugin</module>
<module>plugins/sonar-pmd-plugin</module>
@@ -95,6 +95,11 @@
<!-- Plugins ordered by shortname (archetype, assembly ...) -->
<plugins>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>animal-sniffer-maven-plugin</artifactId>
+ <version>1.6</version>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
@@ -488,6 +493,12 @@ mmmm
<version>2.0.1</version>
</dependency>
<dependency>
+ <groupId>com.ibm.icu</groupId>
+ <artifactId>icu4j</artifactId>
+ <!-- animal-sniffer doesn't work with 2.6.1 -->
+ <version>3.4.4</version>
+ </dependency>
+ <dependency>
<groupId>jfree</groupId>
<artifactId>jfreechart</artifactId>
<version>1.0.9</version>
@@ -883,7 +894,6 @@ mmmm
<module>sonar-server</module>
<module>sonar-application</module>
</modules>
-
</profile>
<profile>
@@ -913,9 +923,30 @@ mmmm
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>animal-sniffer-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>check-java-version</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <configuration>
+ <signature>
+ <groupId>org.codehaus.mojo.signature</groupId>
+ <artifactId>java15</artifactId>
+ <version>1.0</version>
+ </signature>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
</profiles>
-</project> \ No newline at end of file
+</project>