diff options
-rw-r--r-- | pom.xml | 37 |
1 files changed, 34 insertions, 3 deletions
@@ -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> |