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

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