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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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. <groupId>com.vaadin</groupId>
  11. <artifactId>vaadin-client-compiled</artifactId>
  12. <name>vaadin-client-compiled</name>
  13. <packaging>jar</packaging>
  14. <properties>
  15. <widgetset.name>com.vaadin.DefaultWidgetSet</widgetset.name>
  16. <widgetset.style>OBF</widgetset.style>
  17. <widgetset.local.workers>6</widgetset.local.workers>
  18. </properties>
  19. <organization>
  20. <name>Vaadin Ltd</name>
  21. </organization>
  22. <url>https://vaadin.com/</url>
  23. <description>Vaadin client compiled</description>
  24. <dependencies>
  25. <dependency>
  26. <groupId>${project.groupId}</groupId>
  27. <artifactId>vaadin-server</artifactId>
  28. <version>${project.version}</version>
  29. <scope>provided</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>${project.groupId}</groupId>
  33. <artifactId>vaadin-client</artifactId>
  34. <version>${project.version}</version>
  35. <scope>provided</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>${project.groupId}</groupId>
  39. <artifactId>vaadin-client-compiler</artifactId>
  40. <version>${project.version}</version>
  41. <scope>provided</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>${project.groupId}</groupId>
  45. <artifactId>vaadin-buildhelpers</artifactId>
  46. <version>${project.version}</version>
  47. <scope>provided</scope>
  48. </dependency>
  49. </dependencies>
  50. <build>
  51. <plugins>
  52. <plugin>
  53. <groupId>org.codehaus.mojo</groupId>
  54. <artifactId>exec-maven-plugin</artifactId>
  55. <executions>
  56. <execution>
  57. <phase>generate-resources</phase>
  58. <goals>
  59. <goal>exec</goal>
  60. </goals>
  61. <configuration>
  62. <classpathScope>compile</classpathScope>
  63. <executable>${java.home}/bin/java</executable>
  64. <arguments>
  65. <!-- TODO: Do we need these? -->
  66. <!-- <jvmarg value="-Xss8M" /> -->
  67. <!-- <jvmarg value="-XX:MaxPermSize=256M" /> -->
  68. <jvmarg value="-Djava.awt.headless=true" />
  69. <argument>-Dgwt.persistentunitcachedir=${project.build.directory}/compile</argument>
  70. <argument>-DvFailIfNotSerializable=true</argument>
  71. <argument>-classpath</argument>
  72. <classpath />
  73. <argument>com.google.gwt.dev.Compiler</argument>
  74. <argument>-workDir</argument>
  75. <argument>${project.build.directory}/compile</argument>
  76. <argument>-logLevel</argument>
  77. <argument>TRACE</argument>
  78. <argument>-war</argument>
  79. <!-- This will write the result directly to target/classes for packaging -->
  80. <argument>${project.build.outputDirectory}/VAADIN/widgetsets/</argument>
  81. <argument>-style</argument>
  82. <argument>${widgetset.style}</argument>
  83. <argument>-localWorkers</argument>
  84. <argument>${widgetset.local.workers}</argument>
  85. <argument>-strict</argument>
  86. <!-- Move unnecessary stuff to compile folder -->
  87. <argument>-deploy</argument>
  88. <argument>${project.build.directory}/compile</argument>
  89. <argument>-extra</argument>
  90. <argument>${project.build.directory}/compile</argument>
  91. <argument>${widgetset.name}</argument>
  92. </arguments>
  93. </configuration>
  94. </execution>
  95. <execution>
  96. <id>generate-export-package</id>
  97. <phase>package</phase>
  98. <goals>
  99. <goal>exec</goal>
  100. </goals>
  101. <configuration>
  102. <classpathScope>compile</classpathScope>
  103. <executable>${java.home}/bin/java</executable>
  104. <arguments>
  105. <argument>-Dvaadin.version=${project.version}</argument>
  106. <argument>-DincludeNumberPackages=1</argument>
  107. <argument>-classpath</argument>
  108. <classpath />
  109. <argument>com.vaadin.buildhelpers.GeneratePackageExports</argument>
  110. <argument>${project.build.directory}/${project.build.finalName}.${project.packaging}</argument>
  111. <argument>VAADIN/widgetsets</argument>
  112. </arguments>
  113. </configuration>
  114. </execution>
  115. </executions>
  116. </plugin>
  117. <plugin>
  118. <groupId>org.apache.felix</groupId>
  119. <artifactId>maven-bundle-plugin</artifactId>
  120. <extensions>true</extensions>
  121. <configuration>
  122. <instructions>
  123. <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
  124. <!-- Export package is handled in exec plugin -->
  125. <Export-Package></Export-Package>
  126. <Import-Package></Import-Package>
  127. </instructions>
  128. </configuration>
  129. <executions>
  130. <execution>
  131. <id>bundle-manifest</id>
  132. <phase>prepare-package</phase>
  133. <goals>
  134. <goal>manifest</goal>
  135. </goals>
  136. </execution>
  137. </executions>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-jar-plugin</artifactId>
  142. <version>2.6</version>
  143. <configuration>
  144. <archive>
  145. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  146. <index>false</index>
  147. <manifest>
  148. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  149. </manifest>
  150. </archive>
  151. </configuration>
  152. </plugin>
  153. </plugins>
  154. <pluginManagement>
  155. <plugins>
  156. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  157. <plugin>
  158. <groupId>org.eclipse.m2e</groupId>
  159. <artifactId>lifecycle-mapping</artifactId>
  160. <version>1.0.0</version>
  161. <configuration>
  162. <lifecycleMappingMetadata>
  163. <pluginExecutions>
  164. <pluginExecution>
  165. <pluginExecutionFilter>
  166. <groupId>
  167. org.codehaus.mojo
  168. </groupId>
  169. <artifactId>
  170. exec-maven-plugin
  171. </artifactId>
  172. <versionRange>
  173. [1.4.0,)
  174. </versionRange>
  175. <goals>
  176. <goal>exec</goal>
  177. </goals>
  178. </pluginExecutionFilter>
  179. <action>
  180. <ignore />
  181. </action>
  182. </pluginExecution>
  183. </pluginExecutions>
  184. </lifecycleMappingMetadata>
  185. </configuration>
  186. </plugin>
  187. </plugins>
  188. </pluginManagement>
  189. </build>
  190. </project>