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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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.sonarqube</groupId>
  7. <artifactId>tests</artifactId>
  8. <version>6.4-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>perf</artifactId>
  11. <name>SonarQube :: Performance Tests</name>
  12. <properties>
  13. <category>*</category>
  14. <sqZipDir>../../sonar-application/target</sqZipDir>
  15. </properties>
  16. <build>
  17. <plugins>
  18. <plugin>
  19. <groupId>org.apache.maven.plugins</groupId>
  20. <artifactId>maven-surefire-plugin</artifactId>
  21. <configuration>
  22. <argLine>-Dsonar.runtimeVersion=${project.version}</argLine>
  23. <includes>
  24. <include>org/sonarsource/sonarqube/perf/${category}/suite/*TestSuite.java</include>
  25. <!-- not included in suites -->
  26. <include>org/sonarsource/sonarqube/perf/${category}/*Test.java</include>
  27. </includes>
  28. <excludes>
  29. <!-- included into suites -->
  30. <exclude>org/sonarsource/sonarqube/perf/*/suite/*Test.java</exclude>
  31. </excludes>
  32. </configuration>
  33. </plugin>
  34. </plugins>
  35. </build>
  36. <dependencies>
  37. <dependency>
  38. <groupId>${project.groupId}</groupId>
  39. <artifactId>sonar-application</artifactId>
  40. <version>${project.version}</version>
  41. <type>zip</type>
  42. <scope>provided</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.sonarsource.orchestrator</groupId>
  46. <artifactId>sonar-orchestrator</artifactId>
  47. <version>${orchestrator.version}</version>
  48. </dependency>
  49. <dependency>
  50. <!-- required for downloading the scanner used
  51. by some performance tests -->
  52. <groupId>org.codehaus.sonar.runner</groupId>
  53. <artifactId>sonar-runner-dist</artifactId>
  54. <version>2.4</version>
  55. <type>zip</type>
  56. <scope>provided</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.codehaus.sonar</groupId>
  60. <artifactId>sonar-update-center-common</artifactId>
  61. <version>1.12.1</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>${project.groupId}</groupId>
  65. <artifactId>sonar-ws</artifactId>
  66. <version>${project.version}</version>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>commons-lang</groupId>
  71. <artifactId>commons-lang</artifactId>
  72. <version>2.6</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>junit</groupId>
  76. <artifactId>junit</artifactId>
  77. <version>4.11</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.github.kevinsawicki</groupId>
  81. <artifactId>http-request</artifactId>
  82. <version>5.2</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.easytesting</groupId>
  86. <artifactId>fest-assert</artifactId>
  87. <version>1.4</version>
  88. <scope>test</scope>
  89. </dependency>
  90. </dependencies>
  91. <profiles>
  92. <profile>
  93. <id>qa</id>
  94. <activation>
  95. <property>
  96. <name>env.SONARSOURCE_QA</name>
  97. <value>true</value>
  98. </property>
  99. </activation>
  100. <build>
  101. <plugins>
  102. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-dependency-plugin</artifactId>
  105. <executions>
  106. <execution>
  107. <id>copy-xoo-plugin</id>
  108. <phase>generate-test-resources</phase>
  109. <goals>
  110. <goal>copy</goal>
  111. </goals>
  112. <configuration>
  113. <artifactItems>
  114. <artifactItem>
  115. <groupId>${project.groupId}</groupId>
  116. <artifactId>sonar-xoo-plugin</artifactId>
  117. <version>${project.version}</version>
  118. <type>sonar-plugin</type>
  119. <overWrite>true</overWrite>
  120. </artifactItem>
  121. </artifactItems>
  122. <outputDirectory>../../plugins/sonar-xoo-plugin/target</outputDirectory>
  123. <overWriteReleases>true</overWriteReleases>
  124. <overWriteSnapshots>true</overWriteSnapshots>
  125. </configuration>
  126. </execution>
  127. </executions>
  128. </plugin>
  129. </plugins>
  130. </build>
  131. </profile>
  132. </profiles>
  133. </project>