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

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