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

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