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

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