Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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