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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  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-client-compiler</artifactId>
  11. <name>vaadin-client-compiler</name>
  12. <packaging>jar</packaging>
  13. <organization>
  14. <name>Vaadin Ltd</name>
  15. </organization>
  16. <url>https://vaadin.com/</url>
  17. <description>Vaadin client compiler</description>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.vaadin</groupId>
  21. <artifactId>vaadin-shared</artifactId>
  22. <version>${project.version}</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.vaadin</groupId>
  26. <artifactId>vaadin-server</artifactId>
  27. <version>${project.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.vaadin</groupId>
  31. <artifactId>vaadin-client</artifactId>
  32. <version>${project.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.vaadin</groupId>
  36. <artifactId>vaadin-sass-compiler</artifactId>
  37. <version>${vaadin.sass.version}</version>
  38. <!-- remove cssparser override once sass-compiler is updated -->
  39. <exclusions>
  40. <exclusion>
  41. <groupId>net.sourceforge.cssparser</groupId>
  42. <artifactId>cssparser</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <dependency>
  47. <groupId>commons-collections</groupId>
  48. <artifactId>commons-collections</artifactId>
  49. <version>3.1</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>commons-logging</groupId>
  53. <artifactId>commons-logging</artifactId>
  54. <version>1.1.3</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>net.sourceforge.cssparser</groupId>
  58. <artifactId>cssparser</artifactId>
  59. <version>0.9.11</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>ant</groupId>
  63. <artifactId>ant</artifactId>
  64. <version>1.6.5</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>ant</groupId>
  68. <artifactId>ant-launcher</artifactId>
  69. <version>1.6.5</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.ow2.asm</groupId>
  73. <artifactId>asm</artifactId>
  74. <version>5.0.3</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.ow2.asm</groupId>
  78. <artifactId>asm-util</artifactId>
  79. <version>5.0.3</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.ow2.asm</groupId>
  83. <artifactId>asm-commons</artifactId>
  84. <version>5.0.3</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.eclipse.jetty</groupId>
  88. <artifactId>jetty-annotations</artifactId>
  89. <version>8.1.12.v20130726</version>
  90. <exclusions>
  91. <exclusion>
  92. <groupId>org.eclipse.jetty.orbit</groupId>
  93. <artifactId>*</artifactId>
  94. </exclusion>
  95. </exclusions>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.eclipse.jetty</groupId>
  99. <artifactId>jetty-servlets</artifactId>
  100. <version>8.1.12.v20130726</version>
  101. <exclusions>
  102. <exclusion>
  103. <groupId>org.eclipse.jetty.orbit</groupId>
  104. <artifactId>*</artifactId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.eclipse.jetty</groupId>
  110. <artifactId>jetty-util</artifactId>
  111. <version>8.1.12.v20130726</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.jdesktop</groupId>
  115. <artifactId>swing-worker</artifactId>
  116. <version>1.1</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>commons-codec</groupId>
  120. <artifactId>commons-codec</artifactId>
  121. <version>1.8</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>commons-io</groupId>
  125. <artifactId>commons-io</artifactId>
  126. <version>${commons-io.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.commons</groupId>
  130. <artifactId>commons-lang3</artifactId>
  131. <version>3.1</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.james</groupId>
  135. <artifactId>apache-mime4j</artifactId>
  136. <version>0.6</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.apache.httpcomponents</groupId>
  140. <artifactId>httpclient</artifactId>
  141. <version>4.3.1</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.httpcomponents</groupId>
  145. <artifactId>httpcore</artifactId>
  146. <version>4.3</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.httpcomponents</groupId>
  150. <artifactId>httpmime</artifactId>
  151. <version>4.3.1</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>net.sourceforge.nekohtml</groupId>
  155. <artifactId>nekohtml</artifactId>
  156. <version>1.9.19</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>xalan</groupId>
  160. <artifactId>serializer</artifactId>
  161. <version>2.7.1</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>xerces</groupId>
  165. <artifactId>xercesImpl</artifactId>
  166. <version>2.11.0</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>xml-apis</groupId>
  170. <artifactId>xml-apis</artifactId>
  171. <version>1.4.01</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>com.ibm.icu</groupId>
  175. <artifactId>icu4j</artifactId>
  176. <version>50.1.1</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.vaadin</groupId>
  180. <artifactId>vaadin-client-compiler-deps</artifactId>
  181. <version>1.2.0</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>com.vaadin.external.gwt</groupId>
  185. <artifactId>gwt-dev</artifactId>
  186. <version>${vaadin.gwt.version}</version>
  187. <scope>provided</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>junit</groupId>
  191. <artifactId>junit</artifactId>
  192. <version>${junit.version}</version>
  193. <scope>test</scope>
  194. </dependency>
  195. </dependencies>
  196. <build>
  197. <resources>
  198. <resource>
  199. <directory>src/main/resources</directory>
  200. <filtering>true</filtering>
  201. </resource>
  202. </resources>
  203. <plugins>
  204. <plugin>
  205. <groupId>org.apache.maven.plugins</groupId>
  206. <artifactId>maven-dependency-plugin</artifactId>
  207. <executions>
  208. <execution>
  209. <id>unpack-dependencies</id>
  210. <phase>generate-resources</phase>
  211. <goals>
  212. <goal>unpack</goal>
  213. </goals>
  214. <configuration>
  215. <artifactItems>
  216. <artifactItem>
  217. <groupId>com.vaadin.external.gwt</groupId>
  218. <artifactId>gwt-dev</artifactId>
  219. <includes>
  220. about_files/**,
  221. com/google/gwt/core/**,
  222. com/google/gwt/dev/**,
  223. com/google/gwt/lang/**,
  224. com/google/gwt/soyc/**,
  225. com/google/gwt/thirdparty/json/**,
  226. com/google/gwt/util/**,
  227. license/LICENSE.sax.txt,
  228. netscape/**,
  229. org/apache/COPYING,
  230. org/apache/jasper/**,
  231. org/apache/commons/el/**,
  232. org/apache/commons/lang3/**,
  233. templates/*,
  234. about.html,
  235. jetty-dir.css,
  236. plugin.properties
  237. </includes>
  238. <excludes>
  239. com/google/gwt/dev/protobuf/**,
  240. com/google/gwt/dev/About.properties
  241. </excludes>
  242. </artifactItem>
  243. </artifactItems>
  244. </configuration>
  245. </execution>
  246. </executions>
  247. </plugin>
  248. <plugin>
  249. <artifactId>maven-resources-plugin</artifactId>
  250. <executions>
  251. <!-- Copy .java files to package -->
  252. <execution>
  253. <id>copy-sources</id>
  254. <!-- here the phase you need -->
  255. <phase>prepare-package</phase>
  256. <goals>
  257. <goal>copy-resources</goal>
  258. </goals>
  259. <configuration>
  260. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  261. <resources>
  262. <resource>
  263. <directory>src/main/java</directory>
  264. <filtering>false</filtering>
  265. </resource>
  266. </resources>
  267. </configuration>
  268. </execution>
  269. </executions>
  270. </plugin>
  271. <plugin>
  272. <groupId>org.apache.felix</groupId>
  273. <artifactId>maven-bundle-plugin</artifactId>
  274. <extensions>true</extensions>
  275. <configuration>
  276. <instructions>
  277. <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
  278. <Export-Package>com.vaadin.*;version="${project.version}",com.google.gwt.*;version="${project.version}"</Export-Package>
  279. <!--TODO decide gwt packages version number<Export-Package>com.vaadin.*;version="${project.version}",com.google.gwt.*;version="${vaadin.gwt.version}"</Export-Package> -->
  280. <Import-Package></Import-Package> <!--todo find out what should be in Import-Package -->
  281. </instructions>
  282. </configuration>
  283. <executions>
  284. <execution>
  285. <id>bundle-manifest</id>
  286. <phase>prepare-package</phase>
  287. <goals>
  288. <goal>manifest</goal>
  289. </goals>
  290. </execution>
  291. </executions>
  292. </plugin>
  293. <plugin>
  294. <groupId>org.apache.maven.plugins</groupId>
  295. <artifactId>maven-jar-plugin</artifactId>
  296. <configuration>
  297. <archive>
  298. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  299. <index />
  300. <manifest>
  301. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  302. </manifest>
  303. </archive>
  304. </configuration>
  305. </plugin>
  306. <plugin>
  307. <groupId>org.apache.maven.plugins</groupId>
  308. <artifactId>maven-surefire-plugin</artifactId>
  309. </plugin>
  310. </plugins>
  311. </build>
  312. <!--todo .javadoc.jar file -->
  313. </project>