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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.googlecode.gwtquery</groupId>
  6. <artifactId>gwtquery-project</artifactId>
  7. <version>1.0.0-SNAPSHOT</version>
  8. </parent>
  9. <description>Generates an artifact compiled with a concrete gwt version specified in the artifactId</description>
  10. <artifactId>2.1.0</artifactId>
  11. <packaging>jar</packaging>
  12. <name>Gwt Query Core API for gwt-${artifactId}</name>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.googlecode.gwtquery</groupId>
  16. <artifactId>gwtquery</artifactId>
  17. <version>${version}</version>
  18. <scope>provided</scope>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.google.gwt</groupId>
  22. <artifactId>gwt-user</artifactId>
  23. <version>${artifactId}</version>
  24. <scope>provided</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.google.gwt</groupId>
  28. <artifactId>gwt-dev</artifactId>
  29. <version>${artifactId}</version>
  30. <scope>provided</scope>
  31. </dependency>
  32. </dependencies>
  33. <build>
  34. <finalName>gwtquery-${version}-${artifactId}</finalName>
  35. <plugins>
  36. <plugin>
  37. <artifactId>maven-deploy-plugin</artifactId>
  38. <configuration>
  39. <skip>true</skip>
  40. </configuration>
  41. </plugin>
  42. <plugin>
  43. <artifactId>maven-gpg-plugin</artifactId>
  44. <executions>
  45. <execution>
  46. <id>deploy-jar</id>
  47. <phase>deploy</phase>
  48. <goals>
  49. <goal>sign-and-deploy-file</goal>
  50. </goals>
  51. <configuration>
  52. <file>${project.build.directory}/gwtquery-${version}-${artifactId}.jar</file>
  53. <repositoryId>${repoId}</repositoryId>
  54. <url>${repoUrl}</url>
  55. <packaging>jar</packaging>
  56. <artifactId>gwtquery</artifactId>
  57. <groupId>${groupId}</groupId>
  58. <version>${version}</version>
  59. <classifier>${artifactId}</classifier>
  60. <pomFile>./target/generated-resources/META-INF/maven/com.googlecode.gwtquery/gwtquery/pom.xml</pomFile>
  61. </configuration>
  62. </execution>
  63. <execution>
  64. <id>deploy-src</id>
  65. <phase>deploy</phase>
  66. <goals>
  67. <goal>sign-and-deploy-file</goal>
  68. </goals>
  69. <configuration>
  70. <file>${project.build.directory}/gwtquery-${version}-${artifactId}-sources.jar</file>
  71. <repositoryId>${repoId}</repositoryId>
  72. <url>${repoUrl}</url>
  73. <packaging>jar</packaging>
  74. <artifactId>gwtquery</artifactId>
  75. <groupId>${groupId}</groupId>
  76. <version>${version}</version>
  77. <classifier>${artifactId}-sources</classifier>
  78. <pomFile>./target/generated-resources/META-INF/maven/com.googlecode.gwtquery/gwtquery/pom.xml</pomFile>
  79. </configuration>
  80. </execution>
  81. <execution>
  82. <id>deploy-doc</id>
  83. <phase>deploy</phase>
  84. <goals>
  85. <goal>sign-and-deploy-file</goal>
  86. </goals>
  87. <configuration>
  88. <file>${project.build.directory}/gwtquery-${version}-${artifactId}-javadoc.jar</file>
  89. <repositoryId>${repoId}</repositoryId>
  90. <url>${repoUrl}</url>
  91. <packaging>jar</packaging>
  92. <artifactId>gwtquery</artifactId>
  93. <groupId>${groupId}</groupId>
  94. <version>${version}</version>
  95. <classifier>${artifactId}-javadoc</classifier>
  96. <pomFile>./target/generated-resources/META-INF/maven/com.googlecode.gwtquery/gwtquery/pom.xml</pomFile>
  97. </configuration>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. <plugin>
  102. <artifactId>maven-dependency-plugin</artifactId>
  103. <executions>
  104. <execution>
  105. <goals><goal>unpack-dependencies</goal></goals>
  106. <phase>generate-resources</phase>
  107. <configuration>
  108. <includeGroupIds>com.googlecode.gwtquery,com.googlecode.gwtquery.plugins</includeGroupIds>
  109. <includeArtifactIds>gwtquery</includeArtifactIds>
  110. <excludeTransitive>true</excludeTransitive>
  111. <includes>**/*.java,**/*.xml,**/*.html,**/*.css,**/*.jpg,**/*.png,**/*.gif</includes>
  112. <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
  113. </configuration>
  114. </execution>
  115. </executions>
  116. </plugin>
  117. <plugin>
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-javadoc-plugin</artifactId>
  120. <executions>
  121. <execution>
  122. <id>javadoc</id>
  123. <phase>prepare-package</phase>
  124. <goals>
  125. <goal>jar</goal>
  126. </goals>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-source-plugin</artifactId>
  133. <executions>
  134. <execution>
  135. <id>source</id>
  136. <phase>prepare-package</phase>
  137. <goals>
  138. <goal>jar</goal>
  139. </goals>
  140. </execution>
  141. </executions>
  142. </plugin>
  143. <plugin>
  144. <groupId>org.codehaus.mojo</groupId>
  145. <artifactId>build-helper-maven-plugin</artifactId>
  146. <executions>
  147. <execution>
  148. <id>add-sources</id>
  149. <phase>generate-sources</phase>
  150. <goals>
  151. <goal>add-source</goal>
  152. </goals>
  153. <configuration>
  154. <sources>
  155. <source>${project.build.directory}/generated-resources</source>
  156. </sources>
  157. </configuration>
  158. </execution>
  159. </executions>
  160. </plugin>
  161. </plugins>
  162. <resources>
  163. <resource>
  164. <directory>${project.build.directory}/generated-resources/</directory>
  165. </resource>
  166. </resources>
  167. </build>
  168. </project>