2010-09-06 16:08:06 +02:00
<?xml version="1.0" encoding="UTF-8"?>
2015-10-12 17:58:42 +02:00
<project xmlns= "http://maven.apache.org/POM/4.0.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
2010-09-06 16:08:06 +02:00
<modelVersion > 4.0.0</modelVersion>
2015-09-15 18:19:55 +02:00
<groupId > org.sonarsource.sonarqube</groupId>
<artifactId > sonarqube</artifactId>
2010-09-06 16:08:06 +02:00
<packaging > pom</packaging>
2015-10-13 12:06:23 +02:00
<version > 5.2-SNAPSHOT</version>
2013-07-08 15:07:35 +02:00
<name > SonarQube</name>
2013-10-01 16:51:37 +02:00
<url > http://www.sonarqube.org/</url>
2012-05-20 19:55:40 +02:00
<description > Open source platform for continuous inspection of code quality</description>
2010-09-06 16:08:06 +02:00
<modules >
2015-05-27 09:47:36 +02:00
<module > sonar-plugin-api-deps</module>
2011-05-05 13:53:52 +02:00
<module > sonar-application</module>
2010-09-06 16:08:06 +02:00
<module > sonar-batch</module>
2014-07-18 09:51:04 +02:00
<module > sonar-batch-protocol</module>
2015-03-16 15:35:26 +01:00
<module > sonar-batch-shaded</module>
2010-09-06 16:08:06 +02:00
<module > sonar-check-api</module>
<module > sonar-colorizer</module>
2011-01-19 22:36:38 +01:00
<module > sonar-core</module>
2015-07-04 00:34:24 +02:00
<module > sonar-db</module>
2010-09-06 16:08:06 +02:00
<module > sonar-duplications</module>
2013-02-05 12:43:45 +01:00
<module > sonar-home</module>
2011-06-09 17:59:33 +02:00
<module > sonar-markdown</module>
2010-09-06 16:08:06 +02:00
<module > sonar-plugin-api</module>
2014-07-10 14:14:32 +02:00
<module > server</module>
2015-07-29 17:17:46 +02:00
<module > sonar-ws</module>
2011-01-19 22:36:38 +01:00
<module > sonar-testing-harness</module>
2014-01-17 11:32:59 +01:00
<module > plugins/sonar-xoo-plugin</module>
2015-03-16 15:35:26 +01:00
<module > plugins/sonar-batch-maven-plugin</module>
2010-09-06 16:08:06 +02:00
</modules>
<organization >
<name > SonarSource</name>
<url > http://www.sonarsource.com</url>
</organization>
<inceptionYear > 2009</inceptionYear>
<issueManagement >
<system > jira</system>
2015-05-29 15:23:05 +02:00
<url > http://jira.sonarsource.com/browse/SONAR</url>
2010-09-06 16:08:06 +02:00
</issueManagement>
<distributionManagement >
<repository >
2015-10-12 15:33:24 +02:00
<id > bintray</id>
<url > https://api.bintray.com/maven/sonarsource/SonarQube/${project.groupId}/;publish=1</url>
2010-09-06 16:08:06 +02:00
</repository>
</distributionManagement>
2012-02-07 17:00:37 +01:00
<prerequisites >
<!-- Note that "prerequisites" not inherited, but used by versions - maven - plugin 1.3.1 -->
<maven > ${maven.min.version}</maven>
</prerequisites>
2010-09-06 16:08:06 +02:00
<properties >
2015-04-23 19:21:11 +02:00
<sonarUpdateCenter.version > 1.13</sonarUpdateCenter.version>
2015-10-09 12:33:53 +02:00
<sonarJava.version > 3.6</sonarJava.version>
2015-03-02 11:50:20 +01:00
<sonarGit.version > 1.0</sonarGit.version>
2015-09-25 10:59:19 +02:00
<sonarSvn.version > 1.2</sonarSvn.version>
2014-10-30 14:10:50 +01:00
<h2.version > 1.3.176</h2.version>
2013-09-12 00:52:06 +02:00
<jetty.version > 8.1.12.v20130726</jetty.version>
2015-05-29 22:48:40 +02:00
<logback.version > 1.1.3</logback.version>
2015-05-29 23:23:17 +02:00
<slf4j.version > 1.7.12</slf4j.version>
2015-02-01 20:03:19 +01:00
<tomcat.version > 8.0.18</tomcat.version>
2015-09-27 22:42:11 +02:00
<elasticsearch.version > 1.7.2</elasticsearch.version>
2010-09-06 16:08:06 +02:00
<project.build.sourceEncoding > UTF-8</project.build.sourceEncoding>
2015-08-26 12:15:06 +02:00
<maven.min.version > 3.2</maven.min.version>
2014-12-16 15:18:48 +01:00
<jdk.min.version > 1.7</jdk.min.version>
2012-04-10 21:40:19 +02:00
<timestamp > ${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format > yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format>
2012-03-09 09:15:03 +01:00
2014-09-30 00:07:03 +02:00
<skipBatchTests > false</skipBatchTests>
<skipServerTests > false</skipServerTests>
2012-03-09 09:15:03 +01:00
<version.maven-license.plugin > 1.9.0</version.maven-license.plugin>
<skipSanityChecks > false</skipSanityChecks>
2011-01-13 19:13:16 +01:00
2015-06-01 12:00:55 +02:00
<argLine > -Xmx512m -Djava.awt.headless=true -XX:MaxPermSize=160m</argLine>
2015-08-31 09:46:17 +02:00
<maven.test.redirectTestOutputToFile > true</maven.test.redirectTestOutputToFile>
2010-09-06 16:08:06 +02:00
</properties>
<build >
2010-11-25 19:20:41 +01:00
<extensions >
<extension >
<groupId > org.apache.maven.wagon</groupId>
<artifactId > wagon-webdav</artifactId>
<version > 1.0-beta-2</version>
</extension>
</extensions>
2010-09-06 16:08:06 +02:00
<pluginManagement >
2011-09-30 13:30:22 +02:00
<!-- Plugins ordered by shortname (assembly, antrun ...) -->
2010-09-06 16:08:06 +02:00
<plugins >
2010-11-11 12:36:29 +01:00
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > animal-sniffer-maven-plugin</artifactId>
2015-06-05 10:35:31 +02:00
<version > 1.14</version>
2012-03-09 09:15:03 +01:00
<configuration >
<signature >
2014-12-16 15:18:48 +01:00
<groupId > org.codehaus.mojo.signature</groupId>
<artifactId > java17</artifactId>
<version > 1.0</version>
2012-03-09 09:15:03 +01:00
</signature>
<skip > ${skipSanityChecks}</skip>
</configuration>
2010-11-11 12:36:29 +01:00
</plugin>
2014-03-20 12:32:24 +01:00
<plugin >
<groupId > com.github.eirslett</groupId>
<artifactId > frontend-maven-plugin</artifactId>
2015-06-12 11:46:20 +02:00
<version > 0.0.23</version>
2014-03-20 12:32:24 +01:00
</plugin>
2010-09-06 16:08:06 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-antrun-plugin</artifactId>
2014-07-03 12:49:14 +02:00
<version > 1.7</version>
2010-09-06 16:08:06 +02:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-assembly-plugin</artifactId>
2015-06-05 11:31:16 +02:00
<version > 2.4</version>
2015-04-07 19:07:48 +02:00
<configuration >
<archiverConfig >
<!-- Workaround for http://jira.codehaus.org/browse/MASSEMBLY - 422 -->
<!-- 420(dec) = 644(oct) -->
<fileMode > 420</fileMode>
<!-- 493(dec) = 755(oct) -->
<directoryMode > 493</directoryMode>
<defaultDirectoryMode > 493</defaultDirectoryMode>
</archiverConfig>
</configuration>
2010-09-06 16:08:06 +02:00
</plugin>
2014-12-01 13:46:36 +01:00
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > build-helper-maven-plugin</artifactId>
<version > 1.9.1</version>
</plugin>
2012-04-10 21:40:19 +02:00
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > buildnumber-maven-plugin</artifactId>
2014-07-03 12:49:14 +02:00
<version > 1.3</version>
2012-04-10 21:40:19 +02:00
</plugin>
2010-09-06 16:08:06 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-clean-plugin</artifactId>
2015-06-05 10:35:31 +02:00
<version > 2.6.1</version>
2010-09-06 16:08:06 +02:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-compiler-plugin</artifactId>
2015-06-05 10:35:31 +02:00
<version > 3.3</version>
2010-09-06 16:08:06 +02:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-dependency-plugin</artifactId>
2015-03-16 15:35:26 +01:00
<version > 2.10</version>
2010-09-06 16:08:06 +02:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-deploy-plugin</artifactId>
2014-10-29 15:58:18 +01:00
<version > 2.8.2</version>
2010-09-06 16:08:06 +02:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-enforcer-plugin</artifactId>
2015-06-05 11:09:02 +02:00
<version > 1.4</version>
2010-09-06 16:08:06 +02:00
</plugin>
2010-12-15 15:35:33 +01:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-failsafe-plugin</artifactId>
2015-06-05 11:09:02 +02:00
<version > 2.18.1</version>
2010-12-15 15:35:33 +01:00
</plugin>
2011-07-17 21:24:41 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-gpg-plugin</artifactId>
2015-03-14 14:52:28 +01:00
<version > 1.6</version>
2011-07-17 21:24:41 +02:00
</plugin>
2010-09-06 16:08:06 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-install-plugin</artifactId>
2014-10-29 15:58:18 +01:00
<version > 2.5.2</version>
2010-09-06 16:08:06 +02:00
</plugin>
2014-04-29 10:19:28 +02:00
<plugin >
<groupId > org.jacoco</groupId>
<artifactId > jacoco-maven-plugin</artifactId>
2015-05-28 09:37:32 +02:00
<version > 0.7.5.201505241946</version>
2014-04-29 10:19:28 +02:00
<configuration >
<excludes >
<exclude > *_javassist_*</exclude>
</excludes>
<includes >
2014-07-02 16:09:03 +02:00
<include > org.sonar.*</include>
2014-04-29 10:19:28 +02:00
</includes>
</configuration>
</plugin>
2010-09-06 16:08:06 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-jar-plugin</artifactId>
2015-06-05 10:35:31 +02:00
<version > 2.6</version>
2010-09-06 16:08:06 +02:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-javadoc-plugin</artifactId>
2014-10-29 15:58:18 +01:00
<version > 2.10.1</version>
2011-09-15 23:10:37 +02:00
<configuration >
<author > false</author>
<linksource > true</linksource>
</configuration>
2010-09-06 16:08:06 +02:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-jxr-plugin</artifactId>
2015-03-14 14:52:30 +01:00
<version > 2.5</version>
2010-09-06 16:08:06 +02:00
</plugin>
2011-01-31 01:11:24 +01:00
<plugin >
<groupId > com.mycila.maven-license-plugin</groupId>
<artifactId > maven-license-plugin</artifactId>
2012-03-09 09:15:03 +01:00
<version > ${version.maven-license.plugin}</version>
2011-01-31 01:11:24 +01:00
</plugin>
2010-09-06 16:08:06 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-plugin-plugin</artifactId>
2014-07-03 12:49:14 +02:00
<version > 3.3</version>
2010-09-06 16:08:06 +02:00
</plugin>
2011-08-05 10:49:31 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-release-plugin</artifactId>
2015-06-05 10:35:31 +02:00
<version > 2.5.2</version>
2011-08-05 10:49:31 +02:00
</plugin>
2010-09-06 16:08:06 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-resources-plugin</artifactId>
2014-10-29 15:58:18 +01:00
<version > 2.7</version>
2010-09-06 16:08:06 +02:00
</plugin>
2011-01-24 09:17:41 +01:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-shade-plugin</artifactId>
2014-07-03 12:49:14 +02:00
<version > 2.3</version>
2011-01-24 09:17:41 +01:00
</plugin>
2010-09-06 16:08:06 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-site-plugin</artifactId>
2014-10-29 15:58:18 +01:00
<version > 3.4</version>
2010-09-06 16:08:06 +02:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-source-plugin</artifactId>
2014-10-29 15:58:18 +01:00
<version > 2.4</version>
2010-09-06 16:08:06 +02:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-surefire-plugin</artifactId>
2015-06-05 11:09:02 +02:00
<version > 2.18.1</version>
2010-09-06 16:08:06 +02:00
</plugin>
<plugin >
2011-04-20 14:32:41 +02:00
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-war-plugin</artifactId>
2015-06-05 10:35:31 +02:00
<version > 2.6</version>
2011-04-20 14:32:41 +02:00
</plugin>
<plugin >
<!-- not thread safe -->
2010-09-06 16:08:06 +02:00
<groupId > org.codehaus.sonar</groupId>
<artifactId > sonar-dev-maven-plugin</artifactId>
2015-06-05 10:35:31 +02:00
<version > 1.8</version>
2010-09-06 16:08:06 +02:00
</plugin>
<plugin >
2015-09-15 18:19:55 +02:00
<groupId > org.sonarsource.sonar-packaging-maven-plugin</groupId>
2010-09-06 16:08:06 +02:00
<artifactId > sonar-packaging-maven-plugin</artifactId>
2015-09-15 18:19:55 +02:00
<version > 1.15</version>
2013-11-20 12:09:50 +01:00
</plugin>
2014-09-23 13:49:59 +02:00
<plugin >
<!-- declared to avoid enforcer error during SQ analysis when Clirr plugin installed -->
<groupId > org.codehaus.mojo</groupId>
<artifactId > clirr-maven-plugin</artifactId>
<version > 2.6.1</version>
</plugin>
2015-02-14 14:29:52 +01:00
<plugin >
<groupId > org.owasp</groupId>
<artifactId > dependency-check-maven</artifactId>
2015-06-05 10:35:31 +02:00
<version > 1.2.11</version>
2015-02-14 14:29:52 +01:00
<configuration >
<failBuildOnCVSS > 8</failBuildOnCVSS>
<suppressionFile > cve-false-positives.xml</suppressionFile>
</configuration>
</plugin>
2015-03-16 14:09:09 +01:00
<plugin >
<!--
Detection of conflicts in classpath.
Command line is: mvn org.basepom.maven:duplicate-finder-maven-plugin:check
See https://github.com/basepom/duplicate-finder-maven-plugin
-->
<groupId > org.basepom.maven</groupId>
<artifactId > duplicate-finder-maven-plugin</artifactId>
2015-06-05 11:09:02 +02:00
<version > 1.1.1</version>
2015-03-16 14:09:09 +01:00
<configuration >
<printEqualFiles > true</printEqualFiles>
<!--
<failBuildInCaseOfDifferentContentConflict > true</failBuildInCaseOfDifferentContentConflict>
<failBuildInCaseOfEqualContentConflict > true</failBuildInCaseOfEqualContentConflict>
<failBuildInCaseOfConflict > true</failBuildInCaseOfConflict>
-->
<checkCompileClasspath > true</checkCompileClasspath>
<checkRuntimeClasspath > true</checkRuntimeClasspath>
<checkTestClasspath > false</checkTestClasspath>
</configuration>
</plugin>
2010-09-06 16:08:06 +02:00
</plugins>
</pluginManagement>
<plugins >
2012-04-10 21:40:19 +02:00
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > buildnumber-maven-plugin</artifactId>
<executions >
<execution >
<phase > validate</phase>
<goals >
<goal > create</goal>
</goals>
</execution>
</executions>
<configuration >
<doCheck > false</doCheck>
<doUpdate > false</doUpdate>
<getRevisionOnlyOnce > true</getRevisionOnlyOnce>
<revisionOnScmFailure > 0</revisionOnScmFailure>
</configuration>
</plugin>
2010-09-06 16:08:06 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-compiler-plugin</artifactId>
<configuration >
<source > ${jdk.min.version}</source>
<target > ${jdk.min.version}</target>
<encoding > ${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-enforcer-plugin</artifactId>
<executions >
<execution >
2011-10-31 10:12:06 +01:00
<id > enforce-rules</id>
2010-09-06 16:08:06 +02:00
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requirePluginVersions >
<message > Build reproducibility : always define plugin versions</message>
<banLatest > true</banLatest>
<banRelease > true</banRelease>
<phases > clean,deploy</phases>
2010-09-22 23:00:25 +02:00
</requirePluginVersions>
2011-03-31 19:12:44 +02:00
<requireReleaseDeps >
<message > No SNAPSHOT versions allowed for dependencies</message>
<onlyWhenRelease > true</onlyWhenRelease>
</requireReleaseDeps>
2010-09-06 16:08:06 +02:00
<requireJavaVersion >
2012-04-10 21:40:19 +02:00
<message > To build this project JDK ${jdk.min.version} (or upper) is required. Please install it.
</message>
2010-09-06 16:08:06 +02:00
<version > ${jdk.min.version}</version>
</requireJavaVersion>
<requireMavenVersion >
2015-06-12 11:46:20 +02:00
<version > [${maven.min.version},)</version>
2010-09-06 16:08:06 +02:00
</requireMavenVersion>
2011-06-09 01:53:06 +02:00
<bannedDependencies >
2011-06-09 17:59:33 +02:00
<!-- See SONAR - 2512 -->
<message > commons-beanutils:commons-beanutils should be used instead</message>
2011-06-09 01:53:06 +02:00
<excludes >
<exclude > commons-beanutils:commons-beanutils-core</exclude>
</excludes>
2011-06-09 17:59:33 +02:00
<searchTransitive > true</searchTransitive>
</bannedDependencies>
2011-10-01 03:14:56 +02:00
<requireNoRepositories >
2013-12-03 23:22:12 +01:00
<message > Definition of new repositories is not allowed in order to deploy to central repository.
</message>
2011-10-01 03:14:56 +02:00
</requireNoRepositories>
</rules>
</configuration>
</execution>
2010-09-06 16:08:06 +02:00
</executions>
</plugin>
2015-04-02 16:53:19 +02:00
<!--
Choosing a random timezone when executing tests allows to detect
2015-04-07 19:07:48 +02:00
early the tests that are coupled with local environment.
2015-04-02 16:53:19 +02:00
-->
2015-04-02 15:17:31 +02:00
<plugin >
2015-04-07 22:10:22 +02:00
<groupId > com.github.genthaler</groupId>
<artifactId > beanshell-maven-plugin</artifactId>
<version > 1.0</version>
2015-04-02 15:17:31 +02:00
<executions >
<execution >
<id > randomize-environment</id>
<phase > validate</phase>
<goals >
2015-04-07 22:10:22 +02:00
<goal > run</goal>
2015-04-02 15:17:31 +02:00
</goals>
<configuration >
2015-04-07 22:10:22 +02:00
<script >
< ![CDATA[
String[] timezones = new String[] {"GMT-9", "UTC", "GMT+9"};
String testTimezone = timezones[new java.util.Random().nextInt(timezones.length)];
project.getProperties().setProperty("testTimezone", testTimezone);
logger.info("Timezone used for tests: " + testTimezone);
2015-04-02 15:17:31 +02:00
]]>
2015-04-07 22:10:22 +02:00
</script>
2015-04-02 15:17:31 +02:00
</configuration>
</execution>
</executions>
</plugin>
2010-09-06 16:08:06 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-jar-plugin</artifactId>
<configuration >
<archive >
<manifestEntries >
2015-10-12 14:50:52 +02:00
<Version > ${pom.version}</Version>
2012-04-10 21:40:19 +02:00
<!-- ${buildNumber} is the Git revision. It's generated by the buildnumber - maven - plugin -->
<Implementation-Build > ${buildNumber}</Implementation-Build>
<Build-Time > ${timestamp}</Build-Time>
2010-09-06 16:08:06 +02:00
</manifestEntries>
</archive>
</configuration>
</plugin>
2011-10-14 15:51:06 +02:00
<plugin >
2015-09-15 18:19:55 +02:00
<groupId > org.sonarsource.sonar-packaging-maven-plugin</groupId>
2011-10-14 15:51:06 +02:00
<artifactId > sonar-packaging-maven-plugin</artifactId>
<extensions > true</extensions>
2012-04-10 22:12:32 +02:00
<configuration >
<archive >
<manifestEntries >
<!-- ${buildNumber} is the Git revision. It's generated by the buildnumber - maven - plugin -->
<Implementation-Build > ${buildNumber}</Implementation-Build>
<Build-Time > ${timestamp}</Build-Time>
</manifestEntries>
</archive>
</configuration>
2011-10-14 15:51:06 +02:00
</plugin>
2010-09-06 16:08:06 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-jxr-plugin</artifactId>
<configuration >
<aggregate > true</aggregate>
<linkJavadoc > true</linkJavadoc>
<javadocDir > ${project.reporting.outputDirectory}/${project.version}/apidocs</javadocDir>
</configuration>
</plugin>
2011-07-15 18:09:43 +02:00
<!-- check copyright/license headers -->
<plugin >
<inherited > false</inherited>
<groupId > com.mycila.maven-license-plugin</groupId>
<artifactId > maven-license-plugin</artifactId>
<configuration >
<header > ${project.basedir}/copyright.txt</header>
<failIfMissing > true</failIfMissing>
<strictCheck > true</strictCheck>
<aggregate > true</aggregate>
<includes >
<include > **/sonar-*/src/main/java/**</include>
<include > **/sonar-*/src/test/java/**</include>
</includes>
<excludes >
<exclude > tests/**</exclude>
</excludes>
<mapping >
<java > SLASHSTAR_STYLE</java>
</mapping>
2012-03-09 09:15:03 +01:00
<skip > ${skipSanityChecks}</skip>
2011-07-15 18:09:43 +02:00
</configuration>
<executions >
<execution >
<id > enforce-license-headers</id>
<phase > validate</phase>
<goals >
<goal > check</goal>
</goals>
</execution>
</executions>
</plugin>
2012-03-09 09:15:03 +01:00
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > animal-sniffer-maven-plugin</artifactId>
<executions >
<execution >
<id > enforce-java-api-compatibility</id>
<phase > verify</phase>
<goals >
<goal > check</goal>
</goals>
</execution>
</executions>
</plugin>
2011-08-05 10:49:31 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-release-plugin</artifactId>
<configuration >
<autoVersionSubmodules > true</autoVersionSubmodules>
2015-10-12 17:48:42 +02:00
<!-- see
http://maven.40175.n5.nabble.com/Why-is-source-jar-deployed-twice-during-release-td120643.html
https://issues.apache.org/jira/browse/MSHADE-195
-->
<useReleaseProfile > false</useReleaseProfile>
2011-08-05 10:49:31 +02:00
<localCheckout > true</localCheckout>
<pushChanges > false</pushChanges>
<mavenExecutorId > forked-path</mavenExecutorId>
2011-08-05 11:20:33 +02:00
<preparationGoals > clean install</preparationGoals>
2013-04-16 17:27:47 +02:00
<!-- SONAR - 4189 -->
<arguments > -Prelease</arguments>
2011-08-05 10:49:31 +02:00
</configuration>
</plugin>
2010-09-06 16:08:06 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-source-plugin</artifactId>
<executions >
<execution >
<id > attach-sources</id>
<goals >
2011-07-17 21:24:41 +02:00
<goal > jar-no-fork</goal>
2010-09-06 16:08:06 +02:00
</goals>
</execution>
</executions>
</plugin>
2011-08-02 12:41:06 +02:00
<plugin >
2011-10-10 09:51:15 +02:00
<groupId > org.apache.maven.plugins</groupId>
2011-08-02 12:41:06 +02:00
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
2014-12-05 09:38:17 +01:00
<runOrder > random</runOrder>
2011-10-10 09:24:21 +02:00
<systemPropertyVariables >
<java.io.tmpdir > ${project.build.directory}</java.io.tmpdir>
2015-04-02 16:53:19 +02:00
<!--
See profile 'randomize-environment'
-->
2015-04-07 19:07:48 +02:00
<user.timezone > ${testTimezone}</user.timezone>
2011-10-10 09:24:21 +02:00
</systemPropertyVariables>
2014-12-10 22:10:44 +01:00
<groups > ${junitGroups}</groups>
2015-02-19 14:53:51 +01:00
<threadCount > 1</threadCount>
2011-08-02 12:41:06 +02:00
</configuration>
</plugin>
2011-09-14 10:53:50 +02:00
<plugin >
2014-07-25 11:42:22 +02:00
<!--
This plugin is used to list the licenses of all the dependencies. The module
2014-03-22 14:24:16 +01:00
sonar-testing-harness must be excluded. See third-party-licenses.sh
2011-09-14 10:53:50 +02:00
-->
<groupId > org.codehaus.mojo</groupId>
<artifactId > license-maven-plugin</artifactId>
2015-07-02 21:26:49 +02:00
<version > 1.8</version>
2011-09-14 10:53:50 +02:00
<configuration >
2014-03-22 14:24:16 +01:00
<includedScopes > compile</includedScopes>
2015-07-02 23:31:15 +02:00
<licenseMerges >
<licenseMerge > Apache 2.0|The Apache Software License, Version 2.0|Apache License, Version 2.0|apache_v2</licenseMerge>
<licenseMerge > CDDL 1.0|COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0|Common Development and Distribution License (CDDL) v1.0|cddl_v1</licenseMerge>
<licenseMerge > GNU LGPL 2.1|GNU Lesser General Public License (LGPL), Version 2.1|GNU Lesser General Public License, version 2.1|lgpl_v2_1</licenseMerge>
<licenseMerge > GNU LGPL 3|GNU LESSER GENERAL PUBLIC LICENSE, Version 3|GNU Lesser General Public Licence|GNU Lesser General Public License|GNU LESSER GENERAL PUBLIC LICENSE</licenseMerge>
<licenseMerge > Dual license: CDDL 1.0 and GPL v2|Dual license consisting of the CDDL v1.0 and GPL v2|CDDL+GPLv2|CDDL+GPL|CDDL+GPL License</licenseMerge>
<licenseMerge > Dual license: CDDL 1.1 and GPL v2|Dual license consisting of the CDDL v1.1 and GPL v2|CDDL1_1+GPLv2</licenseMerge>
<licenseMerge > Dual License: CDDL 1.0 and GPL V2 with Classpath Exception|CDDL + GPLv2 with classpath exception</licenseMerge>
</licenseMerges>
2011-09-14 10:53:50 +02:00
</configuration>
</plugin>
2010-09-06 16:08:06 +02:00
</plugins>
</build>
<dependencyManagement >
<dependencies >
2014-03-21 13:52:40 +01:00
<!-- SonarQube modules -->
2010-09-06 16:08:06 +02:00
<dependency >
<groupId > org.codehaus.sonar</groupId>
<artifactId > sonar-channel</artifactId>
2014-03-21 13:52:40 +01:00
<version > 4.1</version>
2015-09-15 18:19:55 +02:00
<exclusions >
<exclusion >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-api</artifactId>
</exclusion>
</exclusions>
2010-09-06 16:08:06 +02:00
</dependency>
2015-04-24 09:15:05 +02:00
<dependency >
<groupId > org.codehaus.sonar</groupId>
<artifactId > sonar-classloader</artifactId>
<version > 1.0</version>
</dependency>
2011-04-23 18:18:10 +02:00
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > ${project.groupId}</groupId>
2011-04-23 18:18:10 +02:00
<artifactId > sonar-markdown</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2011-04-23 18:18:10 +02:00
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > ${project.groupId}</groupId>
2010-09-06 16:08:06 +02:00
<artifactId > sonar-check-api</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > ${project.groupId}</groupId>
2010-09-06 16:08:06 +02:00
<artifactId > sonar-colorizer</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > ${project.groupId}</groupId>
2010-09-06 16:08:06 +02:00
<artifactId > sonar-core</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
2015-07-04 00:34:24 +02:00
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > ${project.groupId}</groupId>
2015-07-04 00:34:24 +02:00
<artifactId > sonar-db</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2015-07-04 00:34:24 +02:00
</dependency>
2014-07-18 09:51:04 +02:00
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > ${project.groupId}</groupId>
2014-07-18 09:51:04 +02:00
<artifactId > sonar-batch-protocol</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2014-07-18 09:51:04 +02:00
</dependency>
2015-07-30 17:14:05 +02:00
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > ${project.groupId}</groupId>
2015-07-30 17:14:05 +02:00
<artifactId > sonar-ws</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2015-07-30 17:14:05 +02:00
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > ${project.groupId}</groupId>
2010-09-06 16:08:06 +02:00
<artifactId > sonar-duplications</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
2013-02-05 12:43:45 +01:00
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > ${project.groupId}</groupId>
2013-02-05 12:43:45 +01:00
<artifactId > sonar-home</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2013-02-05 12:43:45 +01:00
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
<groupId > org.codehaus.sonar</groupId>
<artifactId > sonar-graph</artifactId>
2015-05-13 17:59:15 +02:00
<version > 5.1</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
2011-01-19 22:36:38 +01:00
<groupId > org.codehaus.sonar</groupId>
<artifactId > sonar-java-api</artifactId>
2015-05-21 00:18:19 +02:00
<version > 5.1</version>
2015-06-02 17:19:45 +02:00
<exclusions >
<exclusion >
<groupId > org.codehaus.sonar</groupId>
<artifactId > sonar-deprecated</artifactId>
</exclusion>
2015-06-03 11:35:32 +02:00
<exclusion >
<groupId > org.codehaus.sonar</groupId>
<artifactId > sonar-plugin-api</artifactId>
</exclusion>
2015-06-02 17:19:45 +02:00
</exclusions>
2011-01-19 22:36:38 +01:00
</dependency>
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > ${project.groupId}</groupId>
2010-09-06 16:08:06 +02:00
<artifactId > sonar-plugin-api</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > org.codehaus.sonar</groupId>
<artifactId > sonar-update-center-common</artifactId>
2013-02-25 17:12:10 +01:00
<version > ${sonarUpdateCenter.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > ${project.groupId}</groupId>
2010-09-06 16:08:06 +02:00
<artifactId > sonar-server</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
2014-07-25 16:31:45 +02:00
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > org.codehaus.sonar</groupId>
<artifactId > sonar-squid</artifactId>
<version > 4.1</version>
<exclusions >
<exclusion >
<!--
Provided at runtime by sonar-plugin-api.
Do not use transitive version 4.1 but the current version.
-->
<groupId > org.codehaus.sonar</groupId>
<artifactId > sonar-check-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > org.sonarsource.sonarqube</groupId>
2014-07-25 16:31:45 +02:00
<artifactId > sonar-xoo-plugin</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2014-07-25 16:31:45 +02:00
<scope > test</scope>
</dependency>
2014-09-25 16:23:37 +02:00
<dependency >
2015-01-27 21:22:41 +01:00
<groupId > org.codehaus.sonar-plugins</groupId>
2014-10-23 09:27:44 +02:00
<artifactId > sonar-scm-git-plugin</artifactId>
2015-01-27 21:22:41 +01:00
<version > ${sonarGit.version}</version>
2014-09-25 16:23:37 +02:00
<type > sonar-plugin</type>
</dependency>
2014-09-30 16:49:55 +02:00
<dependency >
2015-09-25 10:59:19 +02:00
<groupId > org.sonarsource.scm.svn</groupId>
2014-10-23 09:27:44 +02:00
<artifactId > sonar-scm-svn-plugin</artifactId>
2015-01-27 21:22:41 +01:00
<version > ${sonarSvn.version}</version>
2014-09-30 16:49:55 +02:00
<type > sonar-plugin</type>
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > org.sonarsource.sonarqube</groupId>
2010-09-06 16:08:06 +02:00
<artifactId > sonar-testing-harness</artifactId>
2015-10-12 14:50:52 +02:00
<version > ${pom.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
2015-07-28 18:47:31 +02:00
<dependency >
2015-09-15 18:19:55 +02:00
<groupId > org.sonarsource.sonarqube</groupId>
2015-07-28 18:47:31 +02:00
<artifactId > sonar-views-bridge</artifactId>
<version > ${project.version}</version>
</dependency>
2012-09-14 11:32:41 +02:00
<dependency >
2015-07-22 14:55:31 +02:00
<groupId > org.sonarsource.java</groupId>
2012-09-14 11:32:41 +02:00
<artifactId > sonar-java-plugin</artifactId>
<version > ${sonarJava.version}</version>
2013-06-26 14:09:14 +02:00
<type > sonar-plugin</type>
2014-11-04 15:29:39 +01:00
<exclusions >
<!-- A banned dependency is bring because java - squid is using maven - project:2.07
This exclusion should be removed when the plugin will no more used maven-project -->
<exclusion >
<groupId > classworlds</groupId>
<artifactId > classworlds</artifactId>
</exclusion>
</exclusions>
2012-09-14 11:32:41 +02:00
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
<groupId > commons-collections</groupId>
<artifactId > commons-collections</artifactId>
2011-01-31 14:15:53 +01:00
<version > 3.2.1</version>
2010-09-06 16:08:06 +02:00
</dependency>
2013-12-03 23:22:12 +01:00
<dependency >
<groupId > org.elasticsearch</groupId>
<artifactId > elasticsearch</artifactId>
<version > ${elasticsearch.version}</version>
<exclusions >
<exclusion >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-spatial</artifactId>
</exclusion>
2014-01-09 18:18:29 +01:00
<exclusion >
<groupId > org.ow2.asm</groupId>
<artifactId > asm</artifactId>
</exclusion>
<exclusion >
<groupId > org.ow2.asm</groupId>
<artifactId > asm-commons</artifactId>
</exclusion>
<exclusion >
<groupId > org.antlr</groupId>
<artifactId > antlr-runtime</artifactId>
</exclusion>
2015-09-15 18:19:55 +02:00
<exclusion >
<groupId > org.yaml</groupId>
<artifactId > snakeyaml</artifactId>
</exclusion>
2013-12-03 23:22:12 +01:00
</exclusions>
</dependency>
<dependency >
<groupId > com.github.tlrx</groupId>
<artifactId > elasticsearch-test</artifactId>
2014-12-16 20:26:58 +01:00
<version > 1.2.1</version>
2013-12-03 23:22:12 +01:00
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
2011-12-04 20:49:55 +01:00
<groupId > com.google.guava</groupId>
<artifactId > guava</artifactId>
2015-05-29 10:29:04 +02:00
<version > 17.0</version>
2013-10-01 16:51:37 +02:00
<exclusions >
<exclusion >
2013-10-01 17:58:15 +02:00
<!-- should be declared with scope provided -->
2013-10-01 16:51:37 +02:00
<groupId > com.google.code.findbugs</groupId>
<artifactId > jsr305</artifactId>
</exclusion>
</exclusions>
2010-09-06 16:08:06 +02:00
</dependency>
2013-02-05 12:43:45 +01:00
<dependency >
<groupId > com.google.code.findbugs</groupId>
<artifactId > jsr305</artifactId>
2015-05-29 22:49:03 +02:00
<version > 3.0.0</version>
2013-02-05 12:43:45 +01:00
</dependency>
2013-07-04 19:23:31 +02:00
<dependency >
<groupId > commons-dbutils</groupId>
<artifactId > commons-dbutils</artifactId>
<version > 1.5</version>
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
<groupId > commons-io</groupId>
<artifactId > commons-io</artifactId>
2013-06-28 16:40:28 +02:00
<version > 2.4</version>
2010-09-06 16:08:06 +02:00
</dependency>
2014-11-19 17:57:41 +01:00
<dependency >
<groupId > org.apache.commons</groupId>
<artifactId > commons-csv</artifactId>
2014-12-01 13:46:36 +01:00
<version > 1.0</version>
2014-11-19 17:57:41 +01:00
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
<groupId > commons-codec</groupId>
<artifactId > commons-codec</artifactId>
2013-06-28 16:40:28 +02:00
<version > 1.8</version>
2010-09-06 16:08:06 +02:00
</dependency>
2015-06-01 23:15:37 +02:00
<dependency >
<groupId > org.apache.commons</groupId>
<artifactId > commons-email</artifactId>
<version > 1.3.2</version>
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
<groupId > commons-lang</groupId>
<artifactId > commons-lang</artifactId>
2011-01-31 10:52:24 +01:00
<version > 2.6</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > commons-dbcp</groupId>
<artifactId > commons-dbcp</artifactId>
2013-03-25 14:22:38 +01:00
<version > 1.4</version>
2010-09-06 16:08:06 +02:00
</dependency>
2011-06-09 01:53:06 +02:00
<dependency >
<!-- See SONAR - 2512 -->
<groupId > commons-beanutils</groupId>
<artifactId > commons-beanutils</artifactId>
<version > 1.8.3</version>
2013-12-04 10:40:28 +01:00
<exclusions >
<exclusion >
<groupId > commons-logging</groupId>
<artifactId > commons-logging</artifactId>
</exclusion>
</exclusions>
2010-09-06 16:08:06 +02:00
</dependency>
2015-03-16 15:35:26 +01:00
<dependency >
<groupId > org.apache.maven</groupId>
<artifactId > maven-artifact</artifactId>
<version > 2.0.7</version>
</dependency>
<dependency >
<groupId > org.apache.maven</groupId>
<artifactId > maven-core</artifactId>
<version > 2.0.7</version>
</dependency>
2010-11-11 12:36:29 +01:00
<dependency >
<groupId > com.ibm.icu</groupId>
<artifactId > icu4j</artifactId>
<!-- animal - sniffer doesn't work with 2.6.1 -->
<version > 3.4.4</version>
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
<groupId > jfree</groupId>
<artifactId > jfreechart</artifactId>
<version > 1.0.9</version>
</dependency>
2012-11-07 17:09:48 +01:00
<dependency >
<groupId > com.googlecode.json-simple</groupId>
<artifactId > json-simple</artifactId>
<version > 1.1.1</version>
<exclusions >
<exclusion >
<groupId > junit</groupId>
<artifactId > junit</artifactId>
</exclusion>
</exclusions>
</dependency>
2011-11-10 07:36:38 +01:00
<dependency >
<groupId > org.mybatis</groupId>
<artifactId > mybatis</artifactId>
2014-06-18 10:10:36 +02:00
<version > 3.2.7</version>
2011-11-10 07:36:38 +01:00
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
<groupId > org.picocontainer</groupId>
<artifactId > picocontainer</artifactId>
2015-05-29 23:23:17 +02:00
<version > 2.15</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-api</artifactId>
2013-10-01 16:51:37 +02:00
<version > ${slf4j.version}</version>
</dependency>
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > jul-to-slf4j</artifactId>
<version > ${slf4j.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > jcl-over-slf4j</artifactId>
2013-10-01 16:51:37 +02:00
<version > ${slf4j.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > log4j-over-slf4j</artifactId>
2013-10-01 16:51:37 +02:00
<version > ${slf4j.version}</version>
</dependency>
<dependency >
<groupId > ch.qos.logback</groupId>
<artifactId > logback-access</artifactId>
<version > ${logback.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > ch.qos.logback</groupId>
<artifactId > logback-classic</artifactId>
2013-10-01 16:51:37 +02:00
<version > ${logback.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > ch.qos.logback</groupId>
<artifactId > logback-core</artifactId>
2013-10-01 16:51:37 +02:00
<version > ${logback.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
2012-07-02 10:10:27 +02:00
<groupId > com.h2database</groupId>
<artifactId > h2</artifactId>
<version > ${h2.version}</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > org.jruby.rack</groupId>
<artifactId > jruby-rack</artifactId>
2013-09-17 21:24:27 +02:00
<version > 1.1.13.2</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > mysql</groupId>
<artifactId > mysql-connector-java</artifactId>
2015-05-29 22:50:23 +02:00
<version > 5.1.35</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
2014-07-17 14:06:27 +02:00
<groupId > org.postgresql</groupId>
2010-09-06 16:08:06 +02:00
<artifactId > postgresql</artifactId>
2014-12-16 15:20:01 +01:00
<version > 9.3-1102-jdbc41</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > org.codehaus.woodstox</groupId>
<artifactId > woodstox-core-lgpl</artifactId>
2014-07-16 13:01:19 +02:00
<version > 4.4.0</version>
2015-05-17 15:29:54 +02:00
<exclusions >
<exclusion >
<!-- provided by Java 1.7 -->
<groupId > javax.xml.stream</groupId>
<artifactId > stax-api</artifactId>
</exclusion>
</exclusions>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > org.codehaus.staxmate</groupId>
<artifactId > staxmate</artifactId>
2014-07-16 13:01:19 +02:00
<version > 2.0.1</version>
2010-09-06 16:08:06 +02:00
<exclusions >
<!-- see SONAR - 879 -->
<exclusion >
<groupId > org.codehaus.woodstox</groupId>
<artifactId > stax2-api</artifactId>
</exclusion>
2013-10-01 17:58:15 +02:00
<exclusion >
<groupId > stax</groupId>
<artifactId > stax-api</artifactId>
</exclusion>
2010-09-06 16:08:06 +02:00
<exclusion >
<groupId > org.codehaus.woodstox</groupId>
<artifactId > woodstox-core-asl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > org.mockito</groupId>
2014-06-20 00:43:47 +02:00
<artifactId > mockito-core</artifactId>
2015-05-29 23:23:17 +02:00
<version > 1.10.19</version>
2014-06-20 00:43:47 +02:00
<exclusions >
<exclusion >
<groupId > org.hamcrest</groupId>
<artifactId > hamcrest-core</artifactId>
</exclusion>
</exclusions>
2010-09-06 16:08:06 +02:00
</dependency>
2014-06-23 14:52:56 +02:00
<dependency >
<groupId > com.google.code.bean-matchers</groupId>
<artifactId > bean-matchers</artifactId>
<version > 0.9</version>
<scope > test</scope>
<exclusions >
<exclusion >
<groupId > org.hamcrest</groupId>
<artifactId > hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>
2012-04-24 18:15:45 +02:00
<dependency >
2015-01-10 07:15:03 +01:00
<groupId > org.assertj</groupId>
<artifactId > assertj-core</artifactId>
2015-06-05 10:27:12 +02:00
<version > 2.0.0</version>
2012-04-24 18:15:45 +02:00
</dependency>
2015-06-05 10:50:52 +02:00
<dependency >
<groupId > org.assertj</groupId>
<artifactId > assertj-guava</artifactId>
<version > 1.3.1</version>
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
<groupId > xpp3</groupId>
<artifactId > xpp3</artifactId>
<version > 1.1.3.3</version>
</dependency>
<dependency >
<groupId > org.jruby</groupId>
<artifactId > jruby-complete</artifactId>
2014-01-17 10:30:52 +01:00
<!-- do not upgrade to 1.7.10, much slower at startup -->
<version > 1.7.9</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > org.codehaus.woodstox</groupId>
<artifactId > stax2-api</artifactId>
2014-07-16 13:01:19 +02:00
<version > 3.1.4</version>
2013-10-01 17:58:15 +02:00
<exclusions >
<exclusion >
<groupId > stax</groupId>
<artifactId > stax-api</artifactId>
</exclusion>
</exclusions>
2010-09-06 16:08:06 +02:00
</dependency>
2012-09-06 09:33:36 +02:00
<dependency >
2013-10-01 16:51:37 +02:00
<groupId > javax.servlet</groupId>
<artifactId > javax.servlet-api</artifactId>
<version > 3.0.1</version>
2012-09-06 09:33:36 +02:00
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
2013-03-26 14:43:01 +01:00
<groupId > org.eclipse.jetty</groupId>
<artifactId > jetty-server</artifactId>
2010-09-06 16:08:06 +02:00
<version > ${jetty.version}</version>
</dependency>
2014-06-20 00:43:47 +02:00
<dependency >
<groupId > org.hamcrest</groupId>
<artifactId > hamcrest-all</artifactId>
<version > 1.3</version>
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
<groupId > junit</groupId>
<artifactId > junit</artifactId>
2014-12-09 23:16:18 +01:00
<version > 4.12</version>
2010-09-06 16:08:06 +02:00
</dependency>
2015-06-05 15:14:48 +02:00
<dependency >
<groupId > com.tngtech.java</groupId>
<artifactId > junit-dataprovider</artifactId>
<version > 1.9.2</version>
</dependency>
2010-09-06 16:08:06 +02:00
<dependency >
<groupId > xmlunit</groupId>
<artifactId > xmlunit</artifactId>
2013-09-12 11:51:24 +02:00
<version > 1.4</version>
2010-09-06 16:08:06 +02:00
</dependency>
<dependency >
<groupId > org.dbunit</groupId>
<artifactId > dbunit</artifactId>
<version > 2.4.5</version>
<exclusions >
<!-- removing commons lang 2.1 and xerces -->
<exclusion >
<groupId > commons-lang</groupId>
<artifactId > commons-lang</artifactId>
</exclusion>
<exclusion >
<groupId > xerces</groupId>
<artifactId > xmlParserAPIs</artifactId>
</exclusion>
<exclusion >
<groupId > xerces</groupId>
<artifactId > xercesImpl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency >
2013-03-26 15:43:46 +01:00
<groupId > org.eclipse.jetty</groupId>
<artifactId > test-jetty-servlet</artifactId>
2010-09-06 16:08:06 +02:00
<version > ${jetty.version}</version>
</dependency>
2012-05-09 09:19:56 +02:00
<dependency >
<groupId > org.reflections</groupId>
<artifactId > reflections</artifactId>
2014-12-09 23:16:18 +01:00
<version > 0.9.9</version>
2012-05-09 09:19:56 +02:00
</dependency>
2012-10-29 10:44:42 +01:00
<dependency >
<groupId > com.google.code.gson</groupId>
<artifactId > gson</artifactId>
2014-12-09 23:27:01 +01:00
<version > 2.3.1</version>
2012-10-29 10:44:42 +01:00
</dependency>
2013-04-16 17:26:34 +02:00
<dependency >
2015-06-18 15:23:54 +02:00
<groupId > org.sonarsource</groupId>
2014-05-07 12:17:04 +02:00
<artifactId > sonar-persistit</artifactId>
2015-06-18 15:23:54 +02:00
<version > 3.3.2</version>
2013-06-18 14:07:10 +02:00
<exclusions >
<exclusion >
<groupId > commons-logging</groupId>
<artifactId > commons-logging</artifactId>
</exclusion>
</exclusions>
2013-04-16 17:26:34 +02:00
</dependency>
2013-04-19 10:22:37 +02:00
<dependency >
<groupId > com.github.kevinsawicki</groupId>
<artifactId > http-request</artifactId>
2013-09-12 11:51:24 +02:00
<version > 5.4.1</version>
2013-04-19 10:22:37 +02:00
</dependency>
2013-07-23 09:54:32 +02:00
<dependency >
<groupId > org.codehaus.sonar.runner</groupId>
<artifactId > sonar-runner-api</artifactId>
2014-10-06 17:54:15 +02:00
<version > 2.4</version>
2013-07-23 09:54:32 +02:00
</dependency>
2015-01-23 12:14:00 +01:00
<dependency >
<groupId > org.freemarker</groupId>
<artifactId > freemarker</artifactId>
<version > 2.3.20</version>
</dependency>
2015-01-26 18:24:01 +01:00
<dependency >
<groupId > com.google.protobuf</groupId>
<artifactId > protobuf-java</artifactId>
2015-09-09 09:37:48 +02:00
<version > 3.0.0-beta-1</version>
2015-01-26 18:24:01 +01:00
</dependency>
2015-02-03 23:06:45 +01:00
<dependency >
<groupId > net.jpountz.lz4</groupId>
<artifactId > lz4</artifactId>
<version > 1.3.0</version>
</dependency>
2015-06-01 23:15:37 +02:00
<dependency >
<groupId > org.subethamail</groupId>
<artifactId > subethasmtp</artifactId>
<version > 3.1.7</version>
<scope > test</scope>
</dependency>
2015-02-03 23:06:45 +01:00
2013-10-01 16:51:37 +02:00
<!-- tomcat -->
<dependency >
<groupId > org.apache.tomcat.embed</groupId>
<artifactId > tomcat-embed-core</artifactId>
<version > ${tomcat.version}</version>
</dependency>
<dependency >
<groupId > org.apache.tomcat.embed</groupId>
<artifactId > tomcat-embed-jasper</artifactId>
<version > ${tomcat.version}</version>
<exclusions >
<exclusion >
<groupId > org.eclipse.jdt.core.compiler</groupId>
<artifactId > ecj</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > org.apache.tomcat.embed</groupId>
<artifactId > tomcat-embed-logging-juli</artifactId>
<version > ${tomcat.version}</version>
</dependency>
2014-12-17 15:19:36 +01:00
<!-- Using scope=provided to exclude from all transitive dependencies -->
<dependency >
<groupId > xml-apis</groupId>
<artifactId > xml-apis</artifactId>
<version > 1.4.01</version>
<scope > provided</scope>
</dependency>
2012-06-20 12:25:19 +02:00
</dependencies>
2010-09-06 16:08:06 +02:00
</dependencyManagement>
<mailingLists >
<mailingList >
2013-07-08 16:20:00 +02:00
<name > SonarQube users mailing list</name>
2010-09-06 16:08:06 +02:00
<subscribe > http://xircles.codehaus.org/projects/sonar/lists</subscribe>
<unsubscribe > http://xircles.codehaus.org/projects/sonar/lists</unsubscribe>
<post > user@sonar.codehaus.org</post>
<archive > http://www.nabble.com/Sonar-f30151.html</archive>
</mailingList>
</mailingLists>
<scm >
2014-03-25 09:17:19 +01:00
<connection > scm:git:git@github.com:SonarSource/sonarqube.git</connection>
<developerConnection > scm:git:git@github.com:SonarSource/sonarqube.git</developerConnection>
<url > https://github.com/SonarSource/sonarqube</url>
2015-10-13 12:06:23 +02:00
<tag > HEAD</tag>
2010-09-06 16:08:06 +02:00
</scm>
2011-01-31 01:11:24 +01:00
2010-09-06 16:08:06 +02:00
<ciManagement >
2015-06-03 11:15:41 +02:00
<system > travis-ci</system>
<url > https://travis-ci.org/SonarSource/sonarqube</url>
2010-09-06 16:08:06 +02:00
</ciManagement>
<licenses >
<license >
<name > GNU LGPL 3</name>
<url > http://www.gnu.org/licenses/lgpl.txt</url>
<distribution > repo</distribution>
</license>
</licenses>
2013-12-12 10:17:46 +01:00
<!-- Developers information should not be removed as it's
required for deployment -->
<developers >
<developer >
2015-05-11 14:21:40 +02:00
<id > bellingard</id>
<name > Fabrice Bellingard</name>
<email > fabrice.bellingard@sonarsource.com</email>
2013-12-12 10:17:46 +01:00
<organization > SonarSource</organization>
<timezone > +1</timezone>
</developer>
<developer >
<id > dbolkensteyn</id>
<name > Dinesh Bolkensteyn</name>
<email > dinesh.bolkensteyn@sonarsource.com</email>
<organization > SonarSource</organization>
<timezone > +1</timezone>
</developer>
<developer >
2015-05-11 14:21:40 +02:00
<id > dgageot</id>
<name > David Gageot</name>
2013-12-12 10:17:46 +01:00
<organization > SonarSource</organization>
2015-05-11 14:21:40 +02:00
<timezone > +1</timezone>
2013-12-12 10:17:46 +01:00
</developer>
<developer >
2015-05-11 14:21:40 +02:00
<id > ehartmann</id>
<name > Eric Hartmann</name>
2013-12-12 10:17:46 +01:00
<organization > SonarSource</organization>
<timezone > +1</timezone>
</developer>
<developer >
2015-05-11 14:21:40 +02:00
<id > fmallet</id>
2013-12-12 10:17:46 +01:00
<name > Freddy Mallet</name>
<email > freddy.mallet@sonarsource.com</email>
<organization > SonarSource</organization>
<timezone > +1</timezone>
</developer>
2015-05-11 14:21:40 +02:00
<developer >
<id > Godin</id>
<name > Evgeny Mandrikov</name>
<email > evgeny.mandrikov@sonarsource.com</email>
<organization > SonarSource</organization>
<timezone > +3</timezone>
</developer>
2013-12-12 10:17:46 +01:00
<developer >
<id > henryju</id>
<name > Julien Henry</name>
<email > julien.henry@sonarsource.com</email>
<organization > SonarSource</organization>
<timezone > +1</timezone>
</developer>
2015-05-11 14:21:40 +02:00
<developer >
<id > jblievremont</id>
<name > Jean-Baptiste Lievremont</name>
<organization > SonarSource</organization>
<timezone > +1</timezone>
</developer>
2013-12-12 10:17:46 +01:00
<developer >
<id > julienlancelot</id>
<name > Julien Lancelot</name>
<email > julien.lancelot@sonarsource.com</email>
<organization > SonarSource</organization>
<timezone > +1</timezone>
</developer>
<developer >
<id > olivier.gaudin</id>
<name > Olivier Gaudin</name>
<email > olivier.gaudin@sonarsource.com</email>
<organization > SonarSource</organization>
<timezone > +1</timezone>
</developer>
<developer >
<id > simonbrandhof</id>
<name > Simon Brandhof</name>
<email > simon.brandhof@sonarsource.com</email>
<organization > SonarSource</organization>
<timezone > +1</timezone>
</developer>
<developer >
2015-05-11 14:21:40 +02:00
<id > sns-seb</id>
<name > Sebastien Lesaint</name>
<organization > SonarSource</organization>
<timezone > +1</timezone>
</developer>
<developer >
<id > stas-vilchik</id>
<name > Stas Vilchik</name>
<organization > SonarSource</organization>
<timezone > +1</timezone>
</developer>
<developer >
<id > teryk</id>
<name > Teryk Bellahsene</name>
2013-12-12 10:17:46 +01:00
<organization > SonarSource</organization>
<timezone > +1</timezone>
</developer>
</developers>
2011-02-08 15:26:45 +01:00
<profiles >
2014-07-23 23:13:20 +02:00
<profile >
<id > dev</id>
<properties >
<skipSanityChecks > true</skipSanityChecks>
<enforcer.skip > true</enforcer.skip>
</properties>
</profile>
2010-09-06 16:08:06 +02:00
<profile >
<id > release</id>
<build >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-javadoc-plugin</artifactId>
<executions >
<execution >
<id > attach-javadocs</id>
<goals >
<goal > jar</goal>
</goals>
</execution>
</executions>
</plugin>
2014-03-26 23:33:03 +01:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-enforcer-plugin</artifactId>
<executions >
<execution >
2014-12-16 15:18:48 +01:00
<id > enforce-java7</id>
2014-03-26 23:33:03 +01:00
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requireJavaVersion >
<message > To release this project JDK ${jdk.min.version} is required.
</message>
2014-12-16 18:19:17 +01:00
<version > [1.7,)</version>
2014-03-26 23:33:03 +01:00
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
2010-11-11 12:45:08 +01:00
</plugins>
</build>
</profile>
2012-03-14 05:52:07 +01:00
2012-07-23 10:05:16 +02:00
<profile >
<id > javadoc</id>
<build >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-javadoc-plugin</artifactId>
<configuration >
<excludePackageNames >
2015-07-02 20:13:22 +02:00
net.*:org.sonar.application:org.sonar.server:org.sonar.graph:org.sonar.batch:org.sonar.channel:org.sonar.java:org.sonar.maven*:org.sonar.plugins.*:org.sonar.colorizer:org.sonar.core:org.sonar.duplications:org.sonar.markdown:com.*
2012-07-23 10:05:16 +02:00
</excludePackageNames>
<author > false</author>
<linksource > true</linksource>
<reportOutputDirectory > ${project.reporting.outputDirectory}/${project.version}/apidocs
</reportOutputDirectory>
</configuration>
</plugin>
</plugins>
</build>
</profile>
2010-11-11 12:36:29 +01:00
2011-07-12 13:19:07 +02:00
<profile >
<id > m2e</id>
<activation >
<!-- This profile is active only when used from Eclipse m2e and is used only to store settings. -->
<property >
<name > m2e.version</name>
</property>
</activation>
<build >
<pluginManagement >
<plugins >
<plugin >
<groupId > org.eclipse.m2e</groupId>
<artifactId > lifecycle-mapping</artifactId>
<version > 1.0.0</version>
<configuration >
<lifecycleMappingMetadata >
<pluginExecutions >
<pluginExecution >
<pluginExecutionFilter >
2015-09-15 18:19:55 +02:00
<groupId > org.sonarsource.sonarqube</groupId>
2011-07-12 13:19:07 +02:00
<artifactId > sonar-packaging-maven-plugin</artifactId>
<versionRange > [1.0,)</versionRange>
<goals >
2015-09-15 18:19:55 +02:00
<goal > check</goal>
2011-07-12 13:19:07 +02:00
</goals>
</pluginExecutionFilter>
<action >
2015-10-12 17:58:42 +02:00
<ignore />
2011-07-12 13:19:07 +02:00
</action>
</pluginExecution>
<pluginExecution >
<pluginExecutionFilter >
<groupId > org.codehaus.sonar</groupId>
<artifactId > sonar-dev-maven-plugin</artifactId>
<versionRange > [1.0,)</versionRange>
<goals >
<goal > trim</goal>
</goals>
</pluginExecutionFilter>
<action >
2015-10-12 17:58:42 +02:00
<ignore />
2011-07-12 13:19:07 +02:00
</action>
</pluginExecution>
<pluginExecution >
<pluginExecutionFilter >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-dependency-plugin</artifactId>
<versionRange > [1.0,)</versionRange>
<goals >
<goal > unpack</goal>
<goal > copy-dependencies</goal>
</goals>
</pluginExecutionFilter>
<action >
2015-10-12 17:58:42 +02:00
<ignore />
2011-07-12 13:19:07 +02:00
</action>
</pluginExecution>
2011-07-13 18:08:34 +02:00
<pluginExecution >
<pluginExecutionFilter >
<groupId > org.codehaus.mojo</groupId>
<artifactId > native2ascii-maven-plugin</artifactId>
<versionRange > [1.0-alpha-1,)</versionRange>
<goals >
<goal > native2ascii</goal>
</goals>
</pluginExecutionFilter>
<action >
2015-10-12 17:58:42 +02:00
<ignore />
2011-07-13 18:08:34 +02:00
</action>
</pluginExecution>
2011-07-12 13:19:07 +02:00
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
2013-02-06 15:57:38 +01:00
<profile >
<id > coverage-per-test</id>
2015-06-05 11:59:48 +02:00
<activation >
<property >
<name > coveragePerTest</name>
</property>
</activation>
2013-02-06 15:57:38 +01:00
<dependencies >
<dependency >
<groupId > org.codehaus.sonar-plugins.java</groupId>
<artifactId > sonar-jacoco-listeners</artifactId>
<version > ${sonarJava.version}</version>
<scope > test</scope>
</dependency>
</dependencies>
<build >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<properties >
<property >
<name > listener</name>
<value > org.sonar.java.jacoco.JUnitListener</value>
</property>
</properties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
2014-09-30 00:07:03 +02:00
<!--
The following profiles optimize the build for each team, according to their
stack layers (batch, server and web teams)
-->
<profile >
<!-- disable all tests -->
<id > skipTests</id>
<activation >
<property >
<name > skipTests</name>
</property>
</activation>
<properties >
<skipBatchTests > true</skipBatchTests>
<skipServerTests > true</skipServerTests>
</properties>
</profile>
2015-06-05 11:59:48 +02:00
2014-09-30 00:07:03 +02:00
<profile >
<id > batch</id>
<properties >
<skipServerTests > true</skipServerTests>
</properties>
</profile>
2015-06-05 11:59:48 +02:00
2014-09-30 00:07:03 +02:00
<profile >
<id > server</id>
<properties >
<skipBatchTests > true</skipBatchTests>
</properties>
</profile>
2015-06-05 11:59:48 +02:00
2014-09-30 00:07:03 +02:00
<profile >
<id > web</id>
<properties >
<!-- the web team does not care about java tests -->
<skipBatchTests > true</skipBatchTests>
<skipServerTests > true</skipServerTests>
<skipTests > true</skipTests>
</properties>
</profile>
2015-06-05 11:59:48 +02:00
2015-02-12 15:14:04 +01:00
<profile >
<!-- add microbenchmarks module to IDE -->
<id > includeMicrobenchmarkModule</id>
<modules >
<module > microbenchmark-template</module>
</modules>
</profile>
2015-02-14 14:29:52 +01:00
<profile >
<!--
check if maven dependencies have vulnerabilities listed in CVE
Standalone command: mvn org.owasp:dependency-check-maven:check
See http://jeremylong.github.io/DependencyCheck
-->
<id > securityCheck</id>
<build >
<plugins >
<plugin >
<groupId > org.owasp</groupId>
<artifactId > dependency-check-maven</artifactId>
<executions >
<execution >
<goals >
<goal > check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2015-02-19 09:08:26 +01:00
<profile >
<id > analysis</id>
<properties >
2015-06-05 11:59:48 +02:00
<coveragePerTest > true</coveragePerTest>
2015-02-19 09:08:26 +01:00
</properties>
</profile>
2015-06-26 11:35:47 +02:00
<profile >
<!-- integration tests -->
<id > it</id>
<modules >
<module > it</module>
</modules>
</profile>
2010-09-06 16:08:06 +02:00
</profiles>
2010-11-11 12:36:29 +01:00
</project>