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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. <artifactId>vaadin-compatibility-client</artifactId>
  11. <name>vaadin-compatibility-client</name>
  12. <packaging>jar</packaging>
  13. <url>https://vaadin.com/</url>
  14. <description>Vaadin 7 compatibility package for Vaadin 8</description>
  15. <dependencies>
  16. <!-- Project modules -->
  17. <dependency>
  18. <groupId>com.vaadin</groupId>
  19. <artifactId>vaadin-client</artifactId>
  20. <version>${project.version}</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>${project.groupId}</groupId>
  24. <artifactId>vaadin-compatibility-server</artifactId>
  25. <version>${project.version}</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>${project.groupId}</groupId>
  29. <artifactId>vaadin-compatibility-shared</artifactId>
  30. <version>${project.version}</version>
  31. </dependency>
  32. </dependencies>
  33. <build>
  34. <plugins>
  35. <plugin>
  36. <groupId>org.apache.maven.plugins</groupId>
  37. <artifactId>maven-jar-plugin</artifactId>
  38. <configuration>
  39. <archive>
  40. <index>false</index>
  41. <manifest>
  42. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  43. </manifest>
  44. <manifestEntries>
  45. <Vaadin-Package-Version>1</Vaadin-Package-Version>
  46. <Vaadin-Widgetsets>com.vaadin.v7.Vaadin7WidgetSet</Vaadin-Widgetsets>
  47. </manifestEntries>
  48. </archive>
  49. </configuration>
  50. </plugin>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-checkstyle-plugin</artifactId>
  54. <executions>
  55. <execution>
  56. <goals>
  57. <goal>checkstyle</goal>
  58. </goals>
  59. <phase>process-sources</phase>
  60. </execution>
  61. </executions>
  62. </plugin>
  63. <plugin>
  64. <artifactId>maven-resources-plugin</artifactId>
  65. <executions>
  66. <!-- Copy .java files to package -->
  67. <execution>
  68. <id>copy-sources</id>
  69. <!-- here the phase you need -->
  70. <phase>prepare-package</phase>
  71. <goals>
  72. <goal>copy-resources</goal>
  73. </goals>
  74. <configuration>
  75. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  76. <resources>
  77. <resource>
  78. <directory>src/main/resources</directory>
  79. <filtering>false</filtering>
  80. </resource>
  81. <resource>
  82. <directory>src/main/java</directory>
  83. <filtering>false</filtering>
  84. </resource>
  85. </resources>
  86. </configuration>
  87. </execution>
  88. </executions>
  89. </plugin>
  90. <plugin>
  91. <groupId>org.apache.maven.plugins</groupId>
  92. <artifactId>maven-surefire-plugin</artifactId>
  93. </plugin>
  94. </plugins>
  95. </build>
  96. </project>