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

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