Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

pom.xml 3.9KB

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