Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.codehaus.sonar</groupId>
  5. <artifactId>sonar</artifactId>
  6. <packaging>pom</packaging>
  7. <version>5.2-SNAPSHOT</version>
  8. <name>SonarQube</name>
  9. <url>http://www.sonarqube.org/</url>
  10. <description>Open source platform for continuous inspection of code quality</description>
  11. <modules>
  12. <module>sonar-application</module>
  13. <module>sonar-batch</module>
  14. <module>sonar-batch-maven-compat</module>
  15. <module>sonar-batch-protocol</module>
  16. <module>sonar-check-api</module>
  17. <module>sonar-colorizer</module>
  18. <module>sonar-core</module>
  19. <module>sonar-deprecated</module>
  20. <module>sonar-duplications</module>
  21. <module>sonar-graph</module>
  22. <module>sonar-home</module>
  23. <module>sonar-java-api</module>
  24. <module>sonar-markdown</module>
  25. <module>sonar-maven-plugin</module>
  26. <module>sonar-maven3-plugin</module>
  27. <module>sonar-plugin-api</module>
  28. <module>server</module>
  29. <module>sonar-testing-harness</module>
  30. <module>plugins/sonar-core-plugin</module>
  31. <module>plugins/sonar-l10n-en-plugin</module>
  32. <module>plugins/sonar-email-notifications-plugin</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.codehaus.org/browse/SONAR</url>
  43. </issueManagement>
  44. <distributionManagement>
  45. <repository>
  46. <id>codehaus-nexus-staging</id>
  47. <name>Codehaus Release Repository</name>
  48. <url>https://nexus.codehaus.org/service/local/staging/deploy/maven2/</url>
  49. </repository>
  50. <snapshotRepository>
  51. <id>sonar-snapshots</id>
  52. <url>${sonar.snapshotRepository.url}</url>
  53. <uniqueVersion>false</uniqueVersion>
  54. </snapshotRepository>
  55. </distributionManagement>
  56. <prerequisites>
  57. <!-- Note that "prerequisites" not inherited, but used by versions-maven-plugin 1.3.1 -->
  58. <maven>${maven.min.version}</maven>
  59. </prerequisites>
  60. <properties>
  61. <sonarUpdateCenter.version>1.13</sonarUpdateCenter.version>
  62. <sonarJava.version>3.0</sonarJava.version>
  63. <sonarGit.version>1.0</sonarGit.version>
  64. <sonarSvn.version>1.0</sonarSvn.version>
  65. <h2.version>1.3.176</h2.version>
  66. <jetty.version>8.1.12.v20130726</jetty.version>
  67. <logback.version>1.1.2</logback.version>
  68. <slf4j.version>1.7.10</slf4j.version>
  69. <tomcat.version>8.0.18</tomcat.version>
  70. <elasticsearch.version>1.4.4</elasticsearch.version>
  71. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  72. <maven.min.version>3.0.5</maven.min.version>
  73. <maven.api.version>3.0.5</maven.api.version>
  74. <jdk.min.version>1.7</jdk.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. <skipBatchTests>false</skipBatchTests>
  78. <skipServerTests>false</skipServerTests>
  79. <skipWebTests>false</skipWebTests>
  80. <jsCoverage>nocoverage</jsCoverage>
  81. <version.maven-license.plugin>1.9.0</version.maven-license.plugin>
  82. <skipSanityChecks>false</skipSanityChecks>
  83. <sonar.snapshotRepository.url>dav:https://dav.codehaus.org/snapshots.repository/sonar</sonar.snapshotRepository.url>
  84. <argLine>-Xmx512m -Djava.awt.headless=true -XX:MaxPermSize=128m</argLine>
  85. </properties>
  86. <build>
  87. <extensions>
  88. <extension>
  89. <groupId>org.apache.maven.wagon</groupId>
  90. <artifactId>wagon-webdav</artifactId>
  91. <version>1.0-beta-2</version>
  92. </extension>
  93. </extensions>
  94. <pluginManagement>
  95. <!-- Plugins ordered by shortname (assembly, antrun ...) -->
  96. <plugins>
  97. <plugin>
  98. <groupId>org.codehaus.mojo</groupId>
  99. <artifactId>animal-sniffer-maven-plugin</artifactId>
  100. <version>1.13</version>
  101. <configuration>
  102. <signature>
  103. <groupId>org.codehaus.mojo.signature</groupId>
  104. <artifactId>java17</artifactId>
  105. <version>1.0</version>
  106. </signature>
  107. <skip>${skipSanityChecks}</skip>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>com.github.eirslett</groupId>
  112. <artifactId>frontend-maven-plugin</artifactId>
  113. <version>0.0.20</version>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-antrun-plugin</artifactId>
  118. <version>1.7</version>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-assembly-plugin</artifactId>
  123. <version>2.4</version>
  124. <configuration>
  125. <archiverConfig>
  126. <!-- Workaround for http://jira.codehaus.org/browse/MASSEMBLY-422 -->
  127. <!-- 420(dec) = 644(oct) -->
  128. <fileMode>420</fileMode>
  129. <!-- 493(dec) = 755(oct) -->
  130. <directoryMode>493</directoryMode>
  131. <defaultDirectoryMode>493</defaultDirectoryMode>
  132. </archiverConfig>
  133. </configuration>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.codehaus.mojo</groupId>
  137. <artifactId>build-helper-maven-plugin</artifactId>
  138. <version>1.9.1</version>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.codehaus.mojo</groupId>
  142. <artifactId>buildnumber-maven-plugin</artifactId>
  143. <version>1.3</version>
  144. </plugin>
  145. <plugin>
  146. <groupId>org.apache.maven.plugins</groupId>
  147. <artifactId>maven-clean-plugin</artifactId>
  148. <version>2.6</version>
  149. </plugin>
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-compiler-plugin</artifactId>
  153. <version>3.2</version>
  154. </plugin>
  155. <plugin>
  156. <groupId>org.apache.maven.plugins</groupId>
  157. <artifactId>maven-dependency-plugin</artifactId>
  158. <version>2.9</version>
  159. </plugin>
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-deploy-plugin</artifactId>
  163. <version>2.8.2</version>
  164. </plugin>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-enforcer-plugin</artifactId>
  168. <version>1.3.1</version>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-failsafe-plugin</artifactId>
  173. <version>2.17</version>
  174. </plugin>
  175. <plugin>
  176. <groupId>org.apache.maven.plugins</groupId>
  177. <artifactId>maven-gpg-plugin</artifactId>
  178. <version>1.6</version>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-install-plugin</artifactId>
  183. <version>2.5.2</version>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.jacoco</groupId>
  187. <artifactId>jacoco-maven-plugin</artifactId>
  188. <version>0.7.2.201409121644</version>
  189. <configuration>
  190. <excludes>
  191. <exclude>*_javassist_*</exclude>
  192. </excludes>
  193. <includes>
  194. <include>org.sonar.*</include>
  195. </includes>
  196. </configuration>
  197. </plugin>
  198. <plugin>
  199. <groupId>org.apache.maven.plugins</groupId>
  200. <artifactId>maven-jar-plugin</artifactId>
  201. <version>2.5</version>
  202. </plugin>
  203. <plugin>
  204. <groupId>org.apache.maven.plugins</groupId>
  205. <artifactId>maven-javadoc-plugin</artifactId>
  206. <version>2.10.1</version>
  207. <configuration>
  208. <author>false</author>
  209. <linksource>true</linksource>
  210. </configuration>
  211. </plugin>
  212. <plugin>
  213. <groupId>org.apache.maven.plugins</groupId>
  214. <artifactId>maven-jxr-plugin</artifactId>
  215. <version>2.5</version>
  216. </plugin>
  217. <plugin>
  218. <groupId>com.mycila.maven-license-plugin</groupId>
  219. <artifactId>maven-license-plugin</artifactId>
  220. <version>${version.maven-license.plugin}</version>
  221. </plugin>
  222. <plugin>
  223. <groupId>org.apache.maven.plugins</groupId>
  224. <artifactId>maven-plugin-plugin</artifactId>
  225. <version>3.3</version>
  226. </plugin>
  227. <plugin>
  228. <groupId>org.apache.maven.plugins</groupId>
  229. <artifactId>maven-release-plugin</artifactId>
  230. <version>2.5.1</version>
  231. </plugin>
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-resources-plugin</artifactId>
  235. <version>2.7</version>
  236. </plugin>
  237. <plugin>
  238. <groupId>org.apache.maven.plugins</groupId>
  239. <artifactId>maven-shade-plugin</artifactId>
  240. <version>2.3</version>
  241. </plugin>
  242. <plugin>
  243. <groupId>org.apache.maven.plugins</groupId>
  244. <artifactId>maven-site-plugin</artifactId>
  245. <version>3.4</version>
  246. </plugin>
  247. <plugin>
  248. <groupId>org.apache.maven.plugins</groupId>
  249. <artifactId>maven-source-plugin</artifactId>
  250. <version>2.4</version>
  251. </plugin>
  252. <plugin>
  253. <groupId>org.apache.maven.plugins</groupId>
  254. <artifactId>maven-surefire-plugin</artifactId>
  255. <version>2.17</version>
  256. </plugin>
  257. <plugin>
  258. <groupId>org.apache.maven.plugins</groupId>
  259. <artifactId>maven-war-plugin</artifactId>
  260. <version>2.5</version>
  261. </plugin>
  262. <plugin>
  263. <!-- not thread safe -->
  264. <groupId>org.codehaus.sonar</groupId>
  265. <artifactId>sonar-dev-maven-plugin</artifactId>
  266. <version>1.7</version>
  267. </plugin>
  268. <plugin>
  269. <groupId>org.codehaus.sonar</groupId>
  270. <artifactId>sonar-packaging-maven-plugin</artifactId>
  271. <version>${sonarUpdateCenter.version}</version>
  272. </plugin>
  273. <plugin>
  274. <!-- declared to avoid enforcer error during SQ analysis when Clirr plugin installed -->
  275. <groupId>org.codehaus.mojo</groupId>
  276. <artifactId>clirr-maven-plugin</artifactId>
  277. <version>2.6.1</version>
  278. </plugin>
  279. <plugin>
  280. <groupId>org.owasp</groupId>
  281. <artifactId>dependency-check-maven</artifactId>
  282. <version>1.2.8</version>
  283. <configuration>
  284. <failBuildOnCVSS>8</failBuildOnCVSS>
  285. <suppressionFile>cve-false-positives.xml</suppressionFile>
  286. </configuration>
  287. </plugin>
  288. <plugin>
  289. <!--
  290. Detection of conflicts in classpath.
  291. Command line is: mvn org.basepom.maven:duplicate-finder-maven-plugin:check
  292. See https://github.com/basepom/duplicate-finder-maven-plugin
  293. -->
  294. <groupId>org.basepom.maven</groupId>
  295. <artifactId>duplicate-finder-maven-plugin</artifactId>
  296. <version>1.1.0</version>
  297. <configuration>
  298. <printEqualFiles>true</printEqualFiles>
  299. <!--
  300. <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
  301. <failBuildInCaseOfEqualContentConflict>true</failBuildInCaseOfEqualContentConflict>
  302. <failBuildInCaseOfConflict>true</failBuildInCaseOfConflict>
  303. -->
  304. <checkCompileClasspath>true</checkCompileClasspath>
  305. <checkRuntimeClasspath>true</checkRuntimeClasspath>
  306. <checkTestClasspath>false</checkTestClasspath>
  307. </configuration>
  308. </plugin>
  309. </plugins>
  310. </pluginManagement>
  311. <plugins>
  312. <plugin>
  313. <groupId>org.codehaus.mojo</groupId>
  314. <artifactId>buildnumber-maven-plugin</artifactId>
  315. <executions>
  316. <execution>
  317. <phase>validate</phase>
  318. <goals>
  319. <goal>create</goal>
  320. </goals>
  321. </execution>
  322. </executions>
  323. <configuration>
  324. <doCheck>false</doCheck>
  325. <doUpdate>false</doUpdate>
  326. <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
  327. <revisionOnScmFailure>0</revisionOnScmFailure>
  328. </configuration>
  329. </plugin>
  330. <plugin>
  331. <groupId>org.apache.maven.plugins</groupId>
  332. <artifactId>maven-compiler-plugin</artifactId>
  333. <configuration>
  334. <source>${jdk.min.version}</source>
  335. <target>${jdk.min.version}</target>
  336. <encoding>${project.build.sourceEncoding}</encoding>
  337. </configuration>
  338. </plugin>
  339. <plugin>
  340. <groupId>org.apache.maven.plugins</groupId>
  341. <artifactId>maven-enforcer-plugin</artifactId>
  342. <executions>
  343. <execution>
  344. <id>enforce-rules</id>
  345. <goals>
  346. <goal>enforce</goal>
  347. </goals>
  348. <configuration>
  349. <rules>
  350. <requirePluginVersions>
  351. <message>Build reproducibility : always define plugin versions</message>
  352. <banLatest>true</banLatest>
  353. <banRelease>true</banRelease>
  354. <phases>clean,deploy</phases>
  355. </requirePluginVersions>
  356. <requireReleaseDeps>
  357. <message>No SNAPSHOT versions allowed for dependencies</message>
  358. <onlyWhenRelease>true</onlyWhenRelease>
  359. </requireReleaseDeps>
  360. <requireJavaVersion>
  361. <message>To build this project JDK ${jdk.min.version} (or upper) is required. Please install it.
  362. </message>
  363. <version>${jdk.min.version}</version>
  364. </requireJavaVersion>
  365. <requireMavenVersion>
  366. <message>Maven ${maven.min.version} to 3.2.x is required.
  367. </message>
  368. <!-- maven 3.3.1 is not supported because of frontend-maven-plugin :
  369. https://github.com/eirslett/frontend-maven-plugin/issues/184
  370. https://github.com/eirslett/frontend-maven-plugin/commit/c21b91cc91b8a4f329ad48f6fc1f6269ad0f1f5d
  371. Upgrading to frontend-m-p 0.0.23 drops support of maven 3.0, which is currently the reference version
  372. used at SonarSource.
  373. -->
  374. <version>[${maven.min.version},3.3)</version>
  375. </requireMavenVersion>
  376. <bannedDependencies>
  377. <!-- See SONAR-2512 -->
  378. <message>commons-beanutils:commons-beanutils should be used instead</message>
  379. <excludes>
  380. <exclude>commons-beanutils:commons-beanutils-core</exclude>
  381. </excludes>
  382. <searchTransitive>true</searchTransitive>
  383. </bannedDependencies>
  384. <bannedDependencies>
  385. <!-- See SONAR-2455 -->
  386. <message>org.codehaus.plexus:plexus-classworlds should be used instead</message>
  387. <excludes>
  388. <exclude>classworlds:classworlds</exclude>
  389. </excludes>
  390. <searchTransitive>true</searchTransitive>
  391. </bannedDependencies>
  392. <requireNoRepositories>
  393. <message>Definition of new repositories is not allowed in order to deploy to central repository.
  394. </message>
  395. </requireNoRepositories>
  396. </rules>
  397. </configuration>
  398. </execution>
  399. </executions>
  400. </plugin>
  401. <!--
  402. Choosing a random timezone when executing tests allows to detect
  403. early the tests that are coupled with local environment.
  404. -->
  405. <plugin>
  406. <groupId>com.github.genthaler</groupId>
  407. <artifactId>beanshell-maven-plugin</artifactId>
  408. <version>1.0</version>
  409. <executions>
  410. <execution>
  411. <id>randomize-environment</id>
  412. <phase>validate</phase>
  413. <goals>
  414. <goal>run</goal>
  415. </goals>
  416. <configuration>
  417. <script>
  418. <![CDATA[
  419. String[] timezones = new String[] {"GMT-9", "UTC", "GMT+9"};
  420. String testTimezone = timezones[new java.util.Random().nextInt(timezones.length)];
  421. project.getProperties().setProperty("testTimezone", testTimezone);
  422. logger.info("Timezone used for tests: " + testTimezone);
  423. ]]>
  424. </script>
  425. </configuration>
  426. </execution>
  427. </executions>
  428. </plugin>
  429. <plugin>
  430. <groupId>org.apache.maven.plugins</groupId>
  431. <artifactId>maven-jar-plugin</artifactId>
  432. <configuration>
  433. <archive>
  434. <manifestEntries>
  435. <Version>${project.version}</Version>
  436. <!-- ${buildNumber} is the Git revision. It's generated by the buildnumber-maven-plugin -->
  437. <Implementation-Build>${buildNumber}</Implementation-Build>
  438. <Build-Time>${timestamp}</Build-Time>
  439. </manifestEntries>
  440. </archive>
  441. </configuration>
  442. </plugin>
  443. <plugin>
  444. <groupId>org.codehaus.sonar</groupId>
  445. <artifactId>sonar-packaging-maven-plugin</artifactId>
  446. <extensions>true</extensions>
  447. <configuration>
  448. <archive>
  449. <manifestEntries>
  450. <!-- ${buildNumber} is the Git revision. It's generated by the buildnumber-maven-plugin -->
  451. <Implementation-Build>${buildNumber}</Implementation-Build>
  452. <Build-Time>${timestamp}</Build-Time>
  453. </manifestEntries>
  454. </archive>
  455. </configuration>
  456. </plugin>
  457. <plugin>
  458. <groupId>org.apache.maven.plugins</groupId>
  459. <artifactId>maven-jxr-plugin</artifactId>
  460. <configuration>
  461. <aggregate>true</aggregate>
  462. <linkJavadoc>true</linkJavadoc>
  463. <javadocDir>${project.reporting.outputDirectory}/${project.version}/apidocs</javadocDir>
  464. </configuration>
  465. </plugin>
  466. <!-- check copyright/license headers -->
  467. <plugin>
  468. <inherited>false</inherited>
  469. <groupId>com.mycila.maven-license-plugin</groupId>
  470. <artifactId>maven-license-plugin</artifactId>
  471. <configuration>
  472. <header>${project.basedir}/copyright.txt</header>
  473. <failIfMissing>true</failIfMissing>
  474. <strictCheck>true</strictCheck>
  475. <aggregate>true</aggregate>
  476. <includes>
  477. <include>**/sonar-*/src/main/java/**</include>
  478. <include>**/sonar-*/src/main/js/**</include>
  479. <include>**/sonar-*/src/main/coffee/**</include>
  480. <include>**/sonar-*/src/main/less/**</include>
  481. <include>**/sonar-*/src/test/java/**</include>
  482. </includes>
  483. <excludes>
  484. <exclude>tests/**</exclude>
  485. </excludes>
  486. <mapping>
  487. <java>SLASHSTAR_STYLE</java>
  488. <js>SLASHSTAR_STYLE</js>
  489. <coffee>SCRIPT_STYLE</coffee>
  490. <less>SLASHSTAR_STYLE</less>
  491. </mapping>
  492. <skip>${skipSanityChecks}</skip>
  493. </configuration>
  494. <executions>
  495. <execution>
  496. <id>enforce-license-headers</id>
  497. <phase>validate</phase>
  498. <goals>
  499. <goal>check</goal>
  500. </goals>
  501. </execution>
  502. </executions>
  503. </plugin>
  504. <plugin>
  505. <groupId>org.codehaus.mojo</groupId>
  506. <artifactId>animal-sniffer-maven-plugin</artifactId>
  507. <executions>
  508. <execution>
  509. <id>enforce-java-api-compatibility</id>
  510. <phase>verify</phase>
  511. <goals>
  512. <goal>check</goal>
  513. </goals>
  514. </execution>
  515. </executions>
  516. </plugin>
  517. <plugin>
  518. <groupId>org.apache.maven.plugins</groupId>
  519. <artifactId>maven-release-plugin</artifactId>
  520. <configuration>
  521. <autoVersionSubmodules>true</autoVersionSubmodules>
  522. <localCheckout>true</localCheckout>
  523. <pushChanges>false</pushChanges>
  524. <mavenExecutorId>forked-path</mavenExecutorId>
  525. <preparationGoals>clean install</preparationGoals>
  526. <!-- SONAR-4189 -->
  527. <arguments>-Prelease</arguments>
  528. </configuration>
  529. </plugin>
  530. <plugin>
  531. <groupId>org.apache.maven.plugins</groupId>
  532. <artifactId>maven-source-plugin</artifactId>
  533. <executions>
  534. <execution>
  535. <id>attach-sources</id>
  536. <goals>
  537. <goal>jar-no-fork</goal>
  538. </goals>
  539. </execution>
  540. </executions>
  541. </plugin>
  542. <plugin>
  543. <groupId>org.apache.maven.plugins</groupId>
  544. <artifactId>maven-surefire-plugin</artifactId>
  545. <configuration>
  546. <runOrder>random</runOrder>
  547. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  548. <systemPropertyVariables>
  549. <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
  550. <!--
  551. See profile 'randomize-environment'
  552. -->
  553. <user.timezone>${testTimezone}</user.timezone>
  554. </systemPropertyVariables>
  555. <groups>${junitGroups}</groups>
  556. <threadCount>1</threadCount>
  557. </configuration>
  558. </plugin>
  559. <plugin>
  560. <!--
  561. This plugin is used to list the licenses of all the dependencies. The module
  562. sonar-testing-harness must be excluded. See third-party-licenses.sh
  563. -->
  564. <groupId>org.codehaus.mojo</groupId>
  565. <artifactId>license-maven-plugin</artifactId>
  566. <version>1.7</version>
  567. <configuration>
  568. <groupByLicense>true</groupByLicense>
  569. <includedScopes>compile</includedScopes>
  570. </configuration>
  571. </plugin>
  572. </plugins>
  573. </build>
  574. <dependencyManagement>
  575. <dependencies>
  576. <!-- SonarQube modules -->
  577. <dependency>
  578. <groupId>org.codehaus.sonar</groupId>
  579. <artifactId>sonar-channel</artifactId>
  580. <version>4.1</version>
  581. </dependency>
  582. <dependency>
  583. <groupId>org.codehaus.sonar</groupId>
  584. <artifactId>sonar-classloader</artifactId>
  585. <version>1.0</version>
  586. </dependency>
  587. <dependency>
  588. <groupId>org.codehaus.sonar</groupId>
  589. <artifactId>sonar-markdown</artifactId>
  590. <version>${project.version}</version>
  591. </dependency>
  592. <dependency>
  593. <groupId>org.codehaus.sonar</groupId>
  594. <artifactId>sonar-check-api</artifactId>
  595. <version>${project.version}</version>
  596. </dependency>
  597. <dependency>
  598. <groupId>org.codehaus.sonar</groupId>
  599. <artifactId>sonar-colorizer</artifactId>
  600. <version>${project.version}</version>
  601. </dependency>
  602. <dependency>
  603. <groupId>org.codehaus.sonar</groupId>
  604. <artifactId>sonar-core</artifactId>
  605. <version>${project.version}</version>
  606. </dependency>
  607. <dependency>
  608. <groupId>org.codehaus.sonar</groupId>
  609. <artifactId>sonar-batch-protocol</artifactId>
  610. <version>${project.version}</version>
  611. </dependency>
  612. <dependency>
  613. <groupId>org.codehaus.sonar</groupId>
  614. <artifactId>sonar-deprecated</artifactId>
  615. <version>${project.version}</version>
  616. </dependency>
  617. <dependency>
  618. <groupId>org.codehaus.sonar</groupId>
  619. <artifactId>sonar-duplications</artifactId>
  620. <version>${project.version}</version>
  621. </dependency>
  622. <dependency>
  623. <groupId>org.codehaus.sonar</groupId>
  624. <artifactId>sonar-home</artifactId>
  625. <version>${project.version}</version>
  626. </dependency>
  627. <dependency>
  628. <groupId>org.codehaus.sonar</groupId>
  629. <artifactId>sonar-graph</artifactId>
  630. <version>${project.version}</version>
  631. </dependency>
  632. <dependency>
  633. <groupId>org.codehaus.sonar</groupId>
  634. <artifactId>sonar-java-api</artifactId>
  635. <version>${project.version}</version>
  636. </dependency>
  637. <dependency>
  638. <groupId>org.codehaus.sonar</groupId>
  639. <artifactId>sonar-plugin-api</artifactId>
  640. <version>${project.version}</version>
  641. </dependency>
  642. <dependency>
  643. <groupId>org.codehaus.sonar</groupId>
  644. <artifactId>sonar-update-center-common</artifactId>
  645. <version>${sonarUpdateCenter.version}</version>
  646. </dependency>
  647. <dependency>
  648. <groupId>org.codehaus.sonar</groupId>
  649. <artifactId>sonar-server</artifactId>
  650. <version>${project.version}</version>
  651. </dependency>
  652. <dependency>
  653. <groupId>org.codehaus.sonar.plugins</groupId>
  654. <artifactId>sonar-xoo-plugin</artifactId>
  655. <version>${project.version}</version>
  656. <scope>test</scope>
  657. </dependency>
  658. <dependency>
  659. <groupId>org.codehaus.sonar-plugins</groupId>
  660. <artifactId>sonar-scm-git-plugin</artifactId>
  661. <version>${sonarGit.version}</version>
  662. <type>sonar-plugin</type>
  663. </dependency>
  664. <dependency>
  665. <groupId>org.codehaus.sonar-plugins</groupId>
  666. <artifactId>sonar-scm-svn-plugin</artifactId>
  667. <version>${sonarSvn.version}</version>
  668. <type>sonar-plugin</type>
  669. </dependency>
  670. <dependency>
  671. <groupId>org.codehaus.sonar</groupId>
  672. <artifactId>sonar-squid</artifactId>
  673. <version>4.1</version>
  674. </dependency>
  675. <dependency>
  676. <groupId>org.codehaus.sonar</groupId>
  677. <artifactId>sonar-testing-harness</artifactId>
  678. <version>${project.version}</version>
  679. </dependency>
  680. <dependency>
  681. <groupId>org.codehaus.sonar</groupId>
  682. <artifactId>sonar-ws-client</artifactId>
  683. <version>${project.version}</version>
  684. </dependency>
  685. <dependency>
  686. <groupId>org.codehaus.sonar-plugins.java</groupId>
  687. <artifactId>sonar-java-plugin</artifactId>
  688. <version>${sonarJava.version}</version>
  689. <type>sonar-plugin</type>
  690. <exclusions>
  691. <!-- A banned dependency is bring because java-squid is using maven-project:2.07
  692. This exclusion should be removed when the plugin will no more used maven-project -->
  693. <exclusion>
  694. <groupId>classworlds</groupId>
  695. <artifactId>classworlds</artifactId>
  696. </exclusion>
  697. </exclusions>
  698. </dependency>
  699. <dependency>
  700. <groupId>com.tinkerpop.blueprints</groupId>
  701. <artifactId>blueprints-core</artifactId>
  702. <version>2.2.0</version>
  703. </dependency>
  704. <dependency>
  705. <groupId>commons-collections</groupId>
  706. <artifactId>commons-collections</artifactId>
  707. <version>3.2.1</version>
  708. </dependency>
  709. <dependency>
  710. <groupId>org.elasticsearch</groupId>
  711. <artifactId>elasticsearch</artifactId>
  712. <version>${elasticsearch.version}</version>
  713. <exclusions>
  714. <exclusion>
  715. <groupId>org.apache.lucene</groupId>
  716. <artifactId>lucene-spatial</artifactId>
  717. </exclusion>
  718. <exclusion>
  719. <groupId>org.ow2.asm</groupId>
  720. <artifactId>asm</artifactId>
  721. </exclusion>
  722. <exclusion>
  723. <groupId>org.ow2.asm</groupId>
  724. <artifactId>asm-commons</artifactId>
  725. </exclusion>
  726. <exclusion>
  727. <groupId>org.antlr</groupId>
  728. <artifactId>antlr-runtime</artifactId>
  729. </exclusion>
  730. </exclusions>
  731. </dependency>
  732. <dependency>
  733. <groupId>com.github.tlrx</groupId>
  734. <artifactId>elasticsearch-test</artifactId>
  735. <version>1.2.1</version>
  736. </dependency>
  737. <dependency>
  738. <groupId>com.google.guava</groupId>
  739. <artifactId>guava</artifactId>
  740. <version>10.0.1</version>
  741. <exclusions>
  742. <exclusion>
  743. <!-- should be declared with scope provided -->
  744. <groupId>com.google.code.findbugs</groupId>
  745. <artifactId>jsr305</artifactId>
  746. </exclusion>
  747. </exclusions>
  748. </dependency>
  749. <dependency>
  750. <groupId>com.google.code.findbugs</groupId>
  751. <artifactId>jsr305</artifactId>
  752. <version>2.0.3</version>
  753. </dependency>
  754. <dependency>
  755. <groupId>commons-dbutils</groupId>
  756. <artifactId>commons-dbutils</artifactId>
  757. <version>1.5</version>
  758. </dependency>
  759. <dependency>
  760. <groupId>commons-io</groupId>
  761. <artifactId>commons-io</artifactId>
  762. <version>2.4</version>
  763. </dependency>
  764. <dependency>
  765. <groupId>org.apache.commons</groupId>
  766. <artifactId>commons-csv</artifactId>
  767. <version>1.0</version>
  768. </dependency>
  769. <dependency>
  770. <groupId>commons-codec</groupId>
  771. <artifactId>commons-codec</artifactId>
  772. <version>1.8</version>
  773. </dependency>
  774. <dependency>
  775. <groupId>commons-lang</groupId>
  776. <artifactId>commons-lang</artifactId>
  777. <version>2.6</version>
  778. </dependency>
  779. <dependency>
  780. <groupId>commons-dbcp</groupId>
  781. <artifactId>commons-dbcp</artifactId>
  782. <version>1.4</version>
  783. </dependency>
  784. <dependency>
  785. <!-- See SONAR-2512 -->
  786. <groupId>commons-beanutils</groupId>
  787. <artifactId>commons-beanutils</artifactId>
  788. <version>1.8.3</version>
  789. <exclusions>
  790. <exclusion>
  791. <groupId>commons-logging</groupId>
  792. <artifactId>commons-logging</artifactId>
  793. </exclusion>
  794. </exclusions>
  795. </dependency>
  796. <dependency>
  797. <groupId>com.ibm.icu</groupId>
  798. <artifactId>icu4j</artifactId>
  799. <!-- animal-sniffer doesn't work with 2.6.1 -->
  800. <version>3.4.4</version>
  801. </dependency>
  802. <dependency>
  803. <groupId>jfree</groupId>
  804. <artifactId>jfreechart</artifactId>
  805. <version>1.0.9</version>
  806. </dependency>
  807. <dependency>
  808. <groupId>com.googlecode.json-simple</groupId>
  809. <artifactId>json-simple</artifactId>
  810. <version>1.1.1</version>
  811. <exclusions>
  812. <exclusion>
  813. <groupId>junit</groupId>
  814. <artifactId>junit</artifactId>
  815. </exclusion>
  816. </exclusions>
  817. </dependency>
  818. <dependency>
  819. <groupId>org.hibernate</groupId>
  820. <artifactId>hibernate-annotations</artifactId>
  821. <version>3.4.0.GA</version>
  822. </dependency>
  823. <dependency>
  824. <groupId>org.hibernate</groupId>
  825. <artifactId>hibernate-commons-annotations</artifactId>
  826. <version>3.1.0.GA</version>
  827. </dependency>
  828. <dependency>
  829. <groupId>org.hibernate</groupId>
  830. <artifactId>hibernate-core</artifactId>
  831. <version>3.3.2.GA</version>
  832. <exclusions>
  833. <exclusion>
  834. <groupId>javax.transaction</groupId>
  835. <artifactId>jta</artifactId>
  836. </exclusion>
  837. <exclusion>
  838. <groupId>xml-apis</groupId>
  839. <artifactId>xml-apis</artifactId>
  840. </exclusion>
  841. </exclusions>
  842. </dependency>
  843. <dependency>
  844. <groupId>org.hibernate</groupId>
  845. <artifactId>hibernate-entitymanager</artifactId>
  846. <version>3.4.0.GA</version>
  847. <exclusions>
  848. <exclusion>
  849. <groupId>javax.transaction</groupId>
  850. <artifactId>jta</artifactId>
  851. </exclusion>
  852. </exclusions>
  853. </dependency>
  854. <dependency>
  855. <groupId>org.mybatis</groupId>
  856. <artifactId>mybatis</artifactId>
  857. <version>3.2.7</version>
  858. </dependency>
  859. <dependency>
  860. <groupId>org.picocontainer</groupId>
  861. <artifactId>picocontainer</artifactId>
  862. <version>2.14.3</version>
  863. </dependency>
  864. <dependency>
  865. <groupId>org.slf4j</groupId>
  866. <artifactId>slf4j-api</artifactId>
  867. <version>${slf4j.version}</version>
  868. </dependency>
  869. <dependency>
  870. <groupId>org.slf4j</groupId>
  871. <artifactId>jul-to-slf4j</artifactId>
  872. <version>${slf4j.version}</version>
  873. </dependency>
  874. <dependency>
  875. <groupId>org.slf4j</groupId>
  876. <artifactId>jcl-over-slf4j</artifactId>
  877. <version>${slf4j.version}</version>
  878. </dependency>
  879. <dependency>
  880. <groupId>org.slf4j</groupId>
  881. <artifactId>log4j-over-slf4j</artifactId>
  882. <version>${slf4j.version}</version>
  883. </dependency>
  884. <dependency>
  885. <groupId>ch.qos.logback</groupId>
  886. <artifactId>logback-access</artifactId>
  887. <version>${logback.version}</version>
  888. </dependency>
  889. <dependency>
  890. <groupId>ch.qos.logback</groupId>
  891. <artifactId>logback-classic</artifactId>
  892. <version>${logback.version}</version>
  893. </dependency>
  894. <dependency>
  895. <groupId>ch.qos.logback</groupId>
  896. <artifactId>logback-core</artifactId>
  897. <version>${logback.version}</version>
  898. </dependency>
  899. <dependency>
  900. <groupId>com.h2database</groupId>
  901. <artifactId>h2</artifactId>
  902. <version>${h2.version}</version>
  903. </dependency>
  904. <dependency>
  905. <groupId>org.jruby.rack</groupId>
  906. <artifactId>jruby-rack</artifactId>
  907. <version>1.1.13.2</version>
  908. </dependency>
  909. <dependency>
  910. <groupId>mysql</groupId>
  911. <artifactId>mysql-connector-java</artifactId>
  912. <version>5.1.34</version>
  913. </dependency>
  914. <dependency>
  915. <groupId>org.postgresql</groupId>
  916. <artifactId>postgresql</artifactId>
  917. <version>9.3-1102-jdbc41</version>
  918. </dependency>
  919. <dependency>
  920. <groupId>net.sourceforge.jtds</groupId>
  921. <artifactId>jtds</artifactId>
  922. <version>1.3.1</version>
  923. </dependency>
  924. <dependency>
  925. <groupId>org.codehaus.woodstox</groupId>
  926. <artifactId>woodstox-core-lgpl</artifactId>
  927. <version>4.4.0</version>
  928. </dependency>
  929. <dependency>
  930. <groupId>org.codehaus.staxmate</groupId>
  931. <artifactId>staxmate</artifactId>
  932. <version>2.0.1</version>
  933. <exclusions>
  934. <!-- see SONAR-879 -->
  935. <exclusion>
  936. <groupId>org.codehaus.woodstox</groupId>
  937. <artifactId>stax2-api</artifactId>
  938. </exclusion>
  939. <exclusion>
  940. <groupId>stax</groupId>
  941. <artifactId>stax-api</artifactId>
  942. </exclusion>
  943. <exclusion>
  944. <groupId>org.codehaus.woodstox</groupId>
  945. <artifactId>woodstox-core-asl</artifactId>
  946. </exclusion>
  947. </exclusions>
  948. </dependency>
  949. <dependency>
  950. <groupId>org.mockito</groupId>
  951. <artifactId>mockito-core</artifactId>
  952. <version>1.10.17</version>
  953. <exclusions>
  954. <exclusion>
  955. <groupId>org.hamcrest</groupId>
  956. <artifactId>hamcrest-core</artifactId>
  957. </exclusion>
  958. </exclusions>
  959. </dependency>
  960. <dependency>
  961. <groupId>com.google.code.bean-matchers</groupId>
  962. <artifactId>bean-matchers</artifactId>
  963. <version>0.9</version>
  964. <scope>test</scope>
  965. <exclusions>
  966. <exclusion>
  967. <groupId>org.hamcrest</groupId>
  968. <artifactId>hamcrest-core</artifactId>
  969. </exclusion>
  970. </exclusions>
  971. </dependency>
  972. <dependency>
  973. <groupId>org.assertj</groupId>
  974. <artifactId>assertj-core</artifactId>
  975. <version>1.7.0</version>
  976. </dependency>
  977. <dependency>
  978. <groupId>xpp3</groupId>
  979. <artifactId>xpp3</artifactId>
  980. <version>1.1.3.3</version>
  981. </dependency>
  982. <dependency>
  983. <groupId>org.apache.maven</groupId>
  984. <artifactId>maven-core</artifactId>
  985. <version>${maven.api.version}</version>
  986. <exclusions>
  987. <exclusion>
  988. <!-- See SONAR-2455 -->
  989. <groupId>classworlds</groupId>
  990. <artifactId>classworlds</artifactId>
  991. </exclusion>
  992. </exclusions>
  993. </dependency>
  994. <dependency>
  995. <groupId>org.apache.maven</groupId>
  996. <artifactId>maven-plugin-api</artifactId>
  997. <version>${maven.api.version}</version>
  998. </dependency>
  999. <dependency>
  1000. <groupId>org.apache.maven</groupId>
  1001. <artifactId>maven-compat</artifactId>
  1002. <version>${maven.api.version}</version>
  1003. </dependency>
  1004. <dependency>
  1005. <groupId>org.apache.maven</groupId>
  1006. <artifactId>maven-artifact</artifactId>
  1007. <version>${maven.api.version}</version>
  1008. </dependency>
  1009. <dependency>
  1010. <groupId>org.apache.maven.shared</groupId>
  1011. <artifactId>maven-dependency-tree</artifactId>
  1012. <version>2.1</version>
  1013. <exclusions>
  1014. <exclusion>
  1015. <!-- See SONAR-2455 -->
  1016. <groupId>classworlds</groupId>
  1017. <artifactId>classworlds</artifactId>
  1018. </exclusion>
  1019. </exclusions>
  1020. </dependency>
  1021. <dependency>
  1022. <groupId>org.apache.maven.shared</groupId>
  1023. <artifactId>maven-common-artifact-filters</artifactId>
  1024. <version>1.4</version>
  1025. </dependency>
  1026. <dependency>
  1027. <groupId>org.jruby</groupId>
  1028. <artifactId>jruby-complete</artifactId>
  1029. <!-- do not upgrade to 1.7.10, much slower at startup -->
  1030. <version>1.7.9</version>
  1031. </dependency>
  1032. <dependency>
  1033. <groupId>geronimo-spec</groupId>
  1034. <artifactId>geronimo-spec-jta</artifactId>
  1035. <version>1.0-M1</version>
  1036. </dependency>
  1037. <dependency>
  1038. <groupId>org.codehaus.woodstox</groupId>
  1039. <artifactId>stax2-api</artifactId>
  1040. <version>3.1.4</version>
  1041. <exclusions>
  1042. <exclusion>
  1043. <groupId>stax</groupId>
  1044. <artifactId>stax-api</artifactId>
  1045. </exclusion>
  1046. </exclusions>
  1047. </dependency>
  1048. <dependency>
  1049. <groupId>javax.servlet</groupId>
  1050. <artifactId>javax.servlet-api</artifactId>
  1051. <version>3.0.1</version>
  1052. </dependency>
  1053. <dependency>
  1054. <groupId>org.eclipse.jetty</groupId>
  1055. <artifactId>jetty-server</artifactId>
  1056. <version>${jetty.version}</version>
  1057. </dependency>
  1058. <dependency>
  1059. <groupId>org.hamcrest</groupId>
  1060. <artifactId>hamcrest-all</artifactId>
  1061. <version>1.3</version>
  1062. </dependency>
  1063. <dependency>
  1064. <groupId>junit</groupId>
  1065. <artifactId>junit</artifactId>
  1066. <version>4.12</version>
  1067. </dependency>
  1068. <dependency>
  1069. <groupId>xmlunit</groupId>
  1070. <artifactId>xmlunit</artifactId>
  1071. <version>1.4</version>
  1072. </dependency>
  1073. <dependency>
  1074. <groupId>org.dbunit</groupId>
  1075. <artifactId>dbunit</artifactId>
  1076. <version>2.4.5</version>
  1077. <exclusions>
  1078. <!-- removing commons lang 2.1 and xerces-->
  1079. <exclusion>
  1080. <groupId>commons-lang</groupId>
  1081. <artifactId>commons-lang</artifactId>
  1082. </exclusion>
  1083. <exclusion>
  1084. <groupId>xerces</groupId>
  1085. <artifactId>xmlParserAPIs</artifactId>
  1086. </exclusion>
  1087. <exclusion>
  1088. <groupId>xerces</groupId>
  1089. <artifactId>xercesImpl</artifactId>
  1090. </exclusion>
  1091. </exclusions>
  1092. </dependency>
  1093. <dependency>
  1094. <groupId>org.eclipse.jetty</groupId>
  1095. <artifactId>test-jetty-servlet</artifactId>
  1096. <version>${jetty.version}</version>
  1097. </dependency>
  1098. <dependency>
  1099. <groupId>org.reflections</groupId>
  1100. <artifactId>reflections</artifactId>
  1101. <version>0.9.9</version>
  1102. </dependency>
  1103. <dependency>
  1104. <groupId>com.google.code.gson</groupId>
  1105. <artifactId>gson</artifactId>
  1106. <version>2.3.1</version>
  1107. </dependency>
  1108. <dependency>
  1109. <groupId>org.codehaus.sonar</groupId>
  1110. <artifactId>sonar-persistit</artifactId>
  1111. <version>3.3.1</version>
  1112. <exclusions>
  1113. <exclusion>
  1114. <groupId>commons-logging</groupId>
  1115. <artifactId>commons-logging</artifactId>
  1116. </exclusion>
  1117. </exclusions>
  1118. </dependency>
  1119. <dependency>
  1120. <groupId>com.github.kevinsawicki</groupId>
  1121. <artifactId>http-request</artifactId>
  1122. <version>5.4.1</version>
  1123. </dependency>
  1124. <dependency>
  1125. <groupId>org.codehaus.sonar.runner</groupId>
  1126. <artifactId>sonar-runner-api</artifactId>
  1127. <version>2.4</version>
  1128. </dependency>
  1129. <dependency>
  1130. <groupId>org.freemarker</groupId>
  1131. <artifactId>freemarker</artifactId>
  1132. <version>2.3.20</version>
  1133. </dependency>
  1134. <dependency>
  1135. <groupId>com.google.protobuf</groupId>
  1136. <artifactId>protobuf-java</artifactId>
  1137. <version>2.6.1</version>
  1138. </dependency>
  1139. <dependency>
  1140. <groupId>net.jpountz.lz4</groupId>
  1141. <artifactId>lz4</artifactId>
  1142. <version>1.3.0</version>
  1143. </dependency>
  1144. <!-- tomcat -->
  1145. <dependency>
  1146. <groupId>org.apache.tomcat.embed</groupId>
  1147. <artifactId>tomcat-embed-core</artifactId>
  1148. <version>${tomcat.version}</version>
  1149. </dependency>
  1150. <dependency>
  1151. <groupId>org.apache.tomcat.embed</groupId>
  1152. <artifactId>tomcat-embed-jasper</artifactId>
  1153. <version>${tomcat.version}</version>
  1154. <exclusions>
  1155. <exclusion>
  1156. <groupId>org.eclipse.jdt.core.compiler</groupId>
  1157. <artifactId>ecj</artifactId>
  1158. </exclusion>
  1159. </exclusions>
  1160. </dependency>
  1161. <dependency>
  1162. <groupId>org.apache.tomcat.embed</groupId>
  1163. <artifactId>tomcat-embed-logging-juli</artifactId>
  1164. <version>${tomcat.version}</version>
  1165. </dependency>
  1166. <!-- Using scope=provided to exclude from all transitive dependencies -->
  1167. <dependency>
  1168. <groupId>xml-apis</groupId>
  1169. <artifactId>xml-apis</artifactId>
  1170. <version>1.4.01</version>
  1171. <scope>provided</scope>
  1172. </dependency>
  1173. </dependencies>
  1174. </dependencyManagement>
  1175. <mailingLists>
  1176. <mailingList>
  1177. <name>SonarQube users mailing list</name>
  1178. <subscribe>http://xircles.codehaus.org/projects/sonar/lists</subscribe>
  1179. <unsubscribe>http://xircles.codehaus.org/projects/sonar/lists</unsubscribe>
  1180. <post>user@sonar.codehaus.org</post>
  1181. <archive>http://www.nabble.com/Sonar-f30151.html</archive>
  1182. </mailingList>
  1183. </mailingLists>
  1184. <scm>
  1185. <connection>scm:git:git@github.com:SonarSource/sonarqube.git</connection>
  1186. <developerConnection>scm:git:git@github.com:SonarSource/sonarqube.git</developerConnection>
  1187. <url>https://github.com/SonarSource/sonarqube</url>
  1188. <tag>HEAD</tag>
  1189. </scm>
  1190. <ciManagement>
  1191. <system>bamboo</system>
  1192. <url>http://bamboo.ci.codehaus.org/browse/SONAR-DEF</url>
  1193. </ciManagement>
  1194. <licenses>
  1195. <license>
  1196. <name>GNU LGPL 3</name>
  1197. <url>http://www.gnu.org/licenses/lgpl.txt</url>
  1198. <distribution>repo</distribution>
  1199. </license>
  1200. </licenses>
  1201. <!-- Developers information should not be removed as it's
  1202. required for deployment -->
  1203. <developers>
  1204. <developer>
  1205. <id>racodond</id>
  1206. <name>David Racodon</name>
  1207. <email>david.racodon@sonarsource.com</email>
  1208. <organization>SonarSource</organization>
  1209. <timezone>+1</timezone>
  1210. </developer>
  1211. <developer>
  1212. <id>dbolkensteyn</id>
  1213. <name>Dinesh Bolkensteyn</name>
  1214. <email>dinesh.bolkensteyn@sonarsource.com</email>
  1215. <organization>SonarSource</organization>
  1216. <timezone>+1</timezone>
  1217. </developer>
  1218. <developer>
  1219. <id>godin</id>
  1220. <name>Evgeny Mandrikov</name>
  1221. <email>evgeny.mandrikov@sonarsource.com</email>
  1222. <organization>SonarSource</organization>
  1223. <timezone>+3</timezone>
  1224. </developer>
  1225. <developer>
  1226. <id>bellingard</id>
  1227. <name>Fabrice Bellingard</name>
  1228. <email>fabrice.bellingard@sonarsource.com</email>
  1229. <organization>SonarSource</organization>
  1230. <timezone>+1</timezone>
  1231. </developer>
  1232. <developer>
  1233. <id>freddy.mallet</id>
  1234. <name>Freddy Mallet</name>
  1235. <email>freddy.mallet@sonarsource.com</email>
  1236. <organization>SonarSource</organization>
  1237. <timezone>+1</timezone>
  1238. </developer>
  1239. <developer>
  1240. <id>henryju</id>
  1241. <name>Julien Henry</name>
  1242. <email>julien.henry@sonarsource.com</email>
  1243. <organization>SonarSource</organization>
  1244. <timezone>+1</timezone>
  1245. </developer>
  1246. <developer>
  1247. <id>julienlancelot</id>
  1248. <name>Julien Lancelot</name>
  1249. <email>julien.lancelot@sonarsource.com</email>
  1250. <organization>SonarSource</organization>
  1251. <timezone>+1</timezone>
  1252. </developer>
  1253. <developer>
  1254. <id>olivier.gaudin</id>
  1255. <name>Olivier Gaudin</name>
  1256. <email>olivier.gaudin@sonarsource.com</email>
  1257. <organization>SonarSource</organization>
  1258. <timezone>+1</timezone>
  1259. </developer>
  1260. <developer>
  1261. <id>simonbrandhof</id>
  1262. <name>Simon Brandhof</name>
  1263. <email>simon.brandhof@sonarsource.com</email>
  1264. <organization>SonarSource</organization>
  1265. <timezone>+1</timezone>
  1266. </developer>
  1267. <developer>
  1268. <id>henryju</id>
  1269. <name>Julien Henry</name>
  1270. <email>julien.henry@sonarsource.com</email>
  1271. <organization>SonarSource</organization>
  1272. <timezone>+1</timezone>
  1273. </developer>
  1274. </developers>
  1275. <profiles>
  1276. <profile>
  1277. <id>dev</id>
  1278. <properties>
  1279. <skipSanityChecks>true</skipSanityChecks>
  1280. <enforcer.skip>true</enforcer.skip>
  1281. </properties>
  1282. </profile>
  1283. <profile>
  1284. <id>release</id>
  1285. <build>
  1286. <plugins>
  1287. <plugin>
  1288. <groupId>org.apache.maven.plugins</groupId>
  1289. <artifactId>maven-javadoc-plugin</artifactId>
  1290. <executions>
  1291. <execution>
  1292. <id>attach-javadocs</id>
  1293. <goals>
  1294. <goal>jar</goal>
  1295. </goals>
  1296. </execution>
  1297. </executions>
  1298. </plugin>
  1299. <plugin>
  1300. <groupId>org.apache.maven.plugins</groupId>
  1301. <artifactId>maven-gpg-plugin</artifactId>
  1302. <executions>
  1303. <execution>
  1304. <id>sign-artifacts</id>
  1305. <phase>verify</phase>
  1306. <goals>
  1307. <goal>sign</goal>
  1308. </goals>
  1309. </execution>
  1310. </executions>
  1311. </plugin>
  1312. <plugin>
  1313. <groupId>org.apache.maven.plugins</groupId>
  1314. <artifactId>maven-enforcer-plugin</artifactId>
  1315. <executions>
  1316. <execution>
  1317. <id>enforce-java7</id>
  1318. <goals>
  1319. <goal>enforce</goal>
  1320. </goals>
  1321. <configuration>
  1322. <rules>
  1323. <requireJavaVersion>
  1324. <message>To release this project JDK ${jdk.min.version} is required.
  1325. </message>
  1326. <version>[1.7,)</version>
  1327. </requireJavaVersion>
  1328. </rules>
  1329. </configuration>
  1330. </execution>
  1331. </executions>
  1332. </plugin>
  1333. </plugins>
  1334. </build>
  1335. </profile>
  1336. <profile>
  1337. <id>javadoc</id>
  1338. <build>
  1339. <plugins>
  1340. <plugin>
  1341. <groupId>org.apache.maven.plugins</groupId>
  1342. <artifactId>maven-javadoc-plugin</artifactId>
  1343. <configuration>
  1344. <excludePackageNames>
  1345. net.*:org.sonar.application:org.sonar.server:org.sonar.graph:org.sonar.batch:org.sonar.channel:org.sonar.java:org.sonar.maven*:org.sonar.plugins.*:org.sonar.colorizer:org.sonar.core:org.sonar.jpa:org.sonar.duplications:org.sonar.markdown:com.*
  1346. </excludePackageNames>
  1347. <author>false</author>
  1348. <linksource>true</linksource>
  1349. <reportOutputDirectory>${project.reporting.outputDirectory}/${project.version}/apidocs
  1350. </reportOutputDirectory>
  1351. </configuration>
  1352. </plugin>
  1353. </plugins>
  1354. </build>
  1355. </profile>
  1356. <profile>
  1357. <id>m2e</id>
  1358. <activation>
  1359. <!-- This profile is active only when used from Eclipse m2e and is used only to store settings. -->
  1360. <property>
  1361. <name>m2e.version</name>
  1362. </property>
  1363. </activation>
  1364. <build>
  1365. <pluginManagement>
  1366. <plugins>
  1367. <plugin>
  1368. <groupId>org.eclipse.m2e</groupId>
  1369. <artifactId>lifecycle-mapping</artifactId>
  1370. <version>1.0.0</version>
  1371. <configuration>
  1372. <lifecycleMappingMetadata>
  1373. <pluginExecutions>
  1374. <pluginExecution>
  1375. <pluginExecutionFilter>
  1376. <groupId>org.codehaus.sonar</groupId>
  1377. <artifactId>sonar-packaging-maven-plugin</artifactId>
  1378. <versionRange>[1.0,)</versionRange>
  1379. <goals>
  1380. <goal>check-dependencies</goal>
  1381. </goals>
  1382. </pluginExecutionFilter>
  1383. <action>
  1384. <ignore/>
  1385. </action>
  1386. </pluginExecution>
  1387. <pluginExecution>
  1388. <pluginExecutionFilter>
  1389. <groupId>org.codehaus.sonar</groupId>
  1390. <artifactId>sonar-dev-maven-plugin</artifactId>
  1391. <versionRange>[1.0,)</versionRange>
  1392. <goals>
  1393. <goal>trim</goal>
  1394. </goals>
  1395. </pluginExecutionFilter>
  1396. <action>
  1397. <ignore/>
  1398. </action>
  1399. </pluginExecution>
  1400. <pluginExecution>
  1401. <pluginExecutionFilter>
  1402. <groupId>org.apache.maven.plugins</groupId>
  1403. <artifactId>maven-dependency-plugin</artifactId>
  1404. <versionRange>[1.0,)</versionRange>
  1405. <goals>
  1406. <goal>unpack</goal>
  1407. <goal>copy-dependencies</goal>
  1408. </goals>
  1409. </pluginExecutionFilter>
  1410. <action>
  1411. <ignore/>
  1412. </action>
  1413. </pluginExecution>
  1414. <pluginExecution>
  1415. <pluginExecutionFilter>
  1416. <groupId>org.codehaus.mojo</groupId>
  1417. <artifactId>native2ascii-maven-plugin</artifactId>
  1418. <versionRange>[1.0-alpha-1,)</versionRange>
  1419. <goals>
  1420. <goal>native2ascii</goal>
  1421. </goals>
  1422. </pluginExecutionFilter>
  1423. <action>
  1424. <ignore/>
  1425. </action>
  1426. </pluginExecution>
  1427. </pluginExecutions>
  1428. </lifecycleMappingMetadata>
  1429. </configuration>
  1430. </plugin>
  1431. </plugins>
  1432. </pluginManagement>
  1433. </build>
  1434. </profile>
  1435. <profile>
  1436. <id>coverage-per-test</id>
  1437. <dependencies>
  1438. <dependency>
  1439. <groupId>org.codehaus.sonar-plugins.java</groupId>
  1440. <artifactId>sonar-jacoco-listeners</artifactId>
  1441. <version>${sonarJava.version}</version>
  1442. <scope>test</scope>
  1443. </dependency>
  1444. </dependencies>
  1445. <build>
  1446. <plugins>
  1447. <plugin>
  1448. <groupId>org.apache.maven.plugins</groupId>
  1449. <artifactId>maven-surefire-plugin</artifactId>
  1450. <configuration>
  1451. <properties>
  1452. <property>
  1453. <name>listener</name>
  1454. <value>org.sonar.java.jacoco.JUnitListener</value>
  1455. </property>
  1456. </properties>
  1457. </configuration>
  1458. </plugin>
  1459. </plugins>
  1460. </build>
  1461. </profile>
  1462. <!--
  1463. The following profiles optimize the build for each team, according to their
  1464. stack layers (batch, server and web teams)
  1465. -->
  1466. <profile>
  1467. <!-- disable all tests -->
  1468. <id>skipTests</id>
  1469. <activation>
  1470. <property>
  1471. <name>skipTests</name>
  1472. </property>
  1473. </activation>
  1474. <properties>
  1475. <skipWebTests>true</skipWebTests>
  1476. <skipBatchTests>true</skipBatchTests>
  1477. <skipServerTests>true</skipServerTests>
  1478. </properties>
  1479. </profile>
  1480. <profile>
  1481. <id>batch</id>
  1482. <properties>
  1483. <skipServerTests>true</skipServerTests>
  1484. <skipWebTests>true</skipWebTests>
  1485. </properties>
  1486. </profile>
  1487. <profile>
  1488. <id>server</id>
  1489. <properties>
  1490. <skipBatchTests>true</skipBatchTests>
  1491. <skipWebTests>true</skipWebTests>
  1492. </properties>
  1493. </profile>
  1494. <profile>
  1495. <id>web</id>
  1496. <properties>
  1497. <!-- the web team does not care about java tests -->
  1498. <skipBatchTests>true</skipBatchTests>
  1499. <skipServerTests>true</skipServerTests>
  1500. <skipTests>true</skipTests>
  1501. </properties>
  1502. </profile>
  1503. <profile>
  1504. <!-- SonarSource internal use -->
  1505. <id>dbTests</id>
  1506. <activation>
  1507. <property>
  1508. <name>dbTests</name>
  1509. </property>
  1510. </activation>
  1511. <properties>
  1512. <skipWebTests>true</skipWebTests>
  1513. <junitGroups>org.sonar.test.DbTests</junitGroups>
  1514. </properties>
  1515. <dependencies>
  1516. <dependency>
  1517. <groupId>mysql</groupId>
  1518. <artifactId>mysql-connector-java</artifactId>
  1519. </dependency>
  1520. <dependency>
  1521. <groupId>org.postgresql</groupId>
  1522. <artifactId>postgresql</artifactId>
  1523. </dependency>
  1524. <dependency>
  1525. <groupId>net.sourceforge.jtds</groupId>
  1526. <artifactId>jtds</artifactId>
  1527. </dependency>
  1528. <dependency>
  1529. <!-- this artifact is located in the SonarSource internal repository -->
  1530. <groupId>com.oracle</groupId>
  1531. <artifactId>ojdbc6</artifactId>
  1532. <version>11.2.0.3.0</version>
  1533. <scope>test</scope>
  1534. </dependency>
  1535. </dependencies>
  1536. </profile>
  1537. <profile>
  1538. <!-- add microbenchmarks module to IDE -->
  1539. <id>includeMicrobenchmarkModule</id>
  1540. <modules>
  1541. <module>microbenchmark-template</module>
  1542. </modules>
  1543. </profile>
  1544. <profile>
  1545. <!--
  1546. check if maven dependencies have vulnerabilities listed in CVE
  1547. Standalone command: mvn org.owasp:dependency-check-maven:check
  1548. See http://jeremylong.github.io/DependencyCheck
  1549. -->
  1550. <id>securityCheck</id>
  1551. <build>
  1552. <plugins>
  1553. <plugin>
  1554. <groupId>org.owasp</groupId>
  1555. <artifactId>dependency-check-maven</artifactId>
  1556. <executions>
  1557. <execution>
  1558. <goals>
  1559. <goal>check</goal>
  1560. </goals>
  1561. </execution>
  1562. </executions>
  1563. </plugin>
  1564. </plugins>
  1565. </build>
  1566. </profile>
  1567. <profile>
  1568. <id>analysis</id>
  1569. <properties>
  1570. <jsCoverage>coverage</jsCoverage>
  1571. </properties>
  1572. </profile>
  1573. </profiles>
  1574. </project>