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

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