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 48KB

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