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

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