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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>org.codehaus.sonar.archetypes</groupId>
  6. <artifactId>sonar-gwt-plugin</artifactId>
  7. <packaging>sonar-plugin</packaging>
  8. <version>1.0-SNAPSHOT</version>
  9. <name>My Sonar GWT plugin</name>
  10. <description>GWT Sample description</description>
  11. <!-- optional -->
  12. <organization>
  13. <name>My company</name>
  14. <url>http://www.mycompany.com</url>
  15. </organization>
  16. <repositories>
  17. <repository>
  18. <!-- for gwt-incubator -->
  19. <id>sonar</id>
  20. <name>Sonar</name>
  21. <url>http://repository.sonarsource.org/content/repositories/sonar</url>
  22. <releases>
  23. <enabled>true</enabled>
  24. </releases>
  25. <snapshots>
  26. <enabled>false</enabled>
  27. </snapshots>
  28. </repository>
  29. </repositories>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.codehaus.sonar</groupId>
  33. <artifactId>sonar-plugin-api</artifactId>
  34. <version>${sonarTargetVersion}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.codehaus.sonar</groupId>
  38. <artifactId>sonar-gwt-api</artifactId>
  39. <version>${sonarTargetVersion}</version>
  40. <scope>provided</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.google.gwt</groupId>
  44. <artifactId>gwt-user</artifactId>
  45. <version>2.0.3</version>
  46. <scope>provided</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.google.gwt</groupId>
  50. <artifactId>gwt-incubator</artifactId>
  51. <version>20100204-r1747</version>
  52. <scope>provided</scope>
  53. </dependency>
  54. <!-- unit tests -->
  55. <dependency>
  56. <groupId>org.codehaus.sonar</groupId>
  57. <artifactId>sonar-testing-harness</artifactId>
  58. <version>${sonarTargetVersion}</version>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>junit</groupId>
  63. <artifactId>junit</artifactId>
  64. <version>4.7</version>
  65. <scope>test</scope>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <resources>
  70. <resource>
  71. <directory>src/main/java</directory>
  72. </resource>
  73. </resources>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.codehaus.sonar</groupId>
  77. <artifactId>sonar-packaging-maven-plugin</artifactId>
  78. <version>0.1</version>
  79. <extensions>true</extensions>
  80. <configuration>
  81. <pluginKey>gwt-sample</pluginKey>
  82. <pluginName>GWT Sample</pluginName>
  83. <pluginClass>${package}.GwtSamplePlugin</pluginClass>
  84. </configuration>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.codehaus.mojo</groupId>
  88. <artifactId>gwt-maven-plugin</artifactId>
  89. <version>1.2</version>
  90. <executions>
  91. <execution>
  92. <configuration>
  93. <modules>
  94. <module>${package}.resourcetab.SampleResourceTab</module>
  95. <module>${package}.page.SamplePage</module>
  96. </modules>
  97. <webappDirectory>${project.build.directory}/classes</webappDirectory>
  98. <!-- do not break the following property on two lines -->
  99. <extraJvmArgs>-Xmx512m -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory</extraJvmArgs>
  100. </configuration>
  101. <goals>
  102. <goal>compile</goal>
  103. </goals>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-compiler-plugin</artifactId>
  110. <version>2.0.2</version>
  111. <configuration>
  112. <source>1.5</source>
  113. <target>1.5</target>
  114. <encoding>UTF-8</encoding>
  115. </configuration>
  116. </plugin>
  117. </plugins>
  118. </build>
  119. </project>