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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577
  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.11</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.5</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.4</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>1.12.1</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>To build this project Maven ${maven.min.version} (or upper) is required. Please install it.
  367. </message>
  368. <version>${maven.min.version}</version>
  369. </requireMavenVersion>
  370. <bannedDependencies>
  371. <!-- See SONAR-2512 -->
  372. <message>commons-beanutils:commons-beanutils should be used instead</message>
  373. <excludes>
  374. <exclude>commons-beanutils:commons-beanutils-core</exclude>
  375. </excludes>
  376. <searchTransitive>true</searchTransitive>
  377. </bannedDependencies>
  378. <bannedDependencies>
  379. <!-- See SONAR-2455 -->
  380. <message>org.codehaus.plexus:plexus-classworlds should be used instead</message>
  381. <excludes>
  382. <exclude>classworlds:classworlds</exclude>
  383. </excludes>
  384. <searchTransitive>true</searchTransitive>
  385. </bannedDependencies>
  386. <requireNoRepositories>
  387. <message>Definition of new repositories is not allowed in order to deploy to central repository.
  388. </message>
  389. </requireNoRepositories>
  390. </rules>
  391. </configuration>
  392. </execution>
  393. </executions>
  394. </plugin>
  395. <plugin>
  396. <groupId>org.apache.maven.plugins</groupId>
  397. <artifactId>maven-jar-plugin</artifactId>
  398. <configuration>
  399. <archive>
  400. <manifestEntries>
  401. <Version>${project.version}</Version>
  402. <!-- ${buildNumber} is the Git revision. It's generated by the buildnumber-maven-plugin -->
  403. <Implementation-Build>${buildNumber}</Implementation-Build>
  404. <Build-Time>${timestamp}</Build-Time>
  405. </manifestEntries>
  406. </archive>
  407. </configuration>
  408. </plugin>
  409. <plugin>
  410. <groupId>org.codehaus.sonar</groupId>
  411. <artifactId>sonar-packaging-maven-plugin</artifactId>
  412. <extensions>true</extensions>
  413. <configuration>
  414. <archive>
  415. <manifestEntries>
  416. <!-- ${buildNumber} is the Git revision. It's generated by the buildnumber-maven-plugin -->
  417. <Implementation-Build>${buildNumber}</Implementation-Build>
  418. <Build-Time>${timestamp}</Build-Time>
  419. </manifestEntries>
  420. </archive>
  421. </configuration>
  422. </plugin>
  423. <plugin>
  424. <groupId>org.apache.maven.plugins</groupId>
  425. <artifactId>maven-jxr-plugin</artifactId>
  426. <configuration>
  427. <aggregate>true</aggregate>
  428. <linkJavadoc>true</linkJavadoc>
  429. <javadocDir>${project.reporting.outputDirectory}/${project.version}/apidocs</javadocDir>
  430. </configuration>
  431. </plugin>
  432. <!-- check copyright/license headers -->
  433. <plugin>
  434. <inherited>false</inherited>
  435. <groupId>com.mycila.maven-license-plugin</groupId>
  436. <artifactId>maven-license-plugin</artifactId>
  437. <configuration>
  438. <header>${project.basedir}/copyright.txt</header>
  439. <failIfMissing>true</failIfMissing>
  440. <strictCheck>true</strictCheck>
  441. <aggregate>true</aggregate>
  442. <includes>
  443. <include>**/sonar-*/src/main/java/**</include>
  444. <include>**/sonar-*/src/main/js/**</include>
  445. <include>**/sonar-*/src/main/coffee/**</include>
  446. <include>**/sonar-*/src/main/less/**</include>
  447. <include>**/sonar-*/src/test/java/**</include>
  448. </includes>
  449. <excludes>
  450. <exclude>tests/**</exclude>
  451. </excludes>
  452. <mapping>
  453. <java>SLASHSTAR_STYLE</java>
  454. <js>SLASHSTAR_STYLE</js>
  455. <coffee>SCRIPT_STYLE</coffee>
  456. <less>SLASHSTAR_STYLE</less>
  457. </mapping>
  458. <skip>${skipSanityChecks}</skip>
  459. </configuration>
  460. <executions>
  461. <execution>
  462. <id>enforce-license-headers</id>
  463. <phase>validate</phase>
  464. <goals>
  465. <goal>check</goal>
  466. </goals>
  467. </execution>
  468. </executions>
  469. </plugin>
  470. <plugin>
  471. <groupId>org.codehaus.mojo</groupId>
  472. <artifactId>animal-sniffer-maven-plugin</artifactId>
  473. <executions>
  474. <execution>
  475. <id>enforce-java-api-compatibility</id>
  476. <phase>verify</phase>
  477. <goals>
  478. <goal>check</goal>
  479. </goals>
  480. </execution>
  481. </executions>
  482. </plugin>
  483. <plugin>
  484. <groupId>org.apache.maven.plugins</groupId>
  485. <artifactId>maven-release-plugin</artifactId>
  486. <configuration>
  487. <autoVersionSubmodules>true</autoVersionSubmodules>
  488. <localCheckout>true</localCheckout>
  489. <pushChanges>false</pushChanges>
  490. <mavenExecutorId>forked-path</mavenExecutorId>
  491. <preparationGoals>clean install</preparationGoals>
  492. <!-- SONAR-4189 -->
  493. <arguments>-Prelease</arguments>
  494. </configuration>
  495. </plugin>
  496. <plugin>
  497. <groupId>org.apache.maven.plugins</groupId>
  498. <artifactId>maven-source-plugin</artifactId>
  499. <executions>
  500. <execution>
  501. <id>attach-sources</id>
  502. <goals>
  503. <goal>jar-no-fork</goal>
  504. </goals>
  505. </execution>
  506. </executions>
  507. </plugin>
  508. <plugin>
  509. <groupId>org.apache.maven.plugins</groupId>
  510. <artifactId>maven-surefire-plugin</artifactId>
  511. <configuration>
  512. <runOrder>random</runOrder>
  513. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  514. <systemPropertyVariables>
  515. <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
  516. </systemPropertyVariables>
  517. <groups>${junitGroups}</groups>
  518. <threadCount>1</threadCount>
  519. </configuration>
  520. </plugin>
  521. <plugin>
  522. <!--
  523. This plugin is used to list the licenses of all the dependencies. The module
  524. sonar-testing-harness must be excluded. See third-party-licenses.sh
  525. -->
  526. <groupId>org.codehaus.mojo</groupId>
  527. <artifactId>license-maven-plugin</artifactId>
  528. <version>1.7</version>
  529. <configuration>
  530. <groupByLicense>true</groupByLicense>
  531. <includedScopes>compile</includedScopes>
  532. </configuration>
  533. </plugin>
  534. </plugins>
  535. </build>
  536. <dependencyManagement>
  537. <dependencies>
  538. <!-- SonarQube modules -->
  539. <dependency>
  540. <groupId>org.codehaus.sonar</groupId>
  541. <artifactId>sonar-channel</artifactId>
  542. <version>4.1</version>
  543. </dependency>
  544. <dependency>
  545. <groupId>org.codehaus.sonar</groupId>
  546. <artifactId>sonar-markdown</artifactId>
  547. <version>${project.version}</version>
  548. </dependency>
  549. <dependency>
  550. <groupId>org.codehaus.sonar</groupId>
  551. <artifactId>sonar-check-api</artifactId>
  552. <version>${project.version}</version>
  553. </dependency>
  554. <dependency>
  555. <groupId>org.codehaus.sonar</groupId>
  556. <artifactId>sonar-colorizer</artifactId>
  557. <version>${project.version}</version>
  558. </dependency>
  559. <dependency>
  560. <groupId>org.codehaus.sonar</groupId>
  561. <artifactId>sonar-core</artifactId>
  562. <version>${project.version}</version>
  563. </dependency>
  564. <dependency>
  565. <groupId>org.codehaus.sonar</groupId>
  566. <artifactId>sonar-batch-protocol</artifactId>
  567. <version>${project.version}</version>
  568. </dependency>
  569. <dependency>
  570. <groupId>org.codehaus.sonar</groupId>
  571. <artifactId>sonar-deprecated</artifactId>
  572. <version>${project.version}</version>
  573. </dependency>
  574. <dependency>
  575. <groupId>org.codehaus.sonar</groupId>
  576. <artifactId>sonar-duplications</artifactId>
  577. <version>${project.version}</version>
  578. </dependency>
  579. <dependency>
  580. <groupId>org.codehaus.sonar</groupId>
  581. <artifactId>sonar-home</artifactId>
  582. <version>${project.version}</version>
  583. </dependency>
  584. <dependency>
  585. <groupId>org.codehaus.sonar</groupId>
  586. <artifactId>sonar-graph</artifactId>
  587. <version>${project.version}</version>
  588. </dependency>
  589. <dependency>
  590. <groupId>org.codehaus.sonar</groupId>
  591. <artifactId>sonar-java-api</artifactId>
  592. <version>${project.version}</version>
  593. </dependency>
  594. <dependency>
  595. <groupId>org.codehaus.sonar</groupId>
  596. <artifactId>sonar-plugin-api</artifactId>
  597. <version>${project.version}</version>
  598. </dependency>
  599. <dependency>
  600. <groupId>org.codehaus.sonar</groupId>
  601. <artifactId>sonar-update-center-common</artifactId>
  602. <version>${sonarUpdateCenter.version}</version>
  603. </dependency>
  604. <dependency>
  605. <groupId>org.codehaus.sonar</groupId>
  606. <artifactId>sonar-server</artifactId>
  607. <version>${project.version}</version>
  608. </dependency>
  609. <dependency>
  610. <groupId>org.codehaus.sonar.plugins</groupId>
  611. <artifactId>sonar-xoo-plugin</artifactId>
  612. <version>${project.version}</version>
  613. <scope>test</scope>
  614. </dependency>
  615. <dependency>
  616. <groupId>org.codehaus.sonar-plugins</groupId>
  617. <artifactId>sonar-scm-git-plugin</artifactId>
  618. <version>${sonarGit.version}</version>
  619. <type>sonar-plugin</type>
  620. </dependency>
  621. <dependency>
  622. <groupId>org.codehaus.sonar-plugins</groupId>
  623. <artifactId>sonar-scm-svn-plugin</artifactId>
  624. <version>${sonarSvn.version}</version>
  625. <type>sonar-plugin</type>
  626. </dependency>
  627. <dependency>
  628. <groupId>org.codehaus.sonar</groupId>
  629. <artifactId>sonar-squid</artifactId>
  630. <version>4.1</version>
  631. </dependency>
  632. <dependency>
  633. <groupId>org.codehaus.sonar</groupId>
  634. <artifactId>sonar-testing-harness</artifactId>
  635. <version>${project.version}</version>
  636. </dependency>
  637. <dependency>
  638. <groupId>org.codehaus.sonar</groupId>
  639. <artifactId>sonar-ws-client</artifactId>
  640. <version>${project.version}</version>
  641. </dependency>
  642. <dependency>
  643. <groupId>org.codehaus.sonar-plugins.java</groupId>
  644. <artifactId>sonar-java-plugin</artifactId>
  645. <version>${sonarJava.version}</version>
  646. <type>sonar-plugin</type>
  647. <exclusions>
  648. <!-- A banned dependency is bring because java-squid is using maven-project:2.07
  649. This exclusion should be removed when the plugin will no more used maven-project -->
  650. <exclusion>
  651. <groupId>classworlds</groupId>
  652. <artifactId>classworlds</artifactId>
  653. </exclusion>
  654. </exclusions>
  655. </dependency>
  656. <dependency>
  657. <groupId>org.codehaus.plexus</groupId>
  658. <artifactId>plexus-classworlds</artifactId>
  659. <version>2.5.1</version>
  660. </dependency>
  661. <dependency>
  662. <groupId>com.tinkerpop.blueprints</groupId>
  663. <artifactId>blueprints-core</artifactId>
  664. <version>2.2.0</version>
  665. </dependency>
  666. <dependency>
  667. <groupId>commons-collections</groupId>
  668. <artifactId>commons-collections</artifactId>
  669. <version>3.2.1</version>
  670. </dependency>
  671. <dependency>
  672. <groupId>org.elasticsearch</groupId>
  673. <artifactId>elasticsearch</artifactId>
  674. <version>${elasticsearch.version}</version>
  675. <exclusions>
  676. <exclusion>
  677. <groupId>org.apache.lucene</groupId>
  678. <artifactId>lucene-spatial</artifactId>
  679. </exclusion>
  680. <exclusion>
  681. <groupId>org.ow2.asm</groupId>
  682. <artifactId>asm</artifactId>
  683. </exclusion>
  684. <exclusion>
  685. <groupId>org.ow2.asm</groupId>
  686. <artifactId>asm-commons</artifactId>
  687. </exclusion>
  688. <exclusion>
  689. <groupId>org.antlr</groupId>
  690. <artifactId>antlr-runtime</artifactId>
  691. </exclusion>
  692. </exclusions>
  693. </dependency>
  694. <dependency>
  695. <groupId>com.github.tlrx</groupId>
  696. <artifactId>elasticsearch-test</artifactId>
  697. <version>1.2.1</version>
  698. </dependency>
  699. <dependency>
  700. <groupId>com.google.guava</groupId>
  701. <artifactId>guava</artifactId>
  702. <version>10.0.1</version>
  703. <exclusions>
  704. <exclusion>
  705. <!-- should be declared with scope provided -->
  706. <groupId>com.google.code.findbugs</groupId>
  707. <artifactId>jsr305</artifactId>
  708. </exclusion>
  709. </exclusions>
  710. </dependency>
  711. <dependency>
  712. <groupId>com.google.code.findbugs</groupId>
  713. <artifactId>jsr305</artifactId>
  714. <version>2.0.3</version>
  715. </dependency>
  716. <dependency>
  717. <groupId>commons-dbutils</groupId>
  718. <artifactId>commons-dbutils</artifactId>
  719. <version>1.5</version>
  720. </dependency>
  721. <dependency>
  722. <groupId>commons-io</groupId>
  723. <artifactId>commons-io</artifactId>
  724. <version>2.4</version>
  725. </dependency>
  726. <dependency>
  727. <groupId>org.apache.commons</groupId>
  728. <artifactId>commons-csv</artifactId>
  729. <version>1.0</version>
  730. </dependency>
  731. <dependency>
  732. <groupId>commons-codec</groupId>
  733. <artifactId>commons-codec</artifactId>
  734. <version>1.8</version>
  735. </dependency>
  736. <dependency>
  737. <groupId>commons-lang</groupId>
  738. <artifactId>commons-lang</artifactId>
  739. <version>2.6</version>
  740. </dependency>
  741. <dependency>
  742. <groupId>commons-dbcp</groupId>
  743. <artifactId>commons-dbcp</artifactId>
  744. <version>1.4</version>
  745. </dependency>
  746. <dependency>
  747. <!-- See SONAR-2512 -->
  748. <groupId>commons-beanutils</groupId>
  749. <artifactId>commons-beanutils</artifactId>
  750. <version>1.8.3</version>
  751. <exclusions>
  752. <exclusion>
  753. <groupId>commons-logging</groupId>
  754. <artifactId>commons-logging</artifactId>
  755. </exclusion>
  756. </exclusions>
  757. </dependency>
  758. <dependency>
  759. <groupId>com.ibm.icu</groupId>
  760. <artifactId>icu4j</artifactId>
  761. <!-- animal-sniffer doesn't work with 2.6.1 -->
  762. <version>3.4.4</version>
  763. </dependency>
  764. <dependency>
  765. <groupId>jfree</groupId>
  766. <artifactId>jfreechart</artifactId>
  767. <version>1.0.9</version>
  768. </dependency>
  769. <dependency>
  770. <groupId>com.googlecode.json-simple</groupId>
  771. <artifactId>json-simple</artifactId>
  772. <version>1.1.1</version>
  773. <exclusions>
  774. <exclusion>
  775. <groupId>junit</groupId>
  776. <artifactId>junit</artifactId>
  777. </exclusion>
  778. </exclusions>
  779. </dependency>
  780. <dependency>
  781. <groupId>org.hibernate</groupId>
  782. <artifactId>hibernate-annotations</artifactId>
  783. <version>3.4.0.GA</version>
  784. </dependency>
  785. <dependency>
  786. <groupId>org.hibernate</groupId>
  787. <artifactId>hibernate-commons-annotations</artifactId>
  788. <version>3.1.0.GA</version>
  789. </dependency>
  790. <dependency>
  791. <groupId>org.hibernate</groupId>
  792. <artifactId>hibernate-core</artifactId>
  793. <version>3.3.2.GA</version>
  794. <exclusions>
  795. <exclusion>
  796. <groupId>javax.transaction</groupId>
  797. <artifactId>jta</artifactId>
  798. </exclusion>
  799. <exclusion>
  800. <groupId>xml-apis</groupId>
  801. <artifactId>xml-apis</artifactId>
  802. </exclusion>
  803. </exclusions>
  804. </dependency>
  805. <dependency>
  806. <groupId>org.hibernate</groupId>
  807. <artifactId>hibernate-entitymanager</artifactId>
  808. <version>3.4.0.GA</version>
  809. <exclusions>
  810. <exclusion>
  811. <groupId>javax.transaction</groupId>
  812. <artifactId>jta</artifactId>
  813. </exclusion>
  814. </exclusions>
  815. </dependency>
  816. <dependency>
  817. <groupId>org.mybatis</groupId>
  818. <artifactId>mybatis</artifactId>
  819. <version>3.2.7</version>
  820. </dependency>
  821. <dependency>
  822. <groupId>org.picocontainer</groupId>
  823. <artifactId>picocontainer</artifactId>
  824. <version>2.14.3</version>
  825. </dependency>
  826. <dependency>
  827. <groupId>org.slf4j</groupId>
  828. <artifactId>slf4j-api</artifactId>
  829. <version>${slf4j.version}</version>
  830. </dependency>
  831. <dependency>
  832. <groupId>org.slf4j</groupId>
  833. <artifactId>jul-to-slf4j</artifactId>
  834. <version>${slf4j.version}</version>
  835. </dependency>
  836. <dependency>
  837. <groupId>org.slf4j</groupId>
  838. <artifactId>jcl-over-slf4j</artifactId>
  839. <version>${slf4j.version}</version>
  840. </dependency>
  841. <dependency>
  842. <groupId>org.slf4j</groupId>
  843. <artifactId>log4j-over-slf4j</artifactId>
  844. <version>${slf4j.version}</version>
  845. </dependency>
  846. <dependency>
  847. <groupId>ch.qos.logback</groupId>
  848. <artifactId>logback-access</artifactId>
  849. <version>${logback.version}</version>
  850. </dependency>
  851. <dependency>
  852. <groupId>ch.qos.logback</groupId>
  853. <artifactId>logback-classic</artifactId>
  854. <version>${logback.version}</version>
  855. </dependency>
  856. <dependency>
  857. <groupId>ch.qos.logback</groupId>
  858. <artifactId>logback-core</artifactId>
  859. <version>${logback.version}</version>
  860. </dependency>
  861. <dependency>
  862. <groupId>com.h2database</groupId>
  863. <artifactId>h2</artifactId>
  864. <version>${h2.version}</version>
  865. </dependency>
  866. <dependency>
  867. <groupId>org.jruby.rack</groupId>
  868. <artifactId>jruby-rack</artifactId>
  869. <version>1.1.13.2</version>
  870. </dependency>
  871. <dependency>
  872. <groupId>mysql</groupId>
  873. <artifactId>mysql-connector-java</artifactId>
  874. <version>5.1.34</version>
  875. </dependency>
  876. <dependency>
  877. <groupId>org.postgresql</groupId>
  878. <artifactId>postgresql</artifactId>
  879. <version>9.3-1102-jdbc41</version>
  880. </dependency>
  881. <dependency>
  882. <groupId>net.sourceforge.jtds</groupId>
  883. <artifactId>jtds</artifactId>
  884. <version>1.3.1</version>
  885. </dependency>
  886. <dependency>
  887. <groupId>org.codehaus.woodstox</groupId>
  888. <artifactId>woodstox-core-lgpl</artifactId>
  889. <version>4.4.0</version>
  890. </dependency>
  891. <dependency>
  892. <groupId>org.codehaus.staxmate</groupId>
  893. <artifactId>staxmate</artifactId>
  894. <version>2.0.1</version>
  895. <exclusions>
  896. <!-- see SONAR-879 -->
  897. <exclusion>
  898. <groupId>org.codehaus.woodstox</groupId>
  899. <artifactId>stax2-api</artifactId>
  900. </exclusion>
  901. <exclusion>
  902. <groupId>stax</groupId>
  903. <artifactId>stax-api</artifactId>
  904. </exclusion>
  905. <exclusion>
  906. <groupId>org.codehaus.woodstox</groupId>
  907. <artifactId>woodstox-core-asl</artifactId>
  908. </exclusion>
  909. </exclusions>
  910. </dependency>
  911. <dependency>
  912. <groupId>org.mockito</groupId>
  913. <artifactId>mockito-core</artifactId>
  914. <version>1.10.17</version>
  915. <exclusions>
  916. <exclusion>
  917. <groupId>org.hamcrest</groupId>
  918. <artifactId>hamcrest-core</artifactId>
  919. </exclusion>
  920. </exclusions>
  921. </dependency>
  922. <dependency>
  923. <groupId>com.google.code.bean-matchers</groupId>
  924. <artifactId>bean-matchers</artifactId>
  925. <version>0.9</version>
  926. <scope>test</scope>
  927. <exclusions>
  928. <exclusion>
  929. <groupId>org.hamcrest</groupId>
  930. <artifactId>hamcrest-core</artifactId>
  931. </exclusion>
  932. </exclusions>
  933. </dependency>
  934. <dependency>
  935. <groupId>org.assertj</groupId>
  936. <artifactId>assertj-core</artifactId>
  937. <version>1.7.0</version>
  938. </dependency>
  939. <dependency>
  940. <groupId>xpp3</groupId>
  941. <artifactId>xpp3</artifactId>
  942. <version>1.1.3.3</version>
  943. </dependency>
  944. <dependency>
  945. <groupId>org.apache.maven</groupId>
  946. <artifactId>maven-core</artifactId>
  947. <version>${maven.api.version}</version>
  948. <exclusions>
  949. <exclusion>
  950. <!-- See SONAR-2455 -->
  951. <groupId>classworlds</groupId>
  952. <artifactId>classworlds</artifactId>
  953. </exclusion>
  954. </exclusions>
  955. </dependency>
  956. <dependency>
  957. <groupId>org.apache.maven</groupId>
  958. <artifactId>maven-plugin-api</artifactId>
  959. <version>${maven.api.version}</version>
  960. </dependency>
  961. <dependency>
  962. <groupId>org.apache.maven</groupId>
  963. <artifactId>maven-compat</artifactId>
  964. <version>${maven.api.version}</version>
  965. </dependency>
  966. <dependency>
  967. <groupId>org.apache.maven</groupId>
  968. <artifactId>maven-artifact</artifactId>
  969. <version>${maven.api.version}</version>
  970. </dependency>
  971. <dependency>
  972. <groupId>org.apache.maven.shared</groupId>
  973. <artifactId>maven-dependency-tree</artifactId>
  974. <version>2.1</version>
  975. <exclusions>
  976. <exclusion>
  977. <!-- See SONAR-2455 -->
  978. <groupId>classworlds</groupId>
  979. <artifactId>classworlds</artifactId>
  980. </exclusion>
  981. </exclusions>
  982. </dependency>
  983. <dependency>
  984. <groupId>org.apache.maven.shared</groupId>
  985. <artifactId>maven-common-artifact-filters</artifactId>
  986. <version>1.4</version>
  987. </dependency>
  988. <dependency>
  989. <groupId>org.jruby</groupId>
  990. <artifactId>jruby-complete</artifactId>
  991. <!-- do not upgrade to 1.7.10, much slower at startup -->
  992. <version>1.7.9</version>
  993. </dependency>
  994. <dependency>
  995. <groupId>geronimo-spec</groupId>
  996. <artifactId>geronimo-spec-jta</artifactId>
  997. <version>1.0-M1</version>
  998. </dependency>
  999. <dependency>
  1000. <groupId>org.codehaus.woodstox</groupId>
  1001. <artifactId>stax2-api</artifactId>
  1002. <version>3.1.4</version>
  1003. <exclusions>
  1004. <exclusion>
  1005. <groupId>stax</groupId>
  1006. <artifactId>stax-api</artifactId>
  1007. </exclusion>
  1008. </exclusions>
  1009. </dependency>
  1010. <dependency>
  1011. <groupId>javax.servlet</groupId>
  1012. <artifactId>javax.servlet-api</artifactId>
  1013. <version>3.0.1</version>
  1014. </dependency>
  1015. <dependency>
  1016. <groupId>org.eclipse.jetty</groupId>
  1017. <artifactId>jetty-server</artifactId>
  1018. <version>${jetty.version}</version>
  1019. </dependency>
  1020. <dependency>
  1021. <groupId>org.skyscreamer</groupId>
  1022. <artifactId>jsonassert</artifactId>
  1023. <version>1.2.3</version>
  1024. </dependency>
  1025. <dependency>
  1026. <groupId>org.hamcrest</groupId>
  1027. <artifactId>hamcrest-all</artifactId>
  1028. <version>1.3</version>
  1029. </dependency>
  1030. <dependency>
  1031. <groupId>junit</groupId>
  1032. <artifactId>junit</artifactId>
  1033. <version>4.12</version>
  1034. </dependency>
  1035. <dependency>
  1036. <groupId>xmlunit</groupId>
  1037. <artifactId>xmlunit</artifactId>
  1038. <version>1.4</version>
  1039. </dependency>
  1040. <dependency>
  1041. <groupId>org.dbunit</groupId>
  1042. <artifactId>dbunit</artifactId>
  1043. <version>2.4.5</version>
  1044. <exclusions>
  1045. <!-- removing commons lang 2.1 and xerces-->
  1046. <exclusion>
  1047. <groupId>commons-lang</groupId>
  1048. <artifactId>commons-lang</artifactId>
  1049. </exclusion>
  1050. <exclusion>
  1051. <groupId>xerces</groupId>
  1052. <artifactId>xmlParserAPIs</artifactId>
  1053. </exclusion>
  1054. <exclusion>
  1055. <groupId>xerces</groupId>
  1056. <artifactId>xercesImpl</artifactId>
  1057. </exclusion>
  1058. </exclusions>
  1059. </dependency>
  1060. <dependency>
  1061. <groupId>org.eclipse.jetty</groupId>
  1062. <artifactId>test-jetty-servlet</artifactId>
  1063. <version>${jetty.version}</version>
  1064. </dependency>
  1065. <dependency>
  1066. <groupId>org.reflections</groupId>
  1067. <artifactId>reflections</artifactId>
  1068. <version>0.9.9</version>
  1069. </dependency>
  1070. <dependency>
  1071. <groupId>com.google.code.gson</groupId>
  1072. <artifactId>gson</artifactId>
  1073. <version>2.3.1</version>
  1074. </dependency>
  1075. <dependency>
  1076. <groupId>org.codehaus.sonar</groupId>
  1077. <artifactId>sonar-persistit</artifactId>
  1078. <version>3.3.1</version>
  1079. <exclusions>
  1080. <exclusion>
  1081. <groupId>commons-logging</groupId>
  1082. <artifactId>commons-logging</artifactId>
  1083. </exclusion>
  1084. </exclusions>
  1085. </dependency>
  1086. <dependency>
  1087. <groupId>com.github.kevinsawicki</groupId>
  1088. <artifactId>http-request</artifactId>
  1089. <version>5.4.1</version>
  1090. </dependency>
  1091. <dependency>
  1092. <groupId>org.codehaus.sonar.runner</groupId>
  1093. <artifactId>sonar-runner-api</artifactId>
  1094. <version>2.4</version>
  1095. </dependency>
  1096. <dependency>
  1097. <groupId>org.freemarker</groupId>
  1098. <artifactId>freemarker</artifactId>
  1099. <version>2.3.20</version>
  1100. </dependency>
  1101. <dependency>
  1102. <groupId>com.google.protobuf</groupId>
  1103. <artifactId>protobuf-java</artifactId>
  1104. <version>2.6.1</version>
  1105. </dependency>
  1106. <dependency>
  1107. <groupId>net.jpountz.lz4</groupId>
  1108. <artifactId>lz4</artifactId>
  1109. <version>1.3.0</version>
  1110. </dependency>
  1111. <!-- tomcat -->
  1112. <dependency>
  1113. <groupId>org.apache.tomcat.embed</groupId>
  1114. <artifactId>tomcat-embed-core</artifactId>
  1115. <version>${tomcat.version}</version>
  1116. </dependency>
  1117. <dependency>
  1118. <groupId>org.apache.tomcat.embed</groupId>
  1119. <artifactId>tomcat-embed-jasper</artifactId>
  1120. <version>${tomcat.version}</version>
  1121. <exclusions>
  1122. <exclusion>
  1123. <groupId>org.eclipse.jdt.core.compiler</groupId>
  1124. <artifactId>ecj</artifactId>
  1125. </exclusion>
  1126. </exclusions>
  1127. </dependency>
  1128. <dependency>
  1129. <groupId>org.apache.tomcat.embed</groupId>
  1130. <artifactId>tomcat-embed-logging-juli</artifactId>
  1131. <version>${tomcat.version}</version>
  1132. </dependency>
  1133. <!-- Using scope=provided to exclude from all transitive dependencies -->
  1134. <dependency>
  1135. <groupId>xml-apis</groupId>
  1136. <artifactId>xml-apis</artifactId>
  1137. <version>1.4.01</version>
  1138. <scope>provided</scope>
  1139. </dependency>
  1140. </dependencies>
  1141. </dependencyManagement>
  1142. <mailingLists>
  1143. <mailingList>
  1144. <name>SonarQube users mailing list</name>
  1145. <subscribe>http://xircles.codehaus.org/projects/sonar/lists</subscribe>
  1146. <unsubscribe>http://xircles.codehaus.org/projects/sonar/lists</unsubscribe>
  1147. <post>user@sonar.codehaus.org</post>
  1148. <archive>http://www.nabble.com/Sonar-f30151.html</archive>
  1149. </mailingList>
  1150. </mailingLists>
  1151. <scm>
  1152. <connection>scm:git:git@github.com:SonarSource/sonarqube.git</connection>
  1153. <developerConnection>scm:git:git@github.com:SonarSource/sonarqube.git</developerConnection>
  1154. <url>https://github.com/SonarSource/sonarqube</url>
  1155. <tag>HEAD</tag>
  1156. </scm>
  1157. <ciManagement>
  1158. <system>bamboo</system>
  1159. <url>http://bamboo.ci.codehaus.org/browse/SONAR-DEF</url>
  1160. </ciManagement>
  1161. <licenses>
  1162. <license>
  1163. <name>GNU LGPL 3</name>
  1164. <url>http://www.gnu.org/licenses/lgpl.txt</url>
  1165. <distribution>repo</distribution>
  1166. </license>
  1167. </licenses>
  1168. <!-- Developers information should not be removed as it's
  1169. required for deployment -->
  1170. <developers>
  1171. <developer>
  1172. <id>racodond</id>
  1173. <name>David Racodon</name>
  1174. <email>david.racodon@sonarsource.com</email>
  1175. <organization>SonarSource</organization>
  1176. <timezone>+1</timezone>
  1177. </developer>
  1178. <developer>
  1179. <id>dbolkensteyn</id>
  1180. <name>Dinesh Bolkensteyn</name>
  1181. <email>dinesh.bolkensteyn@sonarsource.com</email>
  1182. <organization>SonarSource</organization>
  1183. <timezone>+1</timezone>
  1184. </developer>
  1185. <developer>
  1186. <id>godin</id>
  1187. <name>Evgeny Mandrikov</name>
  1188. <email>evgeny.mandrikov@sonarsource.com</email>
  1189. <organization>SonarSource</organization>
  1190. <timezone>+3</timezone>
  1191. </developer>
  1192. <developer>
  1193. <id>bellingard</id>
  1194. <name>Fabrice Bellingard</name>
  1195. <email>fabrice.bellingard@sonarsource.com</email>
  1196. <organization>SonarSource</organization>
  1197. <timezone>+1</timezone>
  1198. </developer>
  1199. <developer>
  1200. <id>freddy.mallet</id>
  1201. <name>Freddy Mallet</name>
  1202. <email>freddy.mallet@sonarsource.com</email>
  1203. <organization>SonarSource</organization>
  1204. <timezone>+1</timezone>
  1205. </developer>
  1206. <developer>
  1207. <id>henryju</id>
  1208. <name>Julien Henry</name>
  1209. <email>julien.henry@sonarsource.com</email>
  1210. <organization>SonarSource</organization>
  1211. <timezone>+1</timezone>
  1212. </developer>
  1213. <developer>
  1214. <id>julienlancelot</id>
  1215. <name>Julien Lancelot</name>
  1216. <email>julien.lancelot@sonarsource.com</email>
  1217. <organization>SonarSource</organization>
  1218. <timezone>+1</timezone>
  1219. </developer>
  1220. <developer>
  1221. <id>olivier.gaudin</id>
  1222. <name>Olivier Gaudin</name>
  1223. <email>olivier.gaudin@sonarsource.com</email>
  1224. <organization>SonarSource</organization>
  1225. <timezone>+1</timezone>
  1226. </developer>
  1227. <developer>
  1228. <id>simonbrandhof</id>
  1229. <name>Simon Brandhof</name>
  1230. <email>simon.brandhof@sonarsource.com</email>
  1231. <organization>SonarSource</organization>
  1232. <timezone>+1</timezone>
  1233. </developer>
  1234. <developer>
  1235. <id>henryju</id>
  1236. <name>Julien Henry</name>
  1237. <email>julien.henry@sonarsource.com</email>
  1238. <organization>SonarSource</organization>
  1239. <timezone>+1</timezone>
  1240. </developer>
  1241. </developers>
  1242. <profiles>
  1243. <profile>
  1244. <id>dev</id>
  1245. <properties>
  1246. <skipSanityChecks>true</skipSanityChecks>
  1247. <enforcer.skip>true</enforcer.skip>
  1248. </properties>
  1249. </profile>
  1250. <profile>
  1251. <id>release</id>
  1252. <build>
  1253. <plugins>
  1254. <plugin>
  1255. <groupId>org.apache.maven.plugins</groupId>
  1256. <artifactId>maven-javadoc-plugin</artifactId>
  1257. <executions>
  1258. <execution>
  1259. <id>attach-javadocs</id>
  1260. <goals>
  1261. <goal>jar</goal>
  1262. </goals>
  1263. </execution>
  1264. </executions>
  1265. </plugin>
  1266. <plugin>
  1267. <groupId>org.apache.maven.plugins</groupId>
  1268. <artifactId>maven-gpg-plugin</artifactId>
  1269. <executions>
  1270. <execution>
  1271. <id>sign-artifacts</id>
  1272. <phase>verify</phase>
  1273. <goals>
  1274. <goal>sign</goal>
  1275. </goals>
  1276. </execution>
  1277. </executions>
  1278. </plugin>
  1279. <plugin>
  1280. <groupId>org.apache.maven.plugins</groupId>
  1281. <artifactId>maven-enforcer-plugin</artifactId>
  1282. <executions>
  1283. <execution>
  1284. <id>enforce-java7</id>
  1285. <goals>
  1286. <goal>enforce</goal>
  1287. </goals>
  1288. <configuration>
  1289. <rules>
  1290. <requireJavaVersion>
  1291. <message>To release this project JDK ${jdk.min.version} is required.
  1292. </message>
  1293. <version>[1.7,)</version>
  1294. </requireJavaVersion>
  1295. </rules>
  1296. </configuration>
  1297. </execution>
  1298. </executions>
  1299. </plugin>
  1300. </plugins>
  1301. </build>
  1302. </profile>
  1303. <profile>
  1304. <id>javadoc</id>
  1305. <build>
  1306. <plugins>
  1307. <plugin>
  1308. <groupId>org.apache.maven.plugins</groupId>
  1309. <artifactId>maven-javadoc-plugin</artifactId>
  1310. <configuration>
  1311. <excludePackageNames>
  1312. 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.*
  1313. </excludePackageNames>
  1314. <author>false</author>
  1315. <linksource>true</linksource>
  1316. <reportOutputDirectory>${project.reporting.outputDirectory}/${project.version}/apidocs
  1317. </reportOutputDirectory>
  1318. </configuration>
  1319. </plugin>
  1320. </plugins>
  1321. </build>
  1322. </profile>
  1323. <profile>
  1324. <id>m2e</id>
  1325. <activation>
  1326. <!-- This profile is active only when used from Eclipse m2e and is used only to store settings. -->
  1327. <property>
  1328. <name>m2e.version</name>
  1329. </property>
  1330. </activation>
  1331. <build>
  1332. <pluginManagement>
  1333. <plugins>
  1334. <plugin>
  1335. <groupId>org.eclipse.m2e</groupId>
  1336. <artifactId>lifecycle-mapping</artifactId>
  1337. <version>1.0.0</version>
  1338. <configuration>
  1339. <lifecycleMappingMetadata>
  1340. <pluginExecutions>
  1341. <pluginExecution>
  1342. <pluginExecutionFilter>
  1343. <groupId>org.codehaus.sonar</groupId>
  1344. <artifactId>sonar-packaging-maven-plugin</artifactId>
  1345. <versionRange>[1.0,)</versionRange>
  1346. <goals>
  1347. <goal>check-dependencies</goal>
  1348. </goals>
  1349. </pluginExecutionFilter>
  1350. <action>
  1351. <ignore />
  1352. </action>
  1353. </pluginExecution>
  1354. <pluginExecution>
  1355. <pluginExecutionFilter>
  1356. <groupId>org.codehaus.sonar</groupId>
  1357. <artifactId>sonar-dev-maven-plugin</artifactId>
  1358. <versionRange>[1.0,)</versionRange>
  1359. <goals>
  1360. <goal>trim</goal>
  1361. </goals>
  1362. </pluginExecutionFilter>
  1363. <action>
  1364. <ignore />
  1365. </action>
  1366. </pluginExecution>
  1367. <pluginExecution>
  1368. <pluginExecutionFilter>
  1369. <groupId>org.apache.maven.plugins</groupId>
  1370. <artifactId>maven-dependency-plugin</artifactId>
  1371. <versionRange>[1.0,)</versionRange>
  1372. <goals>
  1373. <goal>unpack</goal>
  1374. <goal>copy-dependencies</goal>
  1375. </goals>
  1376. </pluginExecutionFilter>
  1377. <action>
  1378. <ignore />
  1379. </action>
  1380. </pluginExecution>
  1381. <pluginExecution>
  1382. <pluginExecutionFilter>
  1383. <groupId>org.codehaus.mojo</groupId>
  1384. <artifactId>native2ascii-maven-plugin</artifactId>
  1385. <versionRange>[1.0-alpha-1,)</versionRange>
  1386. <goals>
  1387. <goal>native2ascii</goal>
  1388. </goals>
  1389. </pluginExecutionFilter>
  1390. <action>
  1391. <ignore />
  1392. </action>
  1393. </pluginExecution>
  1394. </pluginExecutions>
  1395. </lifecycleMappingMetadata>
  1396. </configuration>
  1397. </plugin>
  1398. </plugins>
  1399. </pluginManagement>
  1400. </build>
  1401. </profile>
  1402. <profile>
  1403. <id>coverage-per-test</id>
  1404. <dependencies>
  1405. <dependency>
  1406. <groupId>org.codehaus.sonar-plugins.java</groupId>
  1407. <artifactId>sonar-jacoco-listeners</artifactId>
  1408. <version>${sonarJava.version}</version>
  1409. <scope>test</scope>
  1410. </dependency>
  1411. </dependencies>
  1412. <build>
  1413. <plugins>
  1414. <plugin>
  1415. <groupId>org.apache.maven.plugins</groupId>
  1416. <artifactId>maven-surefire-plugin</artifactId>
  1417. <configuration>
  1418. <properties>
  1419. <property>
  1420. <name>listener</name>
  1421. <value>org.sonar.java.jacoco.JUnitListener</value>
  1422. </property>
  1423. </properties>
  1424. </configuration>
  1425. </plugin>
  1426. </plugins>
  1427. </build>
  1428. </profile>
  1429. <!--
  1430. The following profiles optimize the build for each team, according to their
  1431. stack layers (batch, server and web teams)
  1432. -->
  1433. <profile>
  1434. <!-- disable all tests -->
  1435. <id>skipTests</id>
  1436. <activation>
  1437. <property>
  1438. <name>skipTests</name>
  1439. </property>
  1440. </activation>
  1441. <properties>
  1442. <skipWebTests>true</skipWebTests>
  1443. <skipBatchTests>true</skipBatchTests>
  1444. <skipServerTests>true</skipServerTests>
  1445. </properties>
  1446. </profile>
  1447. <profile>
  1448. <id>batch</id>
  1449. <properties>
  1450. <skipServerTests>true</skipServerTests>
  1451. <skipWebTests>true</skipWebTests>
  1452. </properties>
  1453. </profile>
  1454. <profile>
  1455. <id>server</id>
  1456. <properties>
  1457. <skipBatchTests>true</skipBatchTests>
  1458. <skipWebTests>true</skipWebTests>
  1459. </properties>
  1460. </profile>
  1461. <profile>
  1462. <id>web</id>
  1463. <properties>
  1464. <!-- the web team does not care about java tests -->
  1465. <skipBatchTests>true</skipBatchTests>
  1466. <skipServerTests>true</skipServerTests>
  1467. <skipTests>true</skipTests>
  1468. </properties>
  1469. </profile>
  1470. <profile>
  1471. <!-- SonarSource internal use -->
  1472. <id>dbTests</id>
  1473. <activation>
  1474. <property>
  1475. <name>dbTests</name>
  1476. </property>
  1477. </activation>
  1478. <properties>
  1479. <skipWebTests>true</skipWebTests>
  1480. <junitGroups>org.sonar.test.DbTests</junitGroups>
  1481. </properties>
  1482. <dependencies>
  1483. <dependency>
  1484. <groupId>mysql</groupId>
  1485. <artifactId>mysql-connector-java</artifactId>
  1486. </dependency>
  1487. <dependency>
  1488. <groupId>org.postgresql</groupId>
  1489. <artifactId>postgresql</artifactId>
  1490. </dependency>
  1491. <dependency>
  1492. <groupId>net.sourceforge.jtds</groupId>
  1493. <artifactId>jtds</artifactId>
  1494. </dependency>
  1495. <dependency>
  1496. <!-- this artifact is located in the SonarSource internal repository -->
  1497. <groupId>com.oracle</groupId>
  1498. <artifactId>ojdbc6</artifactId>
  1499. <version>11.2.0.3.0</version>
  1500. <scope>test</scope>
  1501. </dependency>
  1502. </dependencies>
  1503. </profile>
  1504. <profile>
  1505. <!-- add microbenchmarks module to IDE -->
  1506. <id>includeMicrobenchmarkModule</id>
  1507. <modules>
  1508. <module>microbenchmark-template</module>
  1509. </modules>
  1510. </profile>
  1511. <profile>
  1512. <!--
  1513. check if maven dependencies have vulnerabilities listed in CVE
  1514. Standalone command: mvn org.owasp:dependency-check-maven:check
  1515. See http://jeremylong.github.io/DependencyCheck
  1516. -->
  1517. <id>securityCheck</id>
  1518. <build>
  1519. <plugins>
  1520. <plugin>
  1521. <groupId>org.owasp</groupId>
  1522. <artifactId>dependency-check-maven</artifactId>
  1523. <executions>
  1524. <execution>
  1525. <goals>
  1526. <goal>check</goal>
  1527. </goals>
  1528. </execution>
  1529. </executions>
  1530. </plugin>
  1531. </plugins>
  1532. </build>
  1533. </profile>
  1534. <profile>
  1535. <id>analysis</id>
  1536. <properties>
  1537. <jsCoverage>coverage</jsCoverage>
  1538. </properties>
  1539. </profile>
  1540. </profiles>
  1541. </project>