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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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>sonar</artifactId>
  7. <version>2.3-SNAPSHOT</version>
  8. <relativePath>../..</relativePath>
  9. </parent>
  10. <groupId>org.codehaus.sonar.plugins</groupId>
  11. <artifactId>sonar-surefire-plugin</artifactId>
  12. <packaging>sonar-plugin</packaging>
  13. <name>Sonar :: Plugins :: Surefire</name>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.codehaus.sonar</groupId>
  17. <artifactId>sonar-plugin-api</artifactId>
  18. <version>${project.version}</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.apache.maven</groupId>
  22. <artifactId>maven-project</artifactId>
  23. <scope>provided</scope>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.apache.maven</groupId>
  27. <artifactId>maven-plugin-api</artifactId>
  28. <scope>provided</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.apache.maven</groupId>
  32. <artifactId>maven-core</artifactId>
  33. <scope>provided</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.codehaus.sonar</groupId>
  37. <artifactId>sonar-testing-harness</artifactId>
  38. <scope>test</scope>
  39. </dependency>
  40. </dependencies>
  41. <build>
  42. <testResources>
  43. <testResource>
  44. <directory>${basedir}/src/main/resources</directory>
  45. </testResource>
  46. <testResource>
  47. <directory>${basedir}/src/test/resources</directory>
  48. </testResource>
  49. </testResources>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.codehaus.sonar</groupId>
  53. <artifactId>sonar-packaging-maven-plugin</artifactId>
  54. <extensions>true</extensions>
  55. <configuration>
  56. <pluginKey>surefire</pluginKey>
  57. <pluginName>Surefire</pluginName>
  58. <pluginClass>org.sonar.plugins.surefire.SurefirePlugin</pluginClass>
  59. <pluginDescription><![CDATA[Get results of unit tests with <a href='http://maven.apache.org/plugins/maven-surefire-plugin/'>Surefire</a>.]]></pluginDescription>
  60. </configuration>
  61. </plugin>
  62. <plugin>
  63. <artifactId>maven-deploy-plugin</artifactId>
  64. <configuration>
  65. <skip>true</skip>
  66. </configuration>
  67. </plugin>
  68. </plugins>
  69. </build>
  70. </project>