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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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.15-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. <artifactId>maven-resources-plugin</artifactId>
  46. <executions>
  47. <!-- Copy .java files to package -->
  48. <execution>
  49. <id>copy-sources</id>
  50. <!-- here the phase you need -->
  51. <phase>process-resources</phase>
  52. <goals>
  53. <goal>copy-resources</goal>
  54. </goals>
  55. <configuration>
  56. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  57. <resources>
  58. <resource>
  59. <directory>src/main/resources</directory>
  60. <filtering>false</filtering>
  61. </resource>
  62. <resource>
  63. <directory>src/main/java</directory>
  64. <filtering>false</filtering>
  65. </resource>
  66. </resources>
  67. </configuration>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.apache.felix</groupId>
  73. <artifactId>maven-bundle-plugin</artifactId>
  74. <extensions>true</extensions>
  75. <configuration>
  76. <instructions>
  77. <Bundle-RequiredExecutionEnvironment>${osgi.execution.environment}</Bundle-RequiredExecutionEnvironment>
  78. <Export-Package>com.vaadin.*;version="${osgi.bundle.version}"</Export-Package>
  79. <Import-Package></Import-Package>
  80. </instructions>
  81. </configuration>
  82. <executions>
  83. <execution>
  84. <id>bundle-manifest</id>
  85. <phase>prepare-package</phase>
  86. <goals>
  87. <goal>manifest</goal>
  88. </goals>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-jar-plugin</artifactId>
  95. <configuration>
  96. <archive>
  97. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  98. <index>false</index>
  99. <manifest>
  100. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  101. </manifest>
  102. <manifestEntries>
  103. <Vaadin-Package-Version>1</Vaadin-Package-Version>
  104. <Vaadin-Widgetsets>com.vaadin.DefaultWidgetSet</Vaadin-Widgetsets>
  105. </manifestEntries>
  106. </archive>
  107. </configuration>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-checkstyle-plugin</artifactId>
  112. <executions>
  113. <execution>
  114. <goals>
  115. <goal>checkstyle</goal>
  116. </goals>
  117. <phase>process-sources</phase>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. <plugin>
  122. <groupId>org.codehaus.mojo</groupId>
  123. <artifactId>animal-sniffer-maven-plugin</artifactId>
  124. <configuration>
  125. <skip>true</skip>
  126. </configuration>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-surefire-plugin</artifactId>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>