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.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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>3.5-SNAPSHOT</version>
  8. <relativePath>../..</relativePath>
  9. </parent>
  10. <groupId>org.codehaus.sonar.plugins</groupId>
  11. <artifactId>sonar-email-notifications-plugin</artifactId>
  12. <packaging>sonar-plugin</packaging>
  13. <name>Sonar :: Plugins :: Email Notifications</name>
  14. <description>Email Notifications</description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.codehaus.sonar</groupId>
  18. <artifactId>sonar-plugin-api</artifactId>
  19. <scope>provided</scope>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.codehaus.sonar</groupId>
  23. <artifactId>sonar-core</artifactId>
  24. <scope>provided</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.apache.commons</groupId>
  28. <artifactId>commons-email</artifactId>
  29. <version>1.2</version>
  30. </dependency>
  31. <!-- unit tests -->
  32. <dependency>
  33. <groupId>org.codehaus.sonar</groupId>
  34. <artifactId>sonar-testing-harness</artifactId>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.subethamail</groupId>
  39. <artifactId>subethasmtp</artifactId>
  40. <version>3.1.6</version>
  41. <scope>test</scope>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <plugins>
  46. <plugin>
  47. <groupId>org.codehaus.sonar</groupId>
  48. <artifactId>sonar-packaging-maven-plugin</artifactId>
  49. <configuration>
  50. <pluginName>Email notifications</pluginName>
  51. <pluginClass>org.sonar.plugins.emailnotifications.EmailNotificationsPlugin</pluginClass>
  52. <useChildFirstClassLoader>true</useChildFirstClassLoader>
  53. </configuration>
  54. </plugin>
  55. <plugin>
  56. <groupId>org.apache.maven.plugins</groupId>
  57. <artifactId>maven-enforcer-plugin</artifactId>
  58. <executions>
  59. <execution>
  60. <id>enforce-plugin-size</id>
  61. <goals>
  62. <goal>enforce</goal>
  63. </goals>
  64. <phase>verify</phase>
  65. <configuration>
  66. <rules>
  67. <requireFilesSize>
  68. <maxsize>530000</maxsize>
  69. <minsize>510000</minsize>
  70. <files>
  71. <file>${project.build.directory}/${project.build.finalName}.jar</file>
  72. </files>
  73. </requireFilesSize>
  74. </rules>
  75. </configuration>
  76. </execution>
  77. </executions>
  78. </plugin>
  79. </plugins>
  80. </build>
  81. </project>