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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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-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. <url>https://vaadin.com/</url>
  20. <description>Vaadin client compiled</description>
  21. <dependencies>
  22. <dependency>
  23. <groupId>${project.groupId}</groupId>
  24. <artifactId>vaadin-server</artifactId>
  25. <version>${project.version}</version>
  26. <scope>provided</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>${project.groupId}</groupId>
  30. <artifactId>vaadin-client</artifactId>
  31. <version>${project.version}</version>
  32. <scope>provided</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>${project.groupId}</groupId>
  36. <artifactId>vaadin-client-compiler</artifactId>
  37. <version>${project.version}</version>
  38. <scope>provided</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>${project.groupId}</groupId>
  42. <artifactId>vaadin-buildhelpers</artifactId>
  43. <version>${project.version}</version>
  44. <scope>provided</scope>
  45. </dependency>
  46. </dependencies>
  47. <build>
  48. <plugins>
  49. <plugin>
  50. <groupId>org.codehaus.mojo</groupId>
  51. <artifactId>exec-maven-plugin</artifactId>
  52. <executions>
  53. <execution>
  54. <id>generate-export-package</id>
  55. <phase>package</phase>
  56. <goals>
  57. <goal>exec</goal>
  58. </goals>
  59. <configuration>
  60. <classpathScope>compile</classpathScope>
  61. <executable>${java.home}/bin/java</executable>
  62. <arguments>
  63. <argument>-Dvaadin.version=${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</argument>
  64. <argument>-DincludeNumberPackages=1</argument>
  65. <argument>-classpath</argument>
  66. <classpath />
  67. <argument>com.vaadin.buildhelpers.GeneratePackageExports</argument>
  68. <argument>${project.build.directory}/${project.build.finalName}.${project.packaging}</argument>
  69. <argument>VAADIN/widgetsets</argument>
  70. </arguments>
  71. </configuration>
  72. </execution>
  73. </executions>
  74. </plugin>
  75. <plugin>
  76. <groupId>com.vaadin</groupId>
  77. <artifactId>vaadin-maven-plugin</artifactId>
  78. <configuration>
  79. <modules>
  80. <module>com.vaadin.DefaultWidgetSet</module>
  81. </modules>
  82. <webappDirectory>${project.build.outputDirectory}/VAADIN/widgetsets</webappDirectory>
  83. <persistentunitcachedir>${project.build.directory}/gwt-unitCache</persistentunitcachedir>
  84. <style>${widgetset.style}</style>
  85. </configuration>
  86. <executions>
  87. <execution>
  88. <goals>
  89. <goal>compile</goal>
  90. </goals>
  91. </execution>
  92. </executions>
  93. </plugin>
  94. <plugin>
  95. <groupId>org.apache.felix</groupId>
  96. <artifactId>maven-bundle-plugin</artifactId>
  97. <extensions>true</extensions>
  98. <configuration>
  99. <instructions>
  100. <Bundle-Version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</Bundle-Version>
  101. <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
  102. <!-- Export package is handled in exec plugin -->
  103. <Export-Package></Export-Package>
  104. <Import-Package></Import-Package>
  105. </instructions>
  106. </configuration>
  107. <executions>
  108. <execution>
  109. <id>bundle-manifest</id>
  110. <phase>prepare-package</phase>
  111. <goals>
  112. <goal>manifest</goal>
  113. </goals>
  114. </execution>
  115. </executions>
  116. </plugin>
  117. <plugin>
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-jar-plugin</artifactId>
  120. <version>2.6</version>
  121. <configuration>
  122. <archive>
  123. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  124. <index>false</index>
  125. <manifest>
  126. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  127. </manifest>
  128. </archive>
  129. </configuration>
  130. </plugin>
  131. </plugins>
  132. <pluginManagement>
  133. <plugins>
  134. <!--This plugin's configuration is used to store Eclipse
  135. m2e settings only. It has no influence on the Maven build itself. -->
  136. <plugin>
  137. <groupId>org.eclipse.m2e</groupId>
  138. <artifactId>lifecycle-mapping</artifactId>
  139. <version>1.0.0</version>
  140. <configuration>
  141. <lifecycleMappingMetadata>
  142. <pluginExecutions>
  143. <pluginExecution>
  144. <pluginExecutionFilter>
  145. <groupId>
  146. org.codehaus.mojo
  147. </groupId>
  148. <artifactId>
  149. exec-maven-plugin
  150. </artifactId>
  151. <versionRange>
  152. [1.4.0,)
  153. </versionRange>
  154. <goals>
  155. <goal>exec</goal>
  156. </goals>
  157. </pluginExecutionFilter>
  158. <action>
  159. <ignore />
  160. </action>
  161. </pluginExecution>
  162. </pluginExecutions>
  163. </lifecycleMappingMetadata>
  164. </configuration>
  165. </plugin>
  166. </plugins>
  167. </pluginManagement>
  168. </build>
  169. </project>