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

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