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

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