You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 54KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.sonarsource.parent</groupId>
  8. <artifactId>parent</artifactId>
  9. <version>44</version>
  10. </parent>
  11. <groupId>org.sonarsource.sonarqube</groupId>
  12. <artifactId>sonarqube</artifactId>
  13. <packaging>pom</packaging>
  14. <version>7.1-SNAPSHOT</version>
  15. <name>SonarQube</name>
  16. <url>http://www.sonarqube.org/</url>
  17. <description>Open source platform for continuous inspection of code quality</description>
  18. <modules>
  19. <module>sonar-plugin-api-deps</module>
  20. <module>sonar-application</module>
  21. <module>sonar-scanner-engine</module>
  22. <module>sonar-scanner-protocol</module>
  23. <module>sonar-scanner-engine-shaded</module>
  24. <module>sonar-check-api</module>
  25. <module>sonar-core</module>
  26. <module>sonar-duplications</module>
  27. <module>sonar-home</module>
  28. <module>sonar-markdown</module>
  29. <module>sonar-plugin-api</module>
  30. <module>server</module>
  31. <module>sonar-ws</module>
  32. <module>sonar-ws-generator</module>
  33. <module>sonar-testing-harness</module>
  34. <module>plugins/sonar-xoo-plugin</module>
  35. </modules>
  36. <organization>
  37. <name>SonarSource</name>
  38. <url>http://www.sonarsource.com</url>
  39. </organization>
  40. <inceptionYear>2009</inceptionYear>
  41. <issueManagement>
  42. <system>jira</system>
  43. <url>http://jira.sonarsource.com/browse/SONAR</url>
  44. </issueManagement>
  45. <properties>
  46. <!-- see http://repo1.maven.org/maven2/org/sonarsource/dotnet/sonar-csharp-plugin/ -->
  47. <!-- Do not forget to exclude any new transitive dependencies -->
  48. <sonarCSharp.version>6.7.1.4347</sonarCSharp.version>
  49. <!-- see http://repo1.maven.org/maven2/org/sonarsource/java/sonar-java-plugin/ -->
  50. <!-- Do not forget to exclude any new transitive dependencies -->
  51. <sonarJava.version>5.1.0.13090</sonarJava.version>
  52. <!-- see http://repo1.maven.org/maven2/org/sonarsource/javascript/sonar-javascript-plugin/ -->
  53. <!-- Do not forget to exclude any new transitive dependencies -->
  54. <sonarJavaScript.version>4.0.0.5862</sonarJavaScript.version>
  55. <!-- see http://repo1.maven.org/maven2/org/sonarsource/php/sonar-php-plugin/ -->
  56. <!-- Do not forget to exclude any new transitive dependencies -->
  57. <sonarPhp.version>2.12.1.3018</sonarPhp.version>
  58. <!-- see http://repo1.maven.org/maven2/org/sonarsource/python/sonar-python-plugin/ -->
  59. <!-- Do not forget to exclude any new transitive dependencies -->
  60. <sonarPython.version>1.9.0.2010</sonarPython.version>
  61. <!-- see http://repo1.maven.org/maven2/org/sonarsource/flex/sonar-flex-plugin/ -->
  62. <!-- Do not forget to exclude any new transitive dependencies -->
  63. <sonarFlex.version>2.3</sonarFlex.version>
  64. <!-- see http://repo1.maven.org/maven2/org/sonarsource/xml/sonar-xml-plugin/ -->
  65. <!-- Do not forget to exclude any new transitive dependencies -->
  66. <sonarXml.version>1.4.3.1027</sonarXml.version>
  67. <!-- see https://repo1.maven.org/maven2/org/sonarsource/typescript/sonar-typescript-plugin/ -->
  68. <sonarTs.version>1.5.0.2122</sonarTs.version>
  69. <!-- see http://repo1.maven.org/maven2/org/sonarsource/scm/git/sonar-scm-git-plugin/ -->
  70. <sonarGit.version>1.3.0.869</sonarGit.version>
  71. <!-- see http://repo1.maven.org/maven2/org/sonarsource/scm/svn/sonar-scm-svn-plugin/ -->
  72. <sonarSvn.version>1.6.0.860</sonarSvn.version>
  73. <sonarUpdateCenter.version>1.18.0.487</sonarUpdateCenter.version>
  74. <h2.version>1.3.176</h2.version>
  75. <jetty.version>8.1.12.v20130726</jetty.version>
  76. <logback.version>1.2.3</logback.version>
  77. <slf4j.version>1.7.25</slf4j.version>
  78. <!-- Be aware that Log4j is used by Elasticsearch client -->
  79. <log4j.version>2.8.2</log4j.version>
  80. <tomcat.version>8.5.23</tomcat.version>
  81. <elasticsearch.version>5.6.3</elasticsearch.version>
  82. <orchestrator.version>3.15.2.1322</orchestrator.version>
  83. <okhttp.version>3.7.0</okhttp.version>
  84. <jackson.version>2.6.6</jackson.version>
  85. <jjwt.version>0.9.0</jjwt.version>
  86. <protobuf.version>3.5.1</protobuf.version>
  87. <hazelcast.version>3.8.6</hazelcast.version>
  88. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  89. <maven.min.version>3.3.9</maven.min.version>
  90. <timestamp>${maven.build.timestamp}</timestamp>
  91. <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format>
  92. <license.title>SonarQube</license.title>
  93. <skipSanityChecks>false</skipSanityChecks>
  94. <argLine>-Xmx512m -Djava.awt.headless=true</argLine>
  95. <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
  96. <!-- used for deployment to SonarSource Artifactory -->
  97. <gitRepositoryName>sonarqube</gitRepositoryName>
  98. <!-- Release: enable publication to Bintray -->
  99. <artifactsToPublish>${project.groupId}:sonar-application:zip</artifactsToPublish>
  100. </properties>
  101. <build>
  102. <extensions>
  103. <extension>
  104. <groupId>kr.motd.maven</groupId>
  105. <artifactId>os-maven-plugin</artifactId>
  106. <version>1.5.0.Final</version>
  107. </extension>
  108. </extensions>
  109. <pluginManagement>
  110. <!-- Plugins ordered by shortname (assembly, antrun ...) -->
  111. <plugins>
  112. <plugin>
  113. <groupId>com.github.eirslett</groupId>
  114. <artifactId>frontend-maven-plugin</artifactId>
  115. <version>1.6</version>
  116. </plugin>
  117. <plugin>
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-assembly-plugin</artifactId>
  120. <version>3.1.0</version>
  121. <configuration>
  122. <archiverConfig>
  123. <!-- Workaround for http://jira.codehaus.org/browse/MASSEMBLY-422 -->
  124. <!-- 420(dec) = 644(oct) -->
  125. <fileMode>420</fileMode>
  126. <!-- 493(dec) = 755(oct) -->
  127. <directoryMode>493</directoryMode>
  128. <defaultDirectoryMode>493</defaultDirectoryMode>
  129. </archiverConfig>
  130. </configuration>
  131. </plugin>
  132. <plugin>
  133. <groupId>org.codehaus.mojo</groupId>
  134. <artifactId>build-helper-maven-plugin</artifactId>
  135. <version>3.0.0</version>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-clean-plugin</artifactId>
  140. <version>3.0.0</version>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-dependency-plugin</artifactId>
  145. <version>3.0.2</version>
  146. </plugin>
  147. <plugin>
  148. <groupId>org.apache.maven.plugins</groupId>
  149. <artifactId>maven-enforcer-plugin</artifactId>
  150. <version>3.0.0-M1</version>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-gpg-plugin</artifactId>
  155. <version>1.6</version>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.jacoco</groupId>
  159. <artifactId>jacoco-maven-plugin</artifactId>
  160. <version>0.7.9</version>
  161. <configuration>
  162. <excludes>
  163. <exclude>*_javassist_*</exclude>
  164. </excludes>
  165. <includes>
  166. <include>org.sonar.*</include>
  167. <include>org.sonarqube.*</include>
  168. </includes>
  169. </configuration>
  170. </plugin>
  171. <plugin>
  172. <groupId>org.apache.maven.plugins</groupId>
  173. <artifactId>maven-javadoc-plugin</artifactId>
  174. <version>3.0.0-M1</version>
  175. <configuration>
  176. <author>false</author>
  177. <linksource>true</linksource>
  178. </configuration>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-jar-plugin</artifactId>
  183. <version>3.0.2</version>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-jxr-plugin</artifactId>
  188. <version>2.5</version>
  189. </plugin>
  190. <plugin>
  191. <groupId>org.apache.maven.plugins</groupId>
  192. <artifactId>maven-resources-plugin</artifactId>
  193. <version>3.0.2</version>
  194. </plugin>
  195. <plugin>
  196. <groupId>org.apache.maven.plugins</groupId>
  197. <artifactId>maven-shade-plugin</artifactId>
  198. <version>3.1.0</version>
  199. </plugin>
  200. <plugin>
  201. <groupId>org.apache.maven.plugins</groupId>
  202. <artifactId>maven-source-plugin</artifactId>
  203. <version>3.0.1</version>
  204. </plugin>
  205. <plugin>
  206. <groupId>org.apache.maven.plugins</groupId>
  207. <artifactId>maven-surefire-plugin</artifactId>
  208. <version>2.20.1</version>
  209. </plugin>
  210. <plugin>
  211. <groupId>org.apache.maven.plugins</groupId>
  212. <artifactId>maven-war-plugin</artifactId>
  213. <version>3.2.0</version>
  214. </plugin>
  215. <plugin>
  216. <!-- not thread safe -->
  217. <groupId>org.codehaus.sonar</groupId>
  218. <artifactId>sonar-dev-maven-plugin</artifactId>
  219. <version>1.8</version>
  220. </plugin>
  221. <plugin>
  222. <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId>
  223. <artifactId>sonar-packaging-maven-plugin</artifactId>
  224. <version>1.18.0.372</version>
  225. </plugin>
  226. <plugin>
  227. <groupId>org.owasp</groupId>
  228. <artifactId>dependency-check-maven</artifactId>
  229. <version>3.0.1</version>
  230. <configuration>
  231. <failBuildOnCVSS>8</failBuildOnCVSS>
  232. <suppressionFile>dependency-check-suppressions.xml</suppressionFile>
  233. <enableExperimental>true</enableExperimental>
  234. </configuration>
  235. </plugin>
  236. <plugin>
  237. <!--
  238. Detection of conflicts in classpath.
  239. Command line is: mvn org.basepom.maven:duplicate-finder-maven-plugin:check
  240. See https://github.com/basepom/duplicate-finder-maven-plugin
  241. -->
  242. <groupId>org.basepom.maven</groupId>
  243. <artifactId>duplicate-finder-maven-plugin</artifactId>
  244. <version>1.1.1</version>
  245. <configuration>
  246. <printEqualFiles>true</printEqualFiles>
  247. <!--
  248. <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
  249. <failBuildInCaseOfEqualContentConflict>true</failBuildInCaseOfEqualContentConflict>
  250. <failBuildInCaseOfConflict>true</failBuildInCaseOfConflict>
  251. -->
  252. <checkCompileClasspath>true</checkCompileClasspath>
  253. <checkRuntimeClasspath>true</checkRuntimeClasspath>
  254. <checkTestClasspath>false</checkTestClasspath>
  255. </configuration>
  256. </plugin>
  257. <plugin>
  258. <groupId>org.xolstice.maven.plugins</groupId>
  259. <artifactId>protobuf-maven-plugin</artifactId>
  260. <version>0.5.1</version>
  261. </plugin>
  262. <plugin>
  263. <groupId>com.github.genthaler</groupId>
  264. <artifactId>beanshell-maven-plugin</artifactId>
  265. <version>1.4</version>
  266. </plugin>
  267. </plugins>
  268. </pluginManagement>
  269. <plugins>
  270. <plugin>
  271. <groupId>org.apache.maven.plugins</groupId>
  272. <artifactId>maven-enforcer-plugin</artifactId>
  273. <executions>
  274. <execution>
  275. <id>enforce-rules</id>
  276. <goals>
  277. <goal>enforce</goal>
  278. </goals>
  279. <configuration>
  280. <rules>
  281. <requirePluginVersions>
  282. <message>Build reproducibility : always define plugin versions</message>
  283. <banLatest>true</banLatest>
  284. <banRelease>true</banRelease>
  285. <phases>clean,deploy</phases>
  286. </requirePluginVersions>
  287. <requireReleaseDeps>
  288. <message>No SNAPSHOT versions allowed for dependencies</message>
  289. <onlyWhenRelease>true</onlyWhenRelease>
  290. </requireReleaseDeps>
  291. <requireJavaVersion>
  292. <message>To build this project JDK ${jdk.min.version} (or upper) is required. Please install it.
  293. </message>
  294. <version>${jdk.min.version}</version>
  295. </requireJavaVersion>
  296. <requireMavenVersion>
  297. <version>[${maven.min.version},)</version>
  298. </requireMavenVersion>
  299. <bannedDependencies>
  300. <!-- See SONAR-2512 -->
  301. <message>commons-beanutils:commons-beanutils should be used instead</message>
  302. <excludes>
  303. <exclude>commons-beanutils:commons-beanutils-core</exclude>
  304. </excludes>
  305. <searchTransitive>true</searchTransitive>
  306. </bannedDependencies>
  307. <requireNoRepositories>
  308. <message>Definition of new repositories is not allowed in order to deploy to central repository.
  309. </message>
  310. </requireNoRepositories>
  311. </rules>
  312. </configuration>
  313. </execution>
  314. </executions>
  315. </plugin>
  316. <!--
  317. Choosing a random timezone when executing tests allows to detect
  318. early the tests that are coupled with local environment.
  319. -->
  320. <plugin>
  321. <groupId>com.github.genthaler</groupId>
  322. <artifactId>beanshell-maven-plugin</artifactId>
  323. <executions>
  324. <execution>
  325. <id>randomize-environment</id>
  326. <phase>validate</phase>
  327. <goals>
  328. <goal>run</goal>
  329. </goals>
  330. <configuration>
  331. <quiet>true</quiet>
  332. <script>
  333. <![CDATA[
  334. String[] timezones = new String[] {"GMT-9", "UTC", "GMT+9"};
  335. String testTimezone = timezones[new java.util.Random().nextInt(timezones.length)];
  336. project.getProperties().setProperty("testTimezone", testTimezone);
  337. logger.info("Timezone used for tests: " + testTimezone);
  338. ]]>
  339. </script>
  340. </configuration>
  341. </execution>
  342. </executions>
  343. </plugin>
  344. <plugin>
  345. <groupId>org.apache.maven.plugins</groupId>
  346. <artifactId>maven-jxr-plugin</artifactId>
  347. <configuration>
  348. <aggregate>true</aggregate>
  349. <linkJavadoc>true</linkJavadoc>
  350. <javadocDir>${project.reporting.outputDirectory}/${project.version}/apidocs</javadocDir>
  351. </configuration>
  352. </plugin>
  353. <plugin>
  354. <groupId>org.apache.maven.plugins</groupId>
  355. <artifactId>maven-surefire-plugin</artifactId>
  356. <configuration>
  357. <runOrder>random</runOrder>
  358. <systemPropertyVariables>
  359. <!-- keep system temp directory clean -->
  360. <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
  361. <!--
  362. See profile 'randomize-environment'
  363. -->
  364. <user.timezone>${testTimezone}</user.timezone>
  365. </systemPropertyVariables>
  366. <threadCount>1</threadCount>
  367. </configuration>
  368. </plugin>
  369. </plugins>
  370. </build>
  371. <dependencyManagement>
  372. <dependencies>
  373. <!-- SonarQube modules -->
  374. <dependency>
  375. <groupId>org.codehaus.sonar</groupId>
  376. <artifactId>sonar-channel</artifactId>
  377. <version>4.1</version>
  378. <exclusions>
  379. <exclusion>
  380. <groupId>org.slf4j</groupId>
  381. <artifactId>slf4j-api</artifactId>
  382. </exclusion>
  383. </exclusions>
  384. </dependency>
  385. <dependency>
  386. <groupId>org.codehaus.sonar</groupId>
  387. <artifactId>sonar-classloader</artifactId>
  388. <version>1.0</version>
  389. </dependency>
  390. <dependency>
  391. <groupId>${project.groupId}</groupId>
  392. <artifactId>sonar-markdown</artifactId>
  393. <version>${project.version}</version>
  394. </dependency>
  395. <dependency>
  396. <groupId>${project.groupId}</groupId>
  397. <artifactId>sonar-core</artifactId>
  398. <version>${project.version}</version>
  399. </dependency>
  400. <dependency>
  401. <groupId>${project.groupId}</groupId>
  402. <artifactId>sonar-db-dao</artifactId>
  403. <version>${project.version}</version>
  404. </dependency>
  405. <dependency>
  406. <groupId>${project.groupId}</groupId>
  407. <artifactId>sonar-db-migration</artifactId>
  408. <version>${project.version}</version>
  409. </dependency>
  410. <dependency>
  411. <groupId>${project.groupId}</groupId>
  412. <artifactId>sonar-db-testing</artifactId>
  413. <version>${project.version}</version>
  414. <type>pom</type>
  415. </dependency>
  416. <dependency>
  417. <groupId>${project.groupId}</groupId>
  418. <artifactId>sonar-scanner-protocol</artifactId>
  419. <version>${project.version}</version>
  420. </dependency>
  421. <dependency>
  422. <groupId>${project.groupId}</groupId>
  423. <artifactId>sonar-ws</artifactId>
  424. <version>${project.version}</version>
  425. </dependency>
  426. <dependency>
  427. <groupId>${project.groupId}</groupId>
  428. <artifactId>sonar-home</artifactId>
  429. <version>${project.version}</version>
  430. </dependency>
  431. <dependency>
  432. <groupId>${project.groupId}</groupId>
  433. <artifactId>sonar-plugin-api</artifactId>
  434. <version>${project.version}</version>
  435. </dependency>
  436. <dependency>
  437. <groupId>${project.groupId}</groupId>
  438. <artifactId>sonar-process</artifactId>
  439. <version>${project.version}</version>
  440. </dependency>
  441. <dependency>
  442. <groupId>${project.groupId}</groupId>
  443. <artifactId>sonar-server</artifactId>
  444. <version>${project.version}</version>
  445. </dependency>
  446. <dependency>
  447. <groupId>org.sonarsource.update-center</groupId>
  448. <artifactId>sonar-update-center-common</artifactId>
  449. <version>${sonarUpdateCenter.version}</version>
  450. </dependency>
  451. <dependency>
  452. <groupId>org.sonarsource.orchestrator</groupId>
  453. <artifactId>sonar-orchestrator</artifactId>
  454. <version>${orchestrator.version}</version>
  455. </dependency>
  456. <dependency>
  457. <groupId>org.codehaus.sonar</groupId>
  458. <artifactId>sonar-squid</artifactId>
  459. <version>4.1</version>
  460. <exclusions>
  461. <exclusion>
  462. <!--
  463. Provided at runtime by sonar-plugin-api.
  464. Do not use transitive version 4.1 but the current version.
  465. -->
  466. <groupId>org.codehaus.sonar</groupId>
  467. <artifactId>sonar-check-api</artifactId>
  468. </exclusion>
  469. </exclusions>
  470. </dependency>
  471. <dependency>
  472. <groupId>org.sonarsource.sonarqube</groupId>
  473. <artifactId>sonar-xoo-plugin</artifactId>
  474. <version>${project.version}</version>
  475. <scope>test</scope>
  476. </dependency>
  477. <dependency>
  478. <groupId>org.sonarsource.scm.git</groupId>
  479. <artifactId>sonar-scm-git-plugin</artifactId>
  480. <version>${sonarGit.version}</version>
  481. <type>sonar-plugin</type>
  482. <exclusions>
  483. <!--
  484. no need for transitive dependencies as only the JAR file
  485. is needed for the zip bundle
  486. -->
  487. <exclusion>
  488. <groupId>org.eclipse.jgit</groupId>
  489. <artifactId>org.eclipse.jgit</artifactId>
  490. </exclusion>
  491. </exclusions>
  492. </dependency>
  493. <dependency>
  494. <groupId>org.sonarsource.scm.svn</groupId>
  495. <artifactId>sonar-scm-svn-plugin</artifactId>
  496. <version>${sonarSvn.version}</version>
  497. <type>sonar-plugin</type>
  498. <exclusions>
  499. <!--
  500. no need for transitive dependencies as only the JAR file
  501. is needed for the zip bundle
  502. -->
  503. <exclusion>
  504. <groupId>org.tmatesoft.svnkit</groupId>
  505. <artifactId>svnkit</artifactId>
  506. </exclusion>
  507. </exclusions>
  508. </dependency>
  509. <dependency>
  510. <groupId>org.sonarsource.typescript</groupId>
  511. <artifactId>sonar-typescript-plugin</artifactId>
  512. <version>${sonarTs.version}</version>
  513. <type>sonar-plugin</type>
  514. <exclusions>
  515. <exclusion>
  516. <groupId>org.sonarsource.analyzer-commons</groupId>
  517. <artifactId>sonar-analyzer-commons</artifactId>
  518. </exclusion>
  519. </exclusions>
  520. </dependency>
  521. <dependency>
  522. <groupId>org.sonarsource.sonarqube</groupId>
  523. <artifactId>sonar-db-core</artifactId>
  524. <version>${project.version}</version>
  525. </dependency>
  526. <dependency>
  527. <groupId>org.sonarsource.sonarqube</groupId>
  528. <artifactId>sonar-db-testing</artifactId>
  529. <version>${project.version}</version>
  530. </dependency>
  531. <dependency>
  532. <groupId>org.sonarsource.sonarqube</groupId>
  533. <artifactId>sonar-testing-harness</artifactId>
  534. <version>${project.version}</version>
  535. </dependency>
  536. <dependency>
  537. <groupId>org.sonarsource.sonarqube</groupId>
  538. <artifactId>sonar-plugin-bridge</artifactId>
  539. <version>${project.version}</version>
  540. </dependency>
  541. <dependency>
  542. <groupId>org.sonarsource.java</groupId>
  543. <artifactId>sonar-java-plugin</artifactId>
  544. <version>${sonarJava.version}</version>
  545. <type>sonar-plugin</type>
  546. <exclusions>
  547. <!--
  548. no need for transitive dependencies as only the JAR file
  549. is needed for the zip bundle
  550. -->
  551. <exclusion>
  552. <groupId>classworlds</groupId>
  553. <artifactId>classworlds</artifactId>
  554. </exclusion>
  555. <exclusion>
  556. <groupId>org.mockito</groupId>
  557. <artifactId>mockito-all</artifactId>
  558. </exclusion>
  559. <exclusion>
  560. <groupId>org.sonarsource.java</groupId>
  561. <artifactId>java-surefire</artifactId>
  562. </exclusion>
  563. <exclusion>
  564. <groupId>org.sonarsource.java</groupId>
  565. <artifactId>java-jacoco</artifactId>
  566. </exclusion>
  567. <exclusion>
  568. <groupId>org.sonarsource.java</groupId>
  569. <artifactId>java-frontend</artifactId>
  570. </exclusion>
  571. <exclusion>
  572. <groupId>org.sonarsource.java</groupId>
  573. <artifactId>java-checks</artifactId>
  574. </exclusion>
  575. </exclusions>
  576. </dependency>
  577. <dependency>
  578. <groupId>org.sonarsource.javascript</groupId>
  579. <artifactId>sonar-javascript-plugin</artifactId>
  580. <version>${sonarJavaScript.version}</version>
  581. <type>sonar-plugin</type>
  582. <exclusions>
  583. <!--
  584. no need for transitive dependencies as only the JAR file
  585. is needed for the zip bundle
  586. -->
  587. <exclusion>
  588. <groupId>org.sonarsource.javascript</groupId>
  589. <artifactId>javascript-frontend</artifactId>
  590. </exclusion>
  591. <exclusion>
  592. <groupId>org.sonarsource.javascript</groupId>
  593. <artifactId>javascript-checks</artifactId>
  594. </exclusion>
  595. </exclusions>
  596. </dependency>
  597. <dependency>
  598. <groupId>org.sonarsource.dotnet</groupId>
  599. <artifactId>sonar-csharp-plugin</artifactId>
  600. <version>${sonarCSharp.version}</version>
  601. <type>sonar-plugin</type>
  602. <exclusions>
  603. <exclusion>
  604. <groupId>org.sonarsource.dotnet</groupId>
  605. <artifactId>sonar-dotnet-tests-library</artifactId>
  606. </exclusion>
  607. <exclusion>
  608. <groupId>org.sonarsource.dotnet</groupId>
  609. <artifactId>sonar-dotnet-shared-library</artifactId>
  610. </exclusion>
  611. <exclusion>
  612. <groupId>org.sonarsource.sslr-squid-bridge</groupId>
  613. <artifactId>sslr-squid-bridge</artifactId>
  614. </exclusion>
  615. </exclusions>
  616. </dependency>
  617. <dependency>
  618. <groupId>org.sonarsource.php</groupId>
  619. <artifactId>sonar-php-plugin</artifactId>
  620. <version>${sonarPhp.version}</version>
  621. <type>sonar-plugin</type>
  622. <exclusions>
  623. <!--
  624. no need for transitive dependencies as only the JAR file
  625. is needed for the zip bundle
  626. -->
  627. <exclusion>
  628. <groupId>org.sonarsource.php</groupId>
  629. <artifactId>php-frontend</artifactId>
  630. </exclusion>
  631. <exclusion>
  632. <groupId>org.sonarsource.php</groupId>
  633. <artifactId>php-checks</artifactId>
  634. </exclusion>
  635. <exclusion>
  636. <groupId>com.thoughtworks.xstream</groupId>
  637. <artifactId>xstream</artifactId>
  638. </exclusion>
  639. </exclusions>
  640. </dependency>
  641. <dependency>
  642. <groupId>org.sonarsource.python</groupId>
  643. <artifactId>sonar-python-plugin</artifactId>
  644. <version>${sonarPython.version}</version>
  645. <type>sonar-plugin</type>
  646. <exclusions>
  647. <!--
  648. no need for transitive dependencies as only the JAR file
  649. is needed for the zip bundle
  650. -->
  651. <exclusion>
  652. <groupId>org.sonarsource.python</groupId>
  653. <artifactId>python-squid</artifactId>
  654. </exclusion>
  655. <exclusion>
  656. <groupId>org.sonarsource.python</groupId>
  657. <artifactId>python-checks</artifactId>
  658. </exclusion>
  659. <exclusion>
  660. <groupId>org.codehaus.woodstox</groupId>
  661. <artifactId>woodstox-core-lgpl</artifactId>
  662. </exclusion>
  663. <exclusion>
  664. <groupId>org.codehaus.staxmate</groupId>
  665. <artifactId>staxmate</artifactId>
  666. </exclusion>
  667. </exclusions>
  668. </dependency>
  669. <dependency>
  670. <groupId>org.sonarsource.flex</groupId>
  671. <artifactId>sonar-flex-plugin</artifactId>
  672. <version>${sonarFlex.version}</version>
  673. <type>sonar-plugin</type>
  674. <exclusions>
  675. <!--
  676. no need for transitive dependencies as only the JAR file
  677. is needed for the zip bundle
  678. -->
  679. <exclusion>
  680. <groupId>org.sonarsource.flex</groupId>
  681. <artifactId>flex-squid</artifactId>
  682. </exclusion>
  683. <exclusion>
  684. <groupId>org.sonarsource.flex</groupId>
  685. <artifactId>flex-checks</artifactId>
  686. </exclusion>
  687. </exclusions>
  688. </dependency>
  689. <dependency>
  690. <groupId>org.sonarsource.xml</groupId>
  691. <artifactId>sonar-xml-plugin</artifactId>
  692. <version>${sonarXml.version}</version>
  693. <type>sonar-plugin</type>
  694. <exclusions>
  695. <!--
  696. no need for transitive dependencies as only the JAR file
  697. is needed for the zip bundle
  698. -->
  699. <exclusion>
  700. <groupId>xalan</groupId>
  701. <artifactId>xalan</artifactId>
  702. </exclusion>
  703. <exclusion>
  704. <groupId>xerces</groupId>
  705. <artifactId>xercesImpl</artifactId>
  706. </exclusion>
  707. <exclusion>
  708. <groupId>org.sonarsource.xml</groupId>
  709. <artifactId>xml-squid</artifactId>
  710. </exclusion>
  711. </exclusions>
  712. </dependency>
  713. <dependency>
  714. <groupId>com.hazelcast</groupId>
  715. <artifactId>hazelcast</artifactId>
  716. <version>${hazelcast.version}</version>
  717. </dependency>
  718. <dependency>
  719. <groupId>com.hazelcast</groupId>
  720. <artifactId>hazelcast-client</artifactId>
  721. <version>${hazelcast.version}</version>
  722. </dependency>
  723. <dependency>
  724. <groupId>org.elasticsearch.client</groupId>
  725. <artifactId>transport</artifactId>
  726. <version>${elasticsearch.version}</version>
  727. <exclusions>
  728. <exclusion>
  729. <groupId>org.elasticsearch.plugin</groupId>
  730. <artifactId>lang-mustache-client</artifactId>
  731. </exclusion>
  732. <exclusion>
  733. <groupId>org.elasticsearch.plugin</groupId>
  734. <artifactId>transport-netty3-client</artifactId>
  735. </exclusion>
  736. </exclusions>
  737. </dependency>
  738. <dependency>
  739. <groupId>com.github.tlrx</groupId>
  740. <artifactId>elasticsearch-test</artifactId>
  741. <version>1.2.1</version>
  742. </dependency>
  743. <dependency>
  744. <groupId>com.google.guava</groupId>
  745. <artifactId>guava</artifactId>
  746. <version>18.0</version>
  747. </dependency>
  748. <dependency>
  749. <groupId>com.google.code.findbugs</groupId>
  750. <artifactId>jsr305</artifactId>
  751. <version>3.0.2</version>
  752. </dependency>
  753. <dependency>
  754. <groupId>commons-dbutils</groupId>
  755. <artifactId>commons-dbutils</artifactId>
  756. <version>1.5</version>
  757. </dependency>
  758. <dependency>
  759. <groupId>commons-io</groupId>
  760. <artifactId>commons-io</artifactId>
  761. <version>2.4</version>
  762. </dependency>
  763. <dependency>
  764. <groupId>org.apache.commons</groupId>
  765. <artifactId>commons-csv</artifactId>
  766. <version>1.4</version>
  767. </dependency>
  768. <dependency>
  769. <groupId>commons-codec</groupId>
  770. <artifactId>commons-codec</artifactId>
  771. <version>1.8</version>
  772. </dependency>
  773. <dependency>
  774. <groupId>org.apache.commons</groupId>
  775. <artifactId>commons-email</artifactId>
  776. <version>1.5</version>
  777. </dependency>
  778. <dependency>
  779. <groupId>commons-lang</groupId>
  780. <artifactId>commons-lang</artifactId>
  781. <version>2.6</version>
  782. </dependency>
  783. <dependency>
  784. <groupId>commons-dbcp</groupId>
  785. <artifactId>commons-dbcp</artifactId>
  786. <version>1.4</version>
  787. </dependency>
  788. <dependency>
  789. <groupId>com.ibm.icu</groupId>
  790. <artifactId>icu4j</artifactId>
  791. <!-- animal-sniffer doesn't work with 2.6.1 -->
  792. <version>3.4.4</version>
  793. </dependency>
  794. <dependency>
  795. <groupId>javax.xml.bind</groupId>
  796. <artifactId>jaxb-api</artifactId>
  797. <version>2.3.0</version>
  798. </dependency>
  799. <dependency>
  800. <groupId>com.googlecode.json-simple</groupId>
  801. <artifactId>json-simple</artifactId>
  802. <version>1.1.1</version>
  803. <exclusions>
  804. <exclusion>
  805. <groupId>junit</groupId>
  806. <artifactId>junit</artifactId>
  807. </exclusion>
  808. </exclusions>
  809. </dependency>
  810. <dependency>
  811. <groupId>io.jsonwebtoken</groupId>
  812. <artifactId>jjwt</artifactId>
  813. <version>${jjwt.version}</version>
  814. </dependency>
  815. <dependency>
  816. <groupId>com.fasterxml.jackson.core</groupId>
  817. <artifactId>jackson-core</artifactId>
  818. <version>${jackson.version}</version>
  819. </dependency>
  820. <dependency>
  821. <groupId>com.fasterxml.jackson.core</groupId>
  822. <artifactId>jackson-databind</artifactId>
  823. <version>${jackson.version}</version>
  824. </dependency>
  825. <dependency>
  826. <groupId>com.fasterxml.jackson.core</groupId>
  827. <artifactId>jackson-annotations</artifactId>
  828. <version>${jackson.version}</version>
  829. </dependency>
  830. <dependency>
  831. <groupId>org.yaml</groupId>
  832. <artifactId>snakeyaml</artifactId>
  833. <version>1.15</version>
  834. </dependency>
  835. <dependency>
  836. <groupId>org.mybatis</groupId>
  837. <artifactId>mybatis</artifactId>
  838. <version>3.4.4</version>
  839. </dependency>
  840. <dependency>
  841. <groupId>org.nanohttpd</groupId>
  842. <artifactId>nanohttpd</artifactId>
  843. <version>2.3.0</version>
  844. </dependency>
  845. <dependency>
  846. <groupId>org.picocontainer</groupId>
  847. <artifactId>picocontainer</artifactId>
  848. <version>2.15</version>
  849. </dependency>
  850. <dependency>
  851. <groupId>org.slf4j</groupId>
  852. <artifactId>slf4j-api</artifactId>
  853. <version>${slf4j.version}</version>
  854. </dependency>
  855. <dependency>
  856. <groupId>org.slf4j</groupId>
  857. <artifactId>jul-to-slf4j</artifactId>
  858. <version>${slf4j.version}</version>
  859. </dependency>
  860. <dependency>
  861. <groupId>org.slf4j</groupId>
  862. <artifactId>jcl-over-slf4j</artifactId>
  863. <version>${slf4j.version}</version>
  864. </dependency>
  865. <dependency>
  866. <groupId>org.slf4j</groupId>
  867. <artifactId>log4j-over-slf4j</artifactId>
  868. <version>${slf4j.version}</version>
  869. </dependency>
  870. <dependency>
  871. <groupId>org.apache.logging.log4j</groupId>
  872. <artifactId>log4j-to-slf4j</artifactId>
  873. <version>${log4j.version}</version>
  874. </dependency>
  875. <dependency>
  876. <groupId>org.apache.logging.log4j</groupId>
  877. <artifactId>log4j-api</artifactId>
  878. <version>${log4j.version}</version>
  879. </dependency>
  880. <dependency>
  881. <groupId>org.apache.logging.log4j</groupId>
  882. <artifactId>log4j-core</artifactId>
  883. <version>${log4j.version}</version>
  884. </dependency>
  885. <dependency>
  886. <groupId>ch.qos.logback</groupId>
  887. <artifactId>logback-access</artifactId>
  888. <version>${logback.version}</version>
  889. </dependency>
  890. <dependency>
  891. <groupId>ch.qos.logback</groupId>
  892. <artifactId>logback-classic</artifactId>
  893. <version>${logback.version}</version>
  894. </dependency>
  895. <dependency>
  896. <groupId>ch.qos.logback</groupId>
  897. <artifactId>logback-core</artifactId>
  898. <version>${logback.version}</version>
  899. </dependency>
  900. <dependency>
  901. <groupId>com.h2database</groupId>
  902. <artifactId>h2</artifactId>
  903. <version>${h2.version}</version>
  904. </dependency>
  905. <dependency>
  906. <groupId>com.microsoft.sqlserver</groupId>
  907. <artifactId>mssql-jdbc</artifactId>
  908. <version>6.2.2.jre8</version>
  909. </dependency>
  910. <dependency>
  911. <groupId>mysql</groupId>
  912. <artifactId>mysql-connector-java</artifactId>
  913. <version>5.1.42</version>
  914. </dependency>
  915. <dependency>
  916. <groupId>com.oracle.jdbc</groupId>
  917. <artifactId>ojdbc8</artifactId>
  918. <!--
  919. This version is compatible with Oracle 11g and 12c :
  920. http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#01_02
  921. -->
  922. <version>12.2.0.1.0</version>
  923. </dependency>
  924. <dependency>
  925. <groupId>org.postgresql</groupId>
  926. <artifactId>postgresql</artifactId>
  927. <version>42.2.1</version>
  928. </dependency>
  929. <dependency>
  930. <groupId>org.codehaus.woodstox</groupId>
  931. <artifactId>woodstox-core-lgpl</artifactId>
  932. <version>4.4.0</version>
  933. <exclusions>
  934. <exclusion>
  935. <!-- provided by Java 1.7 -->
  936. <groupId>javax.xml.stream</groupId>
  937. <artifactId>stax-api</artifactId>
  938. </exclusion>
  939. </exclusions>
  940. </dependency>
  941. <dependency>
  942. <groupId>org.codehaus.staxmate</groupId>
  943. <artifactId>staxmate</artifactId>
  944. <version>2.0.1</version>
  945. <exclusions>
  946. <!-- see SONAR-879 -->
  947. <exclusion>
  948. <groupId>org.codehaus.woodstox</groupId>
  949. <artifactId>stax2-api</artifactId>
  950. </exclusion>
  951. <exclusion>
  952. <groupId>stax</groupId>
  953. <artifactId>stax-api</artifactId>
  954. </exclusion>
  955. <exclusion>
  956. <groupId>org.codehaus.woodstox</groupId>
  957. <artifactId>woodstox-core-asl</artifactId>
  958. </exclusion>
  959. </exclusions>
  960. </dependency>
  961. <dependency>
  962. <groupId>org.mockito</groupId>
  963. <artifactId>mockito-core</artifactId>
  964. <version>2.13.0</version>
  965. <exclusions>
  966. <exclusion>
  967. <groupId>org.hamcrest</groupId>
  968. <artifactId>hamcrest-core</artifactId>
  969. </exclusion>
  970. </exclusions>
  971. </dependency>
  972. <dependency>
  973. <groupId>org.assertj</groupId>
  974. <artifactId>assertj-core</artifactId>
  975. <version>3.9.0</version>
  976. </dependency>
  977. <dependency>
  978. <groupId>org.assertj</groupId>
  979. <artifactId>assertj-guava</artifactId>
  980. <version>3.0.0</version>
  981. </dependency>
  982. <dependency>
  983. <groupId>org.codehaus.woodstox</groupId>
  984. <artifactId>stax2-api</artifactId>
  985. <version>3.1.4</version>
  986. <exclusions>
  987. <exclusion>
  988. <groupId>stax</groupId>
  989. <artifactId>stax-api</artifactId>
  990. </exclusion>
  991. </exclusions>
  992. </dependency>
  993. <dependency>
  994. <groupId>javax.servlet</groupId>
  995. <artifactId>javax.servlet-api</artifactId>
  996. <version>3.0.1</version>
  997. </dependency>
  998. <dependency>
  999. <groupId>org.eclipse.jetty</groupId>
  1000. <artifactId>jetty-server</artifactId>
  1001. <version>${jetty.version}</version>
  1002. </dependency>
  1003. <dependency>
  1004. <groupId>org.hamcrest</groupId>
  1005. <artifactId>hamcrest-core</artifactId>
  1006. <version>1.3</version>
  1007. </dependency>
  1008. <dependency>
  1009. <groupId>org.hamcrest</groupId>
  1010. <artifactId>hamcrest-all</artifactId>
  1011. <version>1.3</version>
  1012. </dependency>
  1013. <dependency>
  1014. <groupId>junit</groupId>
  1015. <artifactId>junit</artifactId>
  1016. <version>4.12</version>
  1017. </dependency>
  1018. <dependency>
  1019. <groupId>com.tngtech.java</groupId>
  1020. <artifactId>junit-dataprovider</artifactId>
  1021. <version>1.9.2</version>
  1022. </dependency>
  1023. <dependency>
  1024. <groupId>org.dbunit</groupId>
  1025. <artifactId>dbunit</artifactId>
  1026. <version>2.4.5</version>
  1027. <exclusions>
  1028. <!-- removing commons lang 2.1 and xerces-->
  1029. <exclusion>
  1030. <groupId>commons-lang</groupId>
  1031. <artifactId>commons-lang</artifactId>
  1032. </exclusion>
  1033. <exclusion>
  1034. <groupId>xerces</groupId>
  1035. <artifactId>xmlParserAPIs</artifactId>
  1036. </exclusion>
  1037. <exclusion>
  1038. <groupId>xerces</groupId>
  1039. <artifactId>xercesImpl</artifactId>
  1040. </exclusion>
  1041. </exclusions>
  1042. </dependency>
  1043. <dependency>
  1044. <groupId>org.eclipse.jetty</groupId>
  1045. <artifactId>test-jetty-servlet</artifactId>
  1046. <version>${jetty.version}</version>
  1047. </dependency>
  1048. <dependency>
  1049. <groupId>org.reflections</groupId>
  1050. <artifactId>reflections</artifactId>
  1051. <version>0.9.9</version>
  1052. </dependency>
  1053. <dependency>
  1054. <groupId>com.google.code.gson</groupId>
  1055. <artifactId>gson</artifactId>
  1056. <version>2.3.1</version>
  1057. </dependency>
  1058. <dependency>
  1059. <groupId>org.sonarsource</groupId>
  1060. <artifactId>sonar-persistit</artifactId>
  1061. <version>3.3.2</version>
  1062. <exclusions>
  1063. <exclusion>
  1064. <groupId>commons-logging</groupId>
  1065. <artifactId>commons-logging</artifactId>
  1066. </exclusion>
  1067. </exclusions>
  1068. </dependency>
  1069. <dependency>
  1070. <groupId>com.github.kevinsawicki</groupId>
  1071. <artifactId>http-request</artifactId>
  1072. <version>5.4.1</version>
  1073. </dependency>
  1074. <dependency>
  1075. <groupId>org.codehaus.sonar.runner</groupId>
  1076. <artifactId>sonar-runner-api</artifactId>
  1077. <version>2.4</version>
  1078. </dependency>
  1079. <dependency>
  1080. <groupId>org.freemarker</groupId>
  1081. <artifactId>freemarker</artifactId>
  1082. <version>2.3.20</version>
  1083. </dependency>
  1084. <dependency>
  1085. <groupId>com.google.protobuf</groupId>
  1086. <artifactId>protobuf-java</artifactId>
  1087. <version>${protobuf.version}</version>
  1088. </dependency>
  1089. <dependency>
  1090. <groupId>net.jpountz.lz4</groupId>
  1091. <artifactId>lz4</artifactId>
  1092. <version>1.3.0</version>
  1093. </dependency>
  1094. <dependency>
  1095. <groupId>org.subethamail</groupId>
  1096. <artifactId>subethasmtp</artifactId>
  1097. <version>3.1.7</version>
  1098. <scope>test</scope>
  1099. </dependency>
  1100. <!-- tomcat -->
  1101. <dependency>
  1102. <groupId>org.apache.tomcat.embed</groupId>
  1103. <artifactId>tomcat-embed-core</artifactId>
  1104. <version>${tomcat.version}</version>
  1105. <exclusions>
  1106. <exclusion>
  1107. <groupId>org.apache.tomcat.embed</groupId>
  1108. <artifactId>tomcat-embed-jasper</artifactId>
  1109. </exclusion>
  1110. <exclusion>
  1111. <groupId>org.eclipse.jdt</groupId>
  1112. <artifactId>ecj</artifactId>
  1113. </exclusion>
  1114. </exclusions>
  1115. </dependency>
  1116. <dependency>
  1117. <groupId>com.squareup.okhttp3</groupId>
  1118. <artifactId>okhttp</artifactId>
  1119. <version>${okhttp.version}</version>
  1120. </dependency>
  1121. <dependency>
  1122. <groupId>com.squareup.okhttp3</groupId>
  1123. <artifactId>mockwebserver</artifactId>
  1124. <version>${okhttp.version}</version>
  1125. </dependency>
  1126. <!-- Using scope=provided to exclude from all transitive dependencies -->
  1127. <dependency>
  1128. <groupId>xml-apis</groupId>
  1129. <artifactId>xml-apis</artifactId>
  1130. <version>1.4.01</version>
  1131. <scope>provided</scope>
  1132. </dependency>
  1133. </dependencies>
  1134. </dependencyManagement>
  1135. <mailingLists>
  1136. <mailingList>
  1137. <name>SonarQube users mailing list</name>
  1138. <subscribe>http://xircles.codehaus.org/projects/sonar/lists</subscribe>
  1139. <unsubscribe>http://xircles.codehaus.org/projects/sonar/lists</unsubscribe>
  1140. <post>user@sonar.codehaus.org</post>
  1141. <archive>http://www.nabble.com/Sonar-f30151.html</archive>
  1142. </mailingList>
  1143. </mailingLists>
  1144. <scm>
  1145. <connection>scm:git:git@github.com:SonarSource/sonarqube.git</connection>
  1146. <developerConnection>scm:git:git@github.com:SonarSource/sonarqube.git</developerConnection>
  1147. <url>https://github.com/SonarSource/sonarqube</url>
  1148. <tag>HEAD</tag>
  1149. </scm>
  1150. <ciManagement>
  1151. <system>travis-ci</system>
  1152. <url>https://travis-ci.org/SonarSource/sonarqube</url>
  1153. </ciManagement>
  1154. <licenses>
  1155. <license>
  1156. <name>GNU LGPL 3</name>
  1157. <url>http://www.gnu.org/licenses/lgpl.txt</url>
  1158. <distribution>repo</distribution>
  1159. </license>
  1160. </licenses>
  1161. <!-- Developers information should not be removed as it's
  1162. required for deployment -->
  1163. <developers>
  1164. <developer>
  1165. <id>bellingard</id>
  1166. <name>Fabrice Bellingard</name>
  1167. <email>fabrice.bellingard@sonarsource.com</email>
  1168. <organization>SonarSource</organization>
  1169. <timezone>+1</timezone>
  1170. </developer>
  1171. <developer>
  1172. <id>dbolkensteyn</id>
  1173. <name>Dinesh Bolkensteyn</name>
  1174. <email>dinesh.bolkensteyn@sonarsource.com</email>
  1175. <organization>SonarSource</organization>
  1176. <timezone>+1</timezone>
  1177. </developer>
  1178. <developer>
  1179. <id>dgageot</id>
  1180. <name>David Gageot</name>
  1181. <organization>SonarSource</organization>
  1182. <timezone>+1</timezone>
  1183. </developer>
  1184. <developer>
  1185. <id>ehartmann</id>
  1186. <name>Eric Hartmann</name>
  1187. <organization>SonarSource</organization>
  1188. <timezone>+1</timezone>
  1189. </developer>
  1190. <developer>
  1191. <id>fmallet</id>
  1192. <name>Freddy Mallet</name>
  1193. <email>freddy.mallet@sonarsource.com</email>
  1194. <organization>SonarSource</organization>
  1195. <timezone>+1</timezone>
  1196. </developer>
  1197. <developer>
  1198. <id>Godin</id>
  1199. <name>Evgeny Mandrikov</name>
  1200. <email>evgeny.mandrikov@sonarsource.com</email>
  1201. <organization>SonarSource</organization>
  1202. <timezone>+3</timezone>
  1203. </developer>
  1204. <developer>
  1205. <id>henryju</id>
  1206. <name>Julien Henry</name>
  1207. <email>julien.henry@sonarsource.com</email>
  1208. <organization>SonarSource</organization>
  1209. <timezone>+1</timezone>
  1210. </developer>
  1211. <developer>
  1212. <id>jblievremont</id>
  1213. <name>Jean-Baptiste Lievremont</name>
  1214. <organization>SonarSource</organization>
  1215. <timezone>+1</timezone>
  1216. </developer>
  1217. <developer>
  1218. <id>julienlancelot</id>
  1219. <name>Julien Lancelot</name>
  1220. <email>julien.lancelot@sonarsource.com</email>
  1221. <organization>SonarSource</organization>
  1222. <timezone>+1</timezone>
  1223. </developer>
  1224. <developer>
  1225. <id>olivier.gaudin</id>
  1226. <name>Olivier Gaudin</name>
  1227. <email>olivier.gaudin@sonarsource.com</email>
  1228. <organization>SonarSource</organization>
  1229. <timezone>+1</timezone>
  1230. </developer>
  1231. <developer>
  1232. <id>simonbrandhof</id>
  1233. <name>Simon Brandhof</name>
  1234. <email>simon.brandhof@sonarsource.com</email>
  1235. <organization>SonarSource</organization>
  1236. <timezone>+1</timezone>
  1237. </developer>
  1238. <developer>
  1239. <id>sns-seb</id>
  1240. <name>Sebastien Lesaint</name>
  1241. <organization>SonarSource</organization>
  1242. <timezone>+1</timezone>
  1243. </developer>
  1244. <developer>
  1245. <id>stas-vilchik</id>
  1246. <name>Stas Vilchik</name>
  1247. <organization>SonarSource</organization>
  1248. <timezone>+1</timezone>
  1249. </developer>
  1250. <developer>
  1251. <id>teryk</id>
  1252. <name>Teryk Bellahsene</name>
  1253. <organization>SonarSource</organization>
  1254. <timezone>+1</timezone>
  1255. </developer>
  1256. </developers>
  1257. <profiles>
  1258. <profile>
  1259. <id>dev</id>
  1260. <properties>
  1261. <skipSanityChecks>true</skipSanityChecks>
  1262. <enforcer.skip>true</enforcer.skip>
  1263. </properties>
  1264. </profile>
  1265. <profile>
  1266. <id>release</id>
  1267. <build>
  1268. <plugins>
  1269. <plugin>
  1270. <groupId>org.apache.maven.plugins</groupId>
  1271. <artifactId>maven-javadoc-plugin</artifactId>
  1272. <executions>
  1273. <execution>
  1274. <id>attach-javadocs</id>
  1275. <goals>
  1276. <goal>jar</goal>
  1277. </goals>
  1278. </execution>
  1279. </executions>
  1280. </plugin>
  1281. </plugins>
  1282. </build>
  1283. </profile>
  1284. <profile>
  1285. <id>protobuf-compile</id>
  1286. <activation>
  1287. <file>
  1288. <exists>src/main/protobuf</exists>
  1289. </file>
  1290. </activation>
  1291. <build>
  1292. <plugins>
  1293. <plugin>
  1294. <groupId>org.xolstice.maven.plugins</groupId>
  1295. <artifactId>protobuf-maven-plugin</artifactId>
  1296. <executions>
  1297. <execution>
  1298. <id>generate-protobuf-java-sources</id>
  1299. <goals>
  1300. <goal>compile</goal>
  1301. </goals>
  1302. <configuration>
  1303. <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}
  1304. </protocArtifact>
  1305. <protoSourceRoot>${project.basedir}/src/main/protobuf</protoSourceRoot>
  1306. <outputDirectory>${project.build.directory}/generated-sources/protobuf</outputDirectory>
  1307. </configuration>
  1308. </execution>
  1309. </executions>
  1310. <dependencies>
  1311. <dependency>
  1312. <groupId>com.google.protobuf</groupId>
  1313. <artifactId>protoc</artifactId>
  1314. <version>${protobuf.version}</version>
  1315. <type>exe</type>
  1316. <classifier>${os.detected.classifier}</classifier>
  1317. </dependency>
  1318. </dependencies>
  1319. </plugin>
  1320. <plugin>
  1321. <groupId>org.codehaus.mojo</groupId>
  1322. <artifactId>build-helper-maven-plugin</artifactId>
  1323. <executions>
  1324. <execution>
  1325. <id>add-protobuf-generated-sources</id>
  1326. <phase>generate-sources</phase>
  1327. <goals>
  1328. <goal>add-source</goal>
  1329. </goals>
  1330. <configuration>
  1331. <sources>
  1332. <source>${project.build.directory}/generated-sources/protobuf</source>
  1333. </sources>
  1334. </configuration>
  1335. </execution>
  1336. </executions>
  1337. </plugin>
  1338. </plugins>
  1339. </build>
  1340. </profile>
  1341. <profile>
  1342. <id>protobuf-test-compile</id>
  1343. <activation>
  1344. <file>
  1345. <exists>src/test/protobuf</exists>
  1346. </file>
  1347. </activation>
  1348. <build>
  1349. <plugins>
  1350. <plugin>
  1351. <groupId>org.xolstice.maven.plugins</groupId>
  1352. <artifactId>protobuf-maven-plugin</artifactId>
  1353. <executions>
  1354. <execution>
  1355. <id>generate-protobuf-java-tests</id>
  1356. <goals>
  1357. <goal>test-compile</goal>
  1358. </goals>
  1359. <configuration>
  1360. <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}
  1361. </protocArtifact>
  1362. <protoTestSourceRoot>${project.basedir}/src/test/protobuf</protoTestSourceRoot>
  1363. <outputDirectory>${project.build.directory}/generated-test-sources/protobuf</outputDirectory>
  1364. </configuration>
  1365. </execution>
  1366. </executions>
  1367. <dependencies>
  1368. <dependency>
  1369. <groupId>com.google.protobuf</groupId>
  1370. <artifactId>protoc</artifactId>
  1371. <version>${protobuf.version}</version>
  1372. <classifier>${os.detected.classifier}</classifier>
  1373. <type>exe</type>
  1374. </dependency>
  1375. </dependencies>
  1376. </plugin>
  1377. <plugin>
  1378. <groupId>org.codehaus.mojo</groupId>
  1379. <artifactId>build-helper-maven-plugin</artifactId>
  1380. <executions>
  1381. <execution>
  1382. <id>add-protobuf-generated-tests</id>
  1383. <phase>generate-test-sources</phase>
  1384. <goals>
  1385. <goal>add-test-source</goal>
  1386. </goals>
  1387. <configuration>
  1388. <sources>
  1389. <source>${project.build.directory}/generated-test-sources/protobuf</source>
  1390. </sources>
  1391. </configuration>
  1392. </execution>
  1393. </executions>
  1394. </plugin>
  1395. </plugins>
  1396. </build>
  1397. </profile>
  1398. <profile>
  1399. <!--
  1400. check if maven dependencies have vulnerabilities listed in CVE
  1401. Standalone command: mvn org.owasp:dependency-check-maven:check
  1402. See http://jeremylong.github.io/DependencyCheck
  1403. -->
  1404. <id>securityCheck</id>
  1405. <build>
  1406. <plugins>
  1407. <plugin>
  1408. <groupId>org.owasp</groupId>
  1409. <artifactId>dependency-check-maven</artifactId>
  1410. <executions>
  1411. <execution>
  1412. <goals>
  1413. <goal>check</goal>
  1414. </goals>
  1415. </execution>
  1416. </executions>
  1417. </plugin>
  1418. </plugins>
  1419. </build>
  1420. </profile>
  1421. <profile>
  1422. <!-- integration tests -->
  1423. <id>tests</id>
  1424. <modules>
  1425. <module>tests</module>
  1426. <module>tests/plugins</module>
  1427. </modules>
  1428. </profile>
  1429. <profile>
  1430. <id>deploy-sonarsource</id>
  1431. <build>
  1432. <plugins>
  1433. <plugin>
  1434. <groupId>org.apache.maven.plugins</groupId>
  1435. <artifactId>maven-enforcer-plugin</artifactId>
  1436. <executions>
  1437. <execution>
  1438. <id>enforce-deploy-settings</id>
  1439. <goals>
  1440. <goal>enforce</goal>
  1441. </goals>
  1442. <configuration>
  1443. <rules>
  1444. <requireProperty>
  1445. <property>gitRepositoryName</property>
  1446. <message>You must set name of Git repository in your pom</message>
  1447. </requireProperty>
  1448. <requireEnvironmentVariable>
  1449. <variableName>ARTIFACTORY_URL</variableName>
  1450. </requireEnvironmentVariable>
  1451. <requireEnvironmentVariable>
  1452. <variableName>ARTIFACTORY_DEPLOY_REPO</variableName>
  1453. </requireEnvironmentVariable>
  1454. <requireEnvironmentVariable>
  1455. <variableName>ARTIFACTORY_DEPLOY_USERNAME</variableName>
  1456. </requireEnvironmentVariable>
  1457. <requireEnvironmentVariable>
  1458. <variableName>ARTIFACTORY_DEPLOY_PASSWORD</variableName>
  1459. </requireEnvironmentVariable>
  1460. </rules>
  1461. <fail>true</fail>
  1462. </configuration>
  1463. </execution>
  1464. </executions>
  1465. </plugin>
  1466. <plugin>
  1467. <!-- this maven plugin is not deployed in Maven Central. It should be downloaded
  1468. from JFrog JCenter or from SonarSource repositories -->
  1469. <groupId>org.jfrog.buildinfo</groupId>
  1470. <artifactId>artifactory-maven-plugin</artifactId>
  1471. <version>${version.artifactory.plugin}</version>
  1472. <executions>
  1473. <execution>
  1474. <id>build-info</id>
  1475. <goals>
  1476. <goal>publish</goal>
  1477. </goals>
  1478. <configuration>
  1479. <artifactory>
  1480. <envVarsExcludePatterns>
  1481. *password*,*PASSWORD*,*secret*,*MAVEN_CMD_LINE_ARGS*,sun.java.command,*token*,*TOKEN*,*LOGIN*,*login*
  1482. </envVarsExcludePatterns>
  1483. <includeEnvVars>true</includeEnvVars>
  1484. <timeoutSec>60</timeoutSec>
  1485. </artifactory>
  1486. <deployProperties>
  1487. <build.name>${gitRepositoryName}</build.name>
  1488. <build.number>{{BUILD_NUMBER}}</build.number>
  1489. <pr.branch.target>{{PULL_REQUEST_BRANCH_TARGET}}</pr.branch.target>
  1490. <pr.number>{{PULL_REQUEST_NUMBER}}</pr.number>
  1491. <vcs.branch>{{GIT_BRANCH}}</vcs.branch>
  1492. <vcs.revision>{{GIT_COMMIT}}</vcs.revision>
  1493. <version>${project.version}</version>
  1494. </deployProperties>
  1495. <licenses>
  1496. <autoDiscover>true</autoDiscover>
  1497. <includePublishedArtifacts>false</includePublishedArtifacts>
  1498. <runChecks>true</runChecks>
  1499. <scopes>project,provided</scopes>
  1500. <violationRecipients>licences-control@sonarsource.com</violationRecipients>
  1501. </licenses>
  1502. <publisher>
  1503. <contextUrl>${env.ARTIFACTORY_URL}</contextUrl>
  1504. <repoKey>${env.ARTIFACTORY_DEPLOY_REPO}</repoKey>
  1505. <username>${env.ARTIFACTORY_DEPLOY_USERNAME}</username>
  1506. <password>${env.ARTIFACTORY_DEPLOY_PASSWORD}</password>
  1507. <publishBuildInfo>true</publishBuildInfo>
  1508. <publishArtifacts>true</publishArtifacts>
  1509. </publisher>
  1510. <buildInfo>
  1511. <buildName>${gitRepositoryName}</buildName>
  1512. <buildNumber>{{BUILD_NUMBER}}</buildNumber>
  1513. <buildUrl>{{CI_BUILD_URL|BUILD_URL}}</buildUrl>
  1514. <vcsRevision>{{GIT_COMMIT}}</vcsRevision>
  1515. </buildInfo>
  1516. </configuration>
  1517. </execution>
  1518. </executions>
  1519. </plugin>
  1520. </plugins>
  1521. </build>
  1522. </profile>
  1523. </profiles>
  1524. </project>