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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.codehaus.sonar</groupId>
  6. <artifactId>server</artifactId>
  7. <version>5.2-SNAPSHOT</version>
  8. <relativePath>..</relativePath>
  9. </parent>
  10. <artifactId>sonar-server-benchmarks</artifactId>
  11. <name>SonarQube :: Server :: Benchmarks</name>
  12. <properties>
  13. <skipBenchmarks>true</skipBenchmarks>
  14. <enableBenchmarkAssertions>false</enableBenchmarkAssertions>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.codehaus.sonar</groupId>
  19. <artifactId>sonar-db</artifactId>
  20. <type>test-jar</type>
  21. <version>${project.version}</version>
  22. <scope>test</scope>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.codehaus.sonar</groupId>
  26. <artifactId>sonar-server</artifactId>
  27. <version>${project.version}</version>
  28. <scope>test</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.codehaus.sonar</groupId>
  32. <artifactId>sonar-server</artifactId>
  33. <type>test-jar</type>
  34. <version>${project.version}</version>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.codehaus.sonar</groupId>
  39. <artifactId>sonar-search</artifactId>
  40. <version>${project.version}</version>
  41. <scope>test</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.google.guava</groupId>
  45. <artifactId>guava</artifactId>
  46. <scope>test</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.codehaus.sonar</groupId>
  50. <artifactId>sonar-testing-harness</artifactId>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.dbunit</groupId>
  55. <artifactId>dbunit</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. </dependencies>
  59. <build>
  60. <plugins>
  61. <plugin>
  62. <groupId>org.apache.maven.plugins</groupId>
  63. <artifactId>maven-surefire-plugin</artifactId>
  64. <configuration>
  65. <redirectTestOutputToFile>false</redirectTestOutputToFile>
  66. <skipTests>${skipBenchmarks}</skipTests>
  67. <argLine>
  68. -Xmx1G -Xms256m -server -Djava.awt.headless=true
  69. -DenableBenchmarkAssertions=${enableBenchmarkAssertions}
  70. -Xss256k -Djava.net.preferIPv4Stack=true
  71. -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75
  72. -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError
  73. </argLine>
  74. <reuseForks>false</reuseForks>
  75. </configuration>
  76. </plugin>
  77. </plugins>
  78. </build>
  79. <!--
  80. mvn install -DrunBenchmarks=true -DenableBenchmarkAssertions=true
  81. -->
  82. <profiles>
  83. <profile>
  84. <id>runBenchmarks</id>
  85. <activation>
  86. <property>
  87. <name>runBenchmarks</name>
  88. </property>
  89. </activation>
  90. <properties>
  91. <enableBenchmarkAssertions>true</enableBenchmarkAssertions>
  92. <skipBenchmarks>false</skipBenchmarks>
  93. </properties>
  94. </profile>
  95. </profiles>
  96. </project>