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

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