Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

pom.xml 5.3KB

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>8.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. <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>${widgetset.name}</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. <extraJvmArgs>-Xmx1G</extraJvmArgs>
  86. </configuration>
  87. <executions>
  88. <execution>
  89. <goals>
  90. <goal>compile</goal>
  91. </goals>
  92. </execution>
  93. </executions>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.felix</groupId>
  97. <artifactId>maven-bundle-plugin</artifactId>
  98. <extensions>true</extensions>
  99. <configuration>
  100. <instructions>
  101. <Bundle-Version>${osgi.bundle.version}</Bundle-Version>
  102. <Bundle-RequiredExecutionEnvironment>${osgi.execution.environment}</Bundle-RequiredExecutionEnvironment>
  103. <!-- Export package is handled in exec plugin -->
  104. <Export-Package></Export-Package>
  105. <Import-Package></Import-Package>
  106. </instructions>
  107. </configuration>
  108. <executions>
  109. <execution>
  110. <id>bundle-manifest</id>
  111. <phase>prepare-package</phase>
  112. <goals>
  113. <goal>manifest</goal>
  114. </goals>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-jar-plugin</artifactId>
  121. <version>2.6</version>
  122. <configuration>
  123. <archive>
  124. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  125. <index>false</index>
  126. <manifest>
  127. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  128. </manifest>
  129. </archive>
  130. </configuration>
  131. </plugin>
  132. </plugins>
  133. <pluginManagement>
  134. <plugins>
  135. <!--This plugin's configuration is used to store Eclipse 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>