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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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.2-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>${project.groupId}</groupId>
  21. <artifactId>vaadin-shared</artifactId>
  22. <version>${project.version}</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>${project.groupId}</groupId>
  26. <artifactId>vaadin-server</artifactId>
  27. <version>${project.version}</version>
  28. <exclusions>
  29. <exclusion>
  30. <groupId>${project.groupId}</groupId>
  31. <artifactId>vaadin-sass-compiler</artifactId>
  32. </exclusion>
  33. </exclusions>
  34. </dependency>
  35. <!-- Needed GWT dependencies, includes gwt-user -->
  36. <dependency>
  37. <groupId>com.google.gwt</groupId>
  38. <artifactId>gwt-elemental</artifactId>
  39. </dependency>
  40. </dependencies>
  41. <build>
  42. <plugins>
  43. <plugin>
  44. <artifactId>maven-resources-plugin</artifactId>
  45. <executions>
  46. <!-- Copy .java files to package -->
  47. <execution>
  48. <id>copy-sources</id>
  49. <!-- here the phase you need -->
  50. <phase>process-resources</phase>
  51. <goals>
  52. <goal>copy-resources</goal>
  53. </goals>
  54. <configuration>
  55. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  56. <resources>
  57. <resource>
  58. <directory>src/main/resources</directory>
  59. <filtering>false</filtering>
  60. </resource>
  61. <resource>
  62. <directory>src/main/java</directory>
  63. <filtering>false</filtering>
  64. </resource>
  65. </resources>
  66. </configuration>
  67. </execution>
  68. </executions>
  69. </plugin>
  70. <plugin>
  71. <groupId>org.apache.felix</groupId>
  72. <artifactId>maven-bundle-plugin</artifactId>
  73. <extensions>true</extensions>
  74. <configuration>
  75. <instructions>
  76. <Bundle-RequiredExecutionEnvironment>${osgi.execution.environment}</Bundle-RequiredExecutionEnvironment>
  77. <Export-Package>com.vaadin.*;version="${osgi.bundle.version}"</Export-Package>
  78. <Import-Package></Import-Package>
  79. </instructions>
  80. </configuration>
  81. <executions>
  82. <execution>
  83. <id>bundle-manifest</id>
  84. <phase>prepare-package</phase>
  85. <goals>
  86. <goal>manifest</goal>
  87. </goals>
  88. </execution>
  89. </executions>
  90. </plugin>
  91. <plugin>
  92. <groupId>org.apache.maven.plugins</groupId>
  93. <artifactId>maven-jar-plugin</artifactId>
  94. <configuration>
  95. <archive>
  96. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  97. <index>false</index>
  98. <manifest>
  99. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  100. </manifest>
  101. <manifestEntries>
  102. <Vaadin-Package-Version>1</Vaadin-Package-Version>
  103. <Vaadin-Widgetsets>com.vaadin.DefaultWidgetSet</Vaadin-Widgetsets>
  104. </manifestEntries>
  105. </archive>
  106. </configuration>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-checkstyle-plugin</artifactId>
  111. <executions>
  112. <execution>
  113. <goals>
  114. <goal>checkstyle</goal>
  115. </goals>
  116. <phase>process-sources</phase>
  117. </execution>
  118. </executions>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.codehaus.mojo</groupId>
  122. <artifactId>animal-sniffer-maven-plugin</artifactId>
  123. <configuration>
  124. <skip>true</skip>
  125. </configuration>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-surefire-plugin</artifactId>
  130. </plugin>
  131. </plugins>
  132. </build>
  133. </project>