Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.vaadin</groupId>
  7. <artifactId>vaadin-root</artifactId>
  8. <version>7.7.0-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>vaadin-shared</artifactId>
  11. <name>vaadin-shared</name>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <flute.version>1.3.0.gg2</flute.version>
  15. <streamhtmlparser.version>0.0.10.vaadin1</streamhtmlparser.version>
  16. </properties>
  17. <organization>
  18. <name>Vaadin Ltd</name>
  19. </organization>
  20. <url>https://vaadin.com/</url>
  21. <description>Vaadin shared</description>
  22. <dependencies>
  23. <!-- Actual dependencies -->
  24. <dependency>
  25. <groupId>com.vaadin.external.flute</groupId>
  26. <artifactId>flute</artifactId>
  27. <version>${flute.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.vaadin.external.streamhtmlparser</groupId>
  31. <artifactId>streamhtmlparser-jsilver</artifactId>
  32. <version>${streamhtmlparser.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.vaadin.external.google</groupId>
  36. <artifactId>guava</artifactId>
  37. <version>${guava.version}</version>
  38. </dependency>
  39. <!-- Needed GWT dependencies. Required parts are packaged to jar -->
  40. <dependency>
  41. <groupId>com.vaadin.external.gwt</groupId>
  42. <artifactId>gwt-elemental</artifactId>
  43. <version>${vaadin.gwt.version}</version>
  44. <scope>provided</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.vaadin.external.gwt</groupId>
  48. <artifactId>gwt-user</artifactId>
  49. <version>${vaadin.gwt.version}</version>
  50. <scope>provided</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>junit</groupId>
  54. <artifactId>junit</artifactId>
  55. <version>${junit.version}</version>
  56. <scope>test</scope>
  57. </dependency>
  58. </dependencies>
  59. <build>
  60. <plugins>
  61. <!-- Generated Version.java -->
  62. <plugin>
  63. <groupId>org.codehaus.mojo</groupId>
  64. <artifactId>templating-maven-plugin</artifactId>
  65. <version>1.0.0</version>
  66. <executions>
  67. <execution>
  68. <goals>
  69. <goal>filter-sources</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. <!-- Copy needed GWT dependencies to package -->
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-dependency-plugin</artifactId>
  78. <executions>
  79. <execution>
  80. <id>unpack-dependencies</id>
  81. <phase>prepare-package</phase>
  82. <goals>
  83. <goal>unpack</goal>
  84. </goals>
  85. <configuration>
  86. <artifactItems>
  87. <artifactItem>
  88. <groupId>com.vaadin.external.gwt</groupId>
  89. <artifactId>gwt-elemental</artifactId>
  90. <includes>
  91. elemental/json/**,
  92. elemental/util/Array*,
  93. elemental/util/Can*,
  94. elemental/util/Map*
  95. </includes>
  96. </artifactItem>
  97. <artifactItem>
  98. <groupId>com.vaadin.external.gwt</groupId>
  99. <artifactId>gwt-user</artifactId>
  100. <includes>
  101. com/google/gwt/*/shared/**,
  102. com/google/gwt/*/*/shared/**,
  103. com/google/web/bindery/*/shared/**,
  104. com/google/gwt/user/client/rpc/IsSerializable.*
  105. </includes>
  106. </artifactItem>
  107. </artifactItems>
  108. <outputDirectory>${project.build.directory}/classes</outputDirectory>
  109. <overWriteReleases>false</overWriteReleases>
  110. <overWriteSnapshots>true</overWriteSnapshots>
  111. </configuration>
  112. </execution>
  113. </executions>
  114. </plugin>
  115. <plugin>
  116. <artifactId>maven-resources-plugin</artifactId>
  117. <executions>
  118. <!-- Copy .java files to package -->
  119. <execution>
  120. <id>copy-sources</id>
  121. <!-- here the phase you need -->
  122. <phase>prepare-package</phase>
  123. <goals>
  124. <goal>copy-resources</goal>
  125. </goals>
  126. <configuration>
  127. <outputDirectory>${project.build.directory}/classes</outputDirectory>
  128. <resources>
  129. <resource>
  130. <directory>src/main/java</directory>
  131. <filtering>false</filtering>
  132. </resource>
  133. <resource>
  134. <directory>${project.build.directory}/generated-sources/java-templates</directory>
  135. <filtering>false</filtering>
  136. </resource>
  137. </resources>
  138. </configuration>
  139. </execution>
  140. </executions>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.felix</groupId>
  144. <artifactId>maven-bundle-plugin</artifactId>
  145. <extensions>true</extensions>
  146. <configuration>
  147. <instructions>
  148. <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
  149. <Export-Package>com.vaadin.*;version="${project.version}",com.google.*;version="${project.version}",elemental.*;version="${project.version}"</Export-Package>
  150. <Import-Package>com.google.gwt.thirdparty.streamhtmlparser;version="${streamhtmlparser.version}",
  151. com.google.gwt.thirdparty.streamhtmlparser.impl;version="${streamhtmlparser.version}",
  152. com.google.gwt.thirdparty.streamhtmlparser.util;version="${streamhtmlparser.version}",
  153. org.w3c.flute.parser;version="${flute.version}",
  154. org.w3c.flute.parser.selectors;version="${flute.version}",
  155. org.w3c.flute.util;version="${flute.version}"</Import-Package>
  156. <Require-Bundle>com.google.gwt.thirdparty.guava;bundle-version="${guava.version}"</Require-Bundle>
  157. </instructions>
  158. </configuration>
  159. <executions>
  160. <execution>
  161. <id>bundle-manifest</id>
  162. <phase>prepare-package</phase>
  163. <goals>
  164. <goal>manifest</goal>
  165. </goals>
  166. </execution>
  167. </executions>
  168. </plugin>
  169. <plugin>
  170. <groupId>org.apache.maven.plugins</groupId>
  171. <artifactId>maven-jar-plugin</artifactId>
  172. <configuration>
  173. <archive>
  174. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  175. <index>false</index>
  176. <manifest>
  177. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  178. </manifest>
  179. </archive>
  180. </configuration>
  181. </plugin>
  182. <plugin>
  183. <groupId>org.apache.maven.plugins</groupId>
  184. <artifactId>maven-surefire-plugin</artifactId>
  185. </plugin>
  186. </plugins>
  187. </build>
  188. </project>