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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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.7-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>sonar-gwt-api</artifactId>
  10. <packaging>jar</packaging>
  11. <name>Sonar :: GWT API</name>
  12. <dependencies>
  13. <!-- used only for GWT compilation -->
  14. <dependency>
  15. <groupId>org.codehaus.sonar</groupId>
  16. <artifactId>sonar-ws-client</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.codehaus.sonar</groupId>
  20. <artifactId>sonar-ws-client</artifactId>
  21. <classifier>sources</classifier>
  22. <scope>provided</scope>
  23. <version>${project.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.google.gwt</groupId>
  27. <artifactId>gwt-user</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.google.gwt</groupId>
  31. <artifactId>gwt-incubator</artifactId>
  32. </dependency>
  33. </dependencies>
  34. <build>
  35. <resources>
  36. <!-- GWT sources -->
  37. <resource>
  38. <directory>src/main/java</directory>
  39. </resource>
  40. <resource>
  41. <directory>src/main/resources</directory>
  42. </resource>
  43. </resources>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-dependency-plugin</artifactId>
  48. <executions>
  49. <execution>
  50. <id>src-dependencies</id>
  51. <phase>generate-sources</phase>
  52. <goals>
  53. <goal>unpack</goal>
  54. </goals>
  55. <configuration>
  56. <artifactItems>
  57. <artifactItem>
  58. <groupId>org.codehaus.sonar</groupId>
  59. <artifactId>sonar-ws-client</artifactId>
  60. <version>${project.version}</version>
  61. <classifier>sources</classifier>
  62. <type>jar</type>
  63. <overWrite>true</overWrite>
  64. <outputDirectory>${project.build.directory}/classes</outputDirectory>
  65. <includes>**/services/*.java,**/unmarshallers/*.java</includes>
  66. </artifactItem>
  67. </artifactItems>
  68. <overWriteReleases>true</overWriteReleases>
  69. <overWriteSnapshots>true</overWriteSnapshots>
  70. </configuration>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. <plugin>
  75. <artifactId>maven-deploy-plugin</artifactId>
  76. <configuration>
  77. <skip>false</skip>
  78. </configuration>
  79. </plugin>
  80. </plugins>
  81. </build>
  82. </project>