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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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</artifactId>
  12. <name>vaadin-client</name>
  13. <packaging>jar</packaging>
  14. <url>https://vaadin.com/</url>
  15. <description>Vaadin client</description>
  16. <dependencies>
  17. <!-- LIBRARY DEPENDENCIES (compile time) -->
  18. <!-- Project modules -->
  19. <dependency>
  20. <groupId>com.vaadin</groupId>
  21. <artifactId>vaadin-shared</artifactId>
  22. <version>${project.version}</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.vaadin</groupId>
  26. <artifactId>vaadin-server</artifactId>
  27. <version>${project.version}</version>
  28. <exclusions>
  29. <exclusion>
  30. <groupId>com.vaadin</groupId>
  31. <artifactId>vaadin-sass-compiler</artifactId>
  32. </exclusion>
  33. </exclusions>
  34. </dependency>
  35. <!-- Testing dependencies -->
  36. <dependency>
  37. <groupId>junit</groupId>
  38. <artifactId>junit</artifactId>
  39. <version>4.11</version>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.easymock</groupId>
  44. <artifactId>easymock</artifactId>
  45. <version>3.0</version>
  46. <scope>test</scope>
  47. </dependency>
  48. <!-- Needed GWT dependencies, includes gwt-user -->
  49. <dependency>
  50. <groupId>com.vaadin.external.gwt</groupId>
  51. <artifactId>gwt-elemental</artifactId>
  52. <version>${vaadin.gwt.version}</version>
  53. </dependency>
  54. </dependencies>
  55. <build>
  56. <plugins>
  57. <plugin>
  58. <artifactId>maven-resources-plugin</artifactId>
  59. <executions>
  60. <!-- Copy .java files to package -->
  61. <execution>
  62. <id>copy-sources</id>
  63. <!-- here the phase you need -->
  64. <phase>prepare-package</phase>
  65. <goals>
  66. <goal>copy-resources</goal>
  67. </goals>
  68. <configuration>
  69. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  70. <resources>
  71. <resource>
  72. <directory>src/main/resources</directory>
  73. <filtering>false</filtering>
  74. </resource>
  75. <resource>
  76. <directory>src/main/java</directory>
  77. <filtering>false</filtering>
  78. </resource>
  79. </resources>
  80. </configuration>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.apache.felix</groupId>
  86. <artifactId>maven-bundle-plugin</artifactId>
  87. <extensions>true</extensions>
  88. <configuration>
  89. <instructions>
  90. <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
  91. <Export-Package>com.vaadin.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</Export-Package>
  92. <Import-Package></Import-Package>
  93. </instructions>
  94. </configuration>
  95. <executions>
  96. <execution>
  97. <id>bundle-manifest</id>
  98. <phase>prepare-package</phase>
  99. <goals>
  100. <goal>manifest</goal>
  101. </goals>
  102. </execution>
  103. </executions>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-jar-plugin</artifactId>
  108. <configuration>
  109. <archive>
  110. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  111. <index>false</index>
  112. <manifest>
  113. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  114. </manifest>
  115. <manifestEntries>
  116. <Vaadin-Package-Version>1</Vaadin-Package-Version>
  117. <Vaadin-Widgetsets>com.vaadin.DefaultWidgetSet</Vaadin-Widgetsets>
  118. </manifestEntries>
  119. </archive>
  120. </configuration>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-checkstyle-plugin</artifactId>
  125. <executions>
  126. <execution>
  127. <goals>
  128. <goal>checkstyle</goal>
  129. </goals>
  130. <phase>process-sources</phase>
  131. </execution>
  132. </executions>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.codehaus.mojo</groupId>
  136. <artifactId>animal-sniffer-maven-plugin</artifactId>
  137. <configuration>
  138. <skip>true</skip>
  139. </configuration>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-surefire-plugin</artifactId>
  144. </plugin>
  145. </plugins>
  146. </build>
  147. </project>