您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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.11</version>
  8. <relativePath>../..</relativePath>
  9. </parent>
  10. <groupId>org.codehaus.sonar.plugins</groupId>
  11. <artifactId>sonar-googleanalytics-plugin</artifactId>
  12. <packaging>sonar-plugin</packaging>
  13. <name>Sonar :: Plugins :: Google Analytics</name>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.codehaus.sonar</groupId>
  17. <artifactId>sonar-plugin-api</artifactId>
  18. <scope>provided</scope>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.codehaus.sonar</groupId>
  22. <artifactId>sonar-testing-harness</artifactId>
  23. <scope>test</scope>
  24. </dependency>
  25. </dependencies>
  26. <build>
  27. <testResources>
  28. <testResource>
  29. <directory>${basedir}/src/main/resources</directory>
  30. </testResource>
  31. <testResource>
  32. <directory>${basedir}/src/test/resources</directory>
  33. </testResource>
  34. </testResources>
  35. <plugins>
  36. <plugin>
  37. <groupId>org.codehaus.sonar</groupId>
  38. <artifactId>sonar-packaging-maven-plugin</artifactId>
  39. <extensions>true</extensions>
  40. <configuration>
  41. <pluginName>Google analytics</pluginName>
  42. <pluginClass>org.sonar.plugins.googleanalytics.GoogleAnalyticsPlugin</pluginClass>
  43. <pluginDescription><![CDATA[Add the <a href="http://www.google.com/analytics/">Google Analytics</a> tracking script to the Sonar web application]]></pluginDescription>
  44. </configuration>
  45. </plugin>
  46. </plugins>
  47. </build>
  48. </project>