Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

pom.xml 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project>
  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.2.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. <executions>
  39. <execution>
  40. <phase>deploy</phase>
  41. <goals>
  42. <goal>deploy-file</goal>
  43. </goals>
  44. <configuration>
  45. <file>${project.build.directory}/gwtquery-${version}-${artifactId}.jar</file>
  46. <repositoryId>${repoId}</repositoryId>
  47. <url>${repoUrl}</url>
  48. <packaging>jar</packaging>
  49. <artifactId>gwtquery</artifactId>
  50. <groupId>${groupId}</groupId>
  51. <version>${version}</version>
  52. <classifier>${artifactId}</classifier>
  53. <generatePom>true</generatePom>
  54. <uniqueVersion>${repoUniqueVers}</uniqueVersion>
  55. </configuration>
  56. </execution>
  57. </executions>
  58. <configuration>
  59. <skip>true </skip>
  60. </configuration>
  61. </plugin>
  62. <plugin>
  63. <artifactId>maven-dependency-plugin</artifactId>
  64. <executions>
  65. <execution>
  66. <goals><goal>unpack-dependencies</goal></goals>
  67. <phase>generate-resources</phase>
  68. <configuration>
  69. <includeGroupIds>com.googlecode.gwtquery,com.googlecode.gwtquery.plugins</includeGroupIds>
  70. <includeArtifactIds>gwtquery</includeArtifactIds>
  71. <excludeTransitive>true</excludeTransitive>
  72. <includes>**/*.java,**/*.xml,**/*.html,**/*.css,**/*.jpg,**/*.png,**/*.gif</includes>
  73. <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
  74. </configuration>
  75. </execution>
  76. </executions>
  77. </plugin>
  78. <plugin>
  79. <groupId>org.codehaus.mojo</groupId>
  80. <artifactId>build-helper-maven-plugin</artifactId>
  81. <executions>
  82. <execution>
  83. <id>add-sources</id>
  84. <phase>generate-sources</phase>
  85. <goals>
  86. <goal>add-source</goal>
  87. </goals>
  88. <configuration>
  89. <sources>
  90. <source>${project.build.directory}/generated-resources</source>
  91. </sources>
  92. </configuration>
  93. </execution>
  94. </executions>
  95. </plugin>
  96. </plugins>
  97. <resources>
  98. <resource>
  99. <directory>${project.build.directory}/generated-resources/</directory>
  100. </resource>
  101. </resources>
  102. </build>
  103. </project>