Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.sonarsource.parent</groupId>
  7. <artifactId>parent</artifactId>
  8. <version>71.0.0.1292</version>
  9. <relativePath />
  10. </parent>
  11. <groupId>com.sonarsource.it</groupId>
  12. <artifactId>it-sonar-scanner</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <name>SonarSource :: IT :: SonarScanner CLI</name>
  15. <inceptionYear>2009</inceptionYear>
  16. <organization>
  17. <name>SonarSource</name>
  18. <url>http://www.sonarsource.com</url>
  19. </organization>
  20. <properties>
  21. <sonar.buildVersion>7.9.1</sonar.buildVersion>
  22. <!-- following properties must be set in command-line : sonar.runtimeVersion and sonarRunner.version -->
  23. <maven.compiler.release>17</maven.compiler.release>
  24. <orchestrator.version>4.1.0.495</orchestrator.version>
  25. </properties>
  26. <dependencies>
  27. <dependency>
  28. <groupId>com.google.code.findbugs</groupId>
  29. <artifactId>jsr305</artifactId>
  30. <version>2.0.3</version>
  31. <scope>provided</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.sonarsource.orchestrator</groupId>
  35. <artifactId>sonar-orchestrator</artifactId>
  36. <version>${orchestrator.version}</version>
  37. <scope>test</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.sonarsource.orchestrator</groupId>
  41. <artifactId>sonar-orchestrator-junit4</artifactId>
  42. <version>${orchestrator.version}</version>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>junit</groupId>
  47. <artifactId>junit</artifactId>
  48. <version>4.13.1</version>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.sonarsource.sonarqube</groupId>
  53. <artifactId>sonar-ws</artifactId>
  54. <version>${sonar.buildVersion}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.assertj</groupId>
  58. <artifactId>assertj-core</artifactId>
  59. <version>3.24.2</version>
  60. </dependency>
  61. </dependencies>
  62. <build>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.apache.maven.plugins</groupId>
  66. <artifactId>maven-surefire-plugin</artifactId>
  67. <configuration>
  68. <!-- Some tests are asserting on localized messages or dates -->
  69. <systemPropertyVariables>
  70. <user.language>en</user.language>
  71. <user.country>US</user.country>
  72. </systemPropertyVariables>
  73. <environmentVariables>
  74. <LANGUAGE>en_US</LANGUAGE>
  75. </environmentVariables>
  76. <systemProperties>
  77. <scanner.version>${env.PROJECT_VERSION}</scanner.version>
  78. </systemProperties>
  79. <includes>
  80. <include>**/SonarScannerTestSuite.java</include>
  81. </includes>
  82. </configuration>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. <profiles>
  87. <profile>
  88. <id>download-qa-artifacts</id>
  89. <activation>
  90. <property>
  91. <name>env.PROJECT_VERSION</name>
  92. </property>
  93. </activation>
  94. <build>
  95. <plugins>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-dependency-plugin</artifactId>
  99. <version>3.0.2</version>
  100. <executions>
  101. <execution>
  102. <id>download-qa-scanner</id>
  103. <phase>initialize</phase>
  104. <goals>
  105. <goal>get</goal>
  106. </goals>
  107. <configuration>
  108. <artifact>org.sonarsource.scanner.cli:sonar-scanner-cli:${env.PROJECT_VERSION}:zip</artifact>
  109. </configuration>
  110. </execution>
  111. <execution>
  112. <id>get-linux-scanner</id>
  113. <phase>initialize</phase>
  114. <goals>
  115. <goal>get</goal>
  116. </goals>
  117. <configuration>
  118. <artifact>org.sonarsource.scanner.cli:sonar-scanner-cli:${env.PROJECT_VERSION}:zip:linux</artifact>
  119. </configuration>
  120. </execution>
  121. <execution>
  122. <id>get-windows-scanner</id>
  123. <phase>initialize</phase>
  124. <goals>
  125. <goal>get</goal>
  126. </goals>
  127. <configuration>
  128. <artifact>org.sonarsource.scanner.cli:sonar-scanner-cli:${env.PROJECT_VERSION}:zip:windows</artifact>
  129. </configuration>
  130. </execution>
  131. <execution>
  132. <id>get-macosx-scanner</id>
  133. <phase>initialize</phase>
  134. <goals>
  135. <goal>get</goal>
  136. </goals>
  137. <configuration>
  138. <artifact>org.sonarsource.scanner.cli:sonar-scanner-cli:${env.PROJECT_VERSION}:zip:macosx</artifact>
  139. </configuration>
  140. </execution>
  141. </executions>
  142. </plugin>
  143. </plugins>
  144. </build>
  145. </profile>
  146. </profiles>
  147. </project>