123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482 |
- <?xml version="1.0" encoding="UTF-8"?>
- <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">
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonarsource.parent</groupId>
- <artifactId>parent</artifactId>
- <version>36</version>
- </parent>
- <groupId>org.sonarsource.sonarqube</groupId>
- <artifactId>sonarqube</artifactId>
- <packaging>pom</packaging>
- <version>6.2-SNAPSHOT</version>
- <name>SonarQube</name>
- <url>http://www.sonarqube.org/</url>
- <description>Open source platform for continuous inspection of code quality</description>
-
- <modules>
- <module>sonar-plugin-api-deps</module>
- <module>sonar-application</module>
- <module>sonar-scanner-engine</module>
- <module>sonar-scanner-protocol</module>
- <module>sonar-scanner-engine-shaded</module>
- <module>sonar-check-api</module>
- <module>sonar-colorizer</module>
- <module>sonar-core</module>
- <module>sonar-db</module>
- <module>sonar-duplications</module>
- <module>sonar-home</module>
- <module>sonar-markdown</module>
- <module>sonar-plugin-api</module>
- <module>server</module>
- <module>sonar-ws</module>
- <module>sonar-testing-harness</module>
- <module>plugins/sonar-xoo-plugin</module>
- </modules>
-
- <organization>
- <name>SonarSource</name>
- <url>http://www.sonarsource.com</url>
- </organization>
- <inceptionYear>2009</inceptionYear>
-
- <issueManagement>
- <system>jira</system>
- <url>http://jira.sonarsource.com/browse/SONAR</url>
- </issueManagement>
-
- <distributionManagement>
- <repository>
- <id>bintray</id>
- <url>https://api.bintray.com/maven/sonarsource/SonarQube/${project.groupId}/;publish=1</url>
- </repository>
- </distributionManagement>
-
- <properties>
- <sonarUpdateCenter.version>1.17</sonarUpdateCenter.version>
- <sonarJava.version>4.0</sonarJava.version>
- <sonarJavaScript.version>2.14</sonarJavaScript.version>
- <sonarCSharp.version>5.3.1</sonarCSharp.version>
- <sonarGit.version>1.2</sonarGit.version>
- <sonarSvn.version>1.3</sonarSvn.version>
- <h2.version>1.3.176</h2.version>
- <jetty.version>8.1.12.v20130726</jetty.version>
- <logback.version>1.1.7</logback.version>
- <slf4j.version>1.7.21</slf4j.version>
- <tomcat.version>8.0.32</tomcat.version>
- <elasticsearch.version>2.3.5</elasticsearch.version>
- <orchestrator.version>3.13-build640</orchestrator.version>
- <okhttp.version>3.3.1</okhttp.version>
- <jackson.version>2.6.6</jackson.version>
-
- <protobuf.version>3.0.0-beta-2</protobuf.version>
-
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.min.version>3.2</maven.min.version>
- <timestamp>${maven.build.timestamp}</timestamp>
- <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format>
- <license.title>SonarQube</license.title>
-
- <skipBatchTests>false</skipBatchTests>
- <skipServerTests>false</skipServerTests>
- <skipSanityChecks>false</skipSanityChecks>
-
- <argLine>-Xmx512m -Djava.awt.headless=true</argLine>
- <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
-
- <!-- used for deployment to SonarSource Artifactory -->
- <gitRepositoryName>sonarqube</gitRepositoryName>
- </properties>
-
- <build>
- <extensions>
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-webdav</artifactId>
- <version>1.0-beta-2</version>
- </extension>
- <extension>
- <groupId>kr.motd.maven</groupId>
- <artifactId>os-maven-plugin</artifactId>
- <version>1.4.1.Final</version>
- </extension>
- </extensions>
-
- <pluginManagement>
- <!-- Plugins ordered by shortname (assembly, antrun ...) -->
- <plugins>
- <plugin>
- <groupId>com.github.eirslett</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>0.0.29</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.7</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.4</version>
- <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>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.9.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.10</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.4</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>2.18.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>1.6</version>
- </plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>0.7.5.201505241946</version>
- <configuration>
- <excludes>
- <exclude>*_javassist_*</exclude>
- </excludes>
- <includes>
- <include>org.sonar.*</include>
- <include>org.sonarqube.*</include>
- </includes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.1</version>
- <configuration>
- <author>false</author>
- <linksource>true</linksource>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- <version>2.5</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-plugin-plugin</artifactId>
- <version>3.3</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.5.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.7</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>2.3</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.4</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.4</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.18.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.6</version>
- </plugin>
- <plugin>
- <!-- not thread safe -->
- <groupId>org.codehaus.sonar</groupId>
- <artifactId>sonar-dev-maven-plugin</artifactId>
- <version>1.8</version>
- </plugin>
- <plugin>
- <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId>
- <artifactId>sonar-packaging-maven-plugin</artifactId>
- <version>1.17</version>
- </plugin>
- <plugin>
- <groupId>org.owasp</groupId>
- <artifactId>dependency-check-maven</artifactId>
- <version>1.2.11</version>
- <configuration>
- <failBuildOnCVSS>8</failBuildOnCVSS>
- <suppressionFile>cve-false-positives.xml</suppressionFile>
- </configuration>
- </plugin>
- <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>
- <version>1.1.1</version>
- <configuration>
- <printEqualFiles>true</printEqualFiles>
- <!--
- <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
- <failBuildInCaseOfEqualContentConflict>true</failBuildInCaseOfEqualContentConflict>
- <failBuildInCaseOfConflict>true</failBuildInCaseOfConflict>
- -->
- <checkCompileClasspath>true</checkCompileClasspath>
- <checkRuntimeClasspath>true</checkRuntimeClasspath>
- <checkTestClasspath>false</checkTestClasspath>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.xolstice.maven.plugins</groupId>
- <artifactId>protobuf-maven-plugin</artifactId>
- <version>0.5.0</version>
- </plugin>
- </plugins>
- </pluginManagement>
-
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-rules</id>
- <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>
- </requirePluginVersions>
- <requireReleaseDeps>
- <message>No SNAPSHOT versions allowed for dependencies</message>
- <onlyWhenRelease>true</onlyWhenRelease>
- </requireReleaseDeps>
- <requireJavaVersion>
- <message>To build this project JDK ${jdk.min.version} (or upper) is required. Please install it.
- </message>
- <version>${jdk.min.version}</version>
- </requireJavaVersion>
- <requireMavenVersion>
- <version>[${maven.min.version},)</version>
- </requireMavenVersion>
- <bannedDependencies>
- <!-- See SONAR-2512 -->
- <message>commons-beanutils:commons-beanutils should be used instead</message>
- <excludes>
- <exclude>commons-beanutils:commons-beanutils-core</exclude>
- </excludes>
- <searchTransitive>true</searchTransitive>
- </bannedDependencies>
- <requireNoRepositories>
- <message>Definition of new repositories is not allowed in order to deploy to central repository.
- </message>
- </requireNoRepositories>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--
- Choosing a random timezone when executing tests allows to detect
- early the tests that are coupled with local environment.
- -->
- <plugin>
- <groupId>com.github.genthaler</groupId>
- <artifactId>beanshell-maven-plugin</artifactId>
- <version>1.0</version>
- <executions>
- <execution>
- <id>randomize-environment</id>
- <phase>validate</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <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);
- ]]>
- </script>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <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>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- <!-- 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>
- <localCheckout>true</localCheckout>
- <pushChanges>false</pushChanges>
- <mavenExecutorId>forked-path</mavenExecutorId>
- <preparationGoals>clean install</preparationGoals>
- <!-- SONAR-4189 -->
- <arguments>-Prelease</arguments>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <runOrder>random</runOrder>
- <systemPropertyVariables>
- <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
- <!--
- See profile 'randomize-environment'
- -->
- <user.timezone>${testTimezone}</user.timezone>
- </systemPropertyVariables>
- <groups>${junitGroups}</groups>
- <threadCount>1</threadCount>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <dependencyManagement>
- <dependencies>
- <!-- SonarQube modules -->
- <dependency>
- <groupId>org.codehaus.sonar</groupId>
- <artifactId>sonar-channel</artifactId>
- <version>4.1</version>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.codehaus.sonar</groupId>
- <artifactId>sonar-classloader</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sonar-markdown</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sonar-check-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sonar-colorizer</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sonar-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sonar-db</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sonar-scanner-protocol</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sonar-ws</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sonar-duplications</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sonar-home</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.sonar</groupId>
- <artifactId>sonar-graph</artifactId>
- <version>5.1</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sonar-plugin-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.sonarsource.update-center</groupId>
- <artifactId>sonar-update-center-common</artifactId>
- <version>${sonarUpdateCenter.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sonar-server</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <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>
- <artifactId>sonar-xoo-plugin</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.sonarsource.scm.git</groupId>
- <artifactId>sonar-scm-git-plugin</artifactId>
- <version>${sonarGit.version}</version>
- <type>sonar-plugin</type>
- </dependency>
- <dependency>
- <groupId>org.sonarsource.scm.svn</groupId>
- <artifactId>sonar-scm-svn-plugin</artifactId>
- <version>${sonarSvn.version}</version>
- <type>sonar-plugin</type>
- </dependency>
- <dependency>
- <groupId>org.sonarsource.sonarqube</groupId>
- <artifactId>sonar-testing-harness</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.sonarsource.sonarqube</groupId>
- <artifactId>sonar-plugin-bridge</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.sonarsource.java</groupId>
- <artifactId>sonar-java-plugin</artifactId>
- <version>${sonarJava.version}</version>
- <type>sonar-plugin</type>
- <!--<scope>provided</scope>-->
- <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>
- <!-- The mockito version of the Java plugin is not compatible with the mockito version used in SonarQube -->
- <exclusion>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.sonarsource.javascript</groupId>
- <artifactId>sonar-javascript-plugin</artifactId>
- <version>${sonarJavaScript.version}</version>
- <type>sonar-plugin</type>
- </dependency>
- <dependency>
- <groupId>org.sonarsource.dotnet</groupId>
- <artifactId>sonar-csharp-plugin</artifactId>
- <version>${sonarCSharp.version}</version>
- <type>sonar-plugin</type>
- </dependency>
- <dependency>
- <groupId>net.java.dev.jna</groupId>
- <artifactId>jna</artifactId>
- <version>4.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.elasticsearch</groupId>
- <artifactId>elasticsearch</artifactId>
- <version>${elasticsearch.version}</version>
- </dependency>
- <dependency>
- <groupId>com.github.tlrx</groupId>
- <artifactId>elasticsearch-test</artifactId>
- <version>1.2.1</version>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>18.0</version>
- </dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <version>3.0.0</version>
- </dependency>
- <dependency>
- <groupId>commons-dbutils</groupId>
- <artifactId>commons-dbutils</artifactId>
- <version>1.5</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>2.4</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-csv</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>1.8</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-email</artifactId>
- <version>1.3.2</version>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.6</version>
- </dependency>
- <dependency>
- <groupId>commons-dbcp</groupId>
- <artifactId>commons-dbcp</artifactId>
- <version>1.4</version>
- </dependency>
- <dependency>
- <!-- See SONAR-2512 -->
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- <version>1.8.3</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </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>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>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt</artifactId>
- <version>0.6.0</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-annotations</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis</artifactId>
- <version>3.2.7</version>
- </dependency>
- <dependency>
- <groupId>org.nanohttpd</groupId>
- <artifactId>nanohttpd</artifactId>
- <version>2.3.0</version>
- </dependency>
- <dependency>
- <groupId>org.picocontainer</groupId>
- <artifactId>picocontainer</artifactId>
- <version>2.15</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jul-to-slf4j</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>log4j-over-slf4j</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-access</artifactId>
- <version>${logback.version}</version>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>${logback.version}</version>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- <version>${logback.version}</version>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>${h2.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jruby.rack</groupId>
- <artifactId>jruby-rack</artifactId>
- <version>1.1.13.2</version>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.1.39</version>
- </dependency>
- <dependency>
- <groupId>com.oracle</groupId>
- <artifactId>ojdbc6</artifactId>
- <!-- SonarSource internal tests: -->
- <!-- This version should be the same as at http://infra.internal.sonarsource.com/jenkins/orch-oracle*.properties -->
- <version>11.2.0.3.0</version>
- </dependency>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>9.4.1209.jre7</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.woodstox</groupId>
- <artifactId>woodstox-core-lgpl</artifactId>
- <version>4.4.0</version>
- <exclusions>
- <exclusion>
- <!-- provided by Java 1.7 -->
- <groupId>javax.xml.stream</groupId>
- <artifactId>stax-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.codehaus.staxmate</groupId>
- <artifactId>staxmate</artifactId>
- <version>2.0.1</version>
- <exclusions>
- <!-- see SONAR-879 -->
- <exclusion>
- <groupId>org.codehaus.woodstox</groupId>
- <artifactId>stax2-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>stax</groupId>
- <artifactId>stax-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.codehaus.woodstox</groupId>
- <artifactId>woodstox-core-asl</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <version>1.10.19</version>
- <exclusions>
- <exclusion>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <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>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <version>3.4.1</version>
- </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-guava</artifactId>
- <version>3.0.0</version>
- </dependency>
- <dependency>
- <groupId>xpp3</groupId>
- <artifactId>xpp3</artifactId>
- <version>1.1.3.3</version>
- </dependency>
- <dependency>
- <groupId>org.jruby</groupId>
- <artifactId>jruby-complete</artifactId>
- <!-- do not upgrade to 1.7.10, much slower at startup -->
- <version>1.7.9</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.woodstox</groupId>
- <artifactId>stax2-api</artifactId>
- <version>3.1.4</version>
- <exclusions>
- <exclusion>
- <groupId>stax</groupId>
- <artifactId>stax-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>3.0.1</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-server</artifactId>
- <version>${jetty.version}</version>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-all</artifactId>
- <version>1.3</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- </dependency>
- <dependency>
- <groupId>com.tngtech.java</groupId>
- <artifactId>junit-dataprovider</artifactId>
- <version>1.9.2</version>
- </dependency>
- <dependency>
- <groupId>xmlunit</groupId>
- <artifactId>xmlunit</artifactId>
- <version>1.4</version>
- </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>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>test-jetty-servlet</artifactId>
- <version>${jetty.version}</version>
- </dependency>
- <dependency>
- <groupId>org.reflections</groupId>
- <artifactId>reflections</artifactId>
- <version>0.9.9</version>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>2.3.1</version>
- </dependency>
- <dependency>
- <groupId>org.sonarsource</groupId>
- <artifactId>sonar-persistit</artifactId>
- <version>3.3.2</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.github.kevinsawicki</groupId>
- <artifactId>http-request</artifactId>
- <version>5.4.1</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.sonar.runner</groupId>
- <artifactId>sonar-runner-api</artifactId>
- <version>2.4</version>
- </dependency>
- <dependency>
- <groupId>org.freemarker</groupId>
- <artifactId>freemarker</artifactId>
- <version>2.3.20</version>
- </dependency>
- <dependency>
- <groupId>com.google.protobuf</groupId>
- <artifactId>protobuf-java</artifactId>
- <version>${protobuf.version}</version>
- </dependency>
- <dependency>
- <groupId>net.jpountz.lz4</groupId>
- <artifactId>lz4</artifactId>
- <version>1.3.0</version>
- </dependency>
- <dependency>
- <groupId>org.subethamail</groupId>
- <artifactId>subethasmtp</artifactId>
- <version>3.1.7</version>
- <scope>test</scope>
- </dependency>
-
- <!-- 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>
- <dependency>
- <groupId>com.squareup.okhttp3</groupId>
- <artifactId>okhttp</artifactId>
- <version>${okhttp.version}</version>
- </dependency>
- <dependency>
- <groupId>com.squareup.okhttp3</groupId>
- <artifactId>mockwebserver</artifactId>
- <version>${okhttp.version}</version>
- </dependency>
-
- <!-- 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>
-
- </dependencies>
- </dependencyManagement>
-
- <mailingLists>
- <mailingList>
- <name>SonarQube users mailing list</name>
- <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>
- <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>
- <tag>HEAD</tag>
- </scm>
-
- <ciManagement>
- <system>travis-ci</system>
- <url>https://travis-ci.org/SonarSource/sonarqube</url>
- </ciManagement>
-
- <licenses>
- <license>
- <name>GNU LGPL 3</name>
- <url>http://www.gnu.org/licenses/lgpl.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <!-- Developers information should not be removed as it's
- required for deployment -->
-
- <developers>
- <developer>
- <id>bellingard</id>
- <name>Fabrice Bellingard</name>
- <email>fabrice.bellingard@sonarsource.com</email>
- <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>
- <id>dgageot</id>
- <name>David Gageot</name>
- <organization>SonarSource</organization>
- <timezone>+1</timezone>
- </developer>
- <developer>
- <id>ehartmann</id>
- <name>Eric Hartmann</name>
- <organization>SonarSource</organization>
- <timezone>+1</timezone>
- </developer>
- <developer>
- <id>fmallet</id>
- <name>Freddy Mallet</name>
- <email>freddy.mallet@sonarsource.com</email>
- <organization>SonarSource</organization>
- <timezone>+1</timezone>
- </developer>
- <developer>
- <id>Godin</id>
- <name>Evgeny Mandrikov</name>
- <email>evgeny.mandrikov@sonarsource.com</email>
- <organization>SonarSource</organization>
- <timezone>+3</timezone>
- </developer>
- <developer>
- <id>henryju</id>
- <name>Julien Henry</name>
- <email>julien.henry@sonarsource.com</email>
- <organization>SonarSource</organization>
- <timezone>+1</timezone>
- </developer>
- <developer>
- <id>jblievremont</id>
- <name>Jean-Baptiste Lievremont</name>
- <organization>SonarSource</organization>
- <timezone>+1</timezone>
- </developer>
- <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>
- <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>
- <organization>SonarSource</organization>
- <timezone>+1</timezone>
- </developer>
- </developers>
-
- <profiles>
- <profile>
- <id>dev</id>
- <properties>
- <skipSanityChecks>true</skipSanityChecks>
- <enforcer.skip>true</enforcer.skip>
- </properties>
- </profile>
- <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>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-java8</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireJavaVersion>
- <message>To release this project JDK ${jdk.min.version} is required.
- </message>
- <version>[${jdk.min.version},)</version>
- </requireJavaVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <profile>
- <id>javadoc</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <excludePackageNames>
- 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.*
- </excludePackageNames>
- <author>false</author>
- <linksource>true</linksource>
- <reportOutputDirectory>${project.reporting.outputDirectory}/${project.version}/apidocs
- </reportOutputDirectory>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <profile>
- <id>protobuf-compile</id>
- <activation>
- <file>
- <exists>src/main/protobuf</exists>
- </file>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.xolstice.maven.plugins</groupId>
- <artifactId>protobuf-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-protobuf-java-sources</id>
- <goals>
- <goal>compile</goal>
- </goals>
- <configuration>
- <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
- <protoSourceRoot>${project.basedir}/src/main/protobuf</protoSourceRoot>
- <outputDirectory>${project.build.directory}/generated-sources/protobuf</outputDirectory>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>com.google.protobuf</groupId>
- <artifactId>protoc</artifactId>
- <version>${protobuf.version}</version>
- <type>exe</type>
- <classifier>${os.detected.classifier}</classifier>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-protobuf-generated-sources</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-sources/protobuf</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>protobuf-test-compile</id>
- <activation>
- <file>
- <exists>src/test/protobuf</exists>
- </file>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.xolstice.maven.plugins</groupId>
- <artifactId>protobuf-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-protobuf-java-tests</id>
- <goals>
- <goal>test-compile</goal>
- </goals>
- <configuration>
- <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
- <protoTestSourceRoot>${project.basedir}/src/test/protobuf</protoTestSourceRoot>
- <outputDirectory>${project.build.directory}/generated-test-sources/protobuf</outputDirectory>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>com.google.protobuf</groupId>
- <artifactId>protoc</artifactId>
- <version>${protobuf.version}</version>
- <classifier>${os.detected.classifier}</classifier>
- <type>exe</type>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-protobuf-generated-tests</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-test-sources/protobuf</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <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>
- <groupId>org.sonarsource.sonarqube</groupId>
- <artifactId>sonar-packaging-maven-plugin</artifactId>
- <versionRange>[1.0,)</versionRange>
- <goals>
- <goal>check</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </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>
- <ignore />
- </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>
- <ignore />
- </action>
- </pluginExecution>
- <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>
- <ignore />
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- </profile>
-
- <profile>
- <id>coverage-per-test</id>
- <activation>
- <property>
- <name>coveragePerTest</name>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>org.sonarsource.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>
-
-
- <!--
- The following profiles optimize the build for each team, according to their
- stack layers (scanner, 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>
-
- <profile>
- <id>scanner</id>
- <properties>
- <skipServerTests>true</skipServerTests>
- </properties>
- </profile>
-
- <profile>
- <id>server</id>
- <properties>
- <skipBatchTests>true</skipBatchTests>
- </properties>
- </profile>
-
- <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>
-
- <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>
-
- <profile>
- <!-- integration, performance and upgrade tests -->
- <id>tests</id>
- <modules>
- <module>it</module>
- <module>tests</module>
- </modules>
- </profile>
- </profiles>
-
- </project>
|