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

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