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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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-shared</artifactId>
  11. <name>vaadin-shared</name>
  12. <packaging>jar</packaging>
  13. <properties>
  14. </properties>
  15. <url>https://vaadin.com/</url>
  16. <description>Vaadin shared</description>
  17. <dependencies>
  18. <!-- Needed GWT dependencies. Required parts are packaged to jar -->
  19. <dependency>
  20. <groupId>com.google.gwt</groupId>
  21. <artifactId>gwt-elemental</artifactId>
  22. <scope>provided</scope>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.osgi</groupId>
  26. <artifactId>osgi.core</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.osgi</groupId>
  30. <artifactId>osgi.cmpn</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.vaadin.external.gwt</groupId>
  34. <artifactId>gwt-elemental</artifactId>
  35. <version>2.8.2.vaadin2</version>
  36. </dependency>
  37. </dependencies>
  38. <build>
  39. <plugins>
  40. <!-- Generated Version.java -->
  41. <plugin>
  42. <groupId>org.codehaus.mojo</groupId>
  43. <artifactId>templating-maven-plugin</artifactId>
  44. <version>1.0.0</version>
  45. <executions>
  46. <execution>
  47. <goals>
  48. <goal>filter-sources</goal>
  49. </goals>
  50. </execution>
  51. </executions>
  52. </plugin>
  53. <plugin>
  54. <artifactId>maven-resources-plugin</artifactId>
  55. <executions>
  56. <!-- Copy .java files to package -->
  57. <execution>
  58. <id>copy-sources</id>
  59. <!-- here the phase you need -->
  60. <phase>process-resources</phase>
  61. <goals>
  62. <goal>copy-resources</goal>
  63. </goals>
  64. <configuration>
  65. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  66. <resources>
  67. <resource>
  68. <directory>src/main/java</directory>
  69. <filtering>false</filtering>
  70. </resource>
  71. <resource>
  72. <directory>${project.build.directory}/generated-sources/java-templates</directory>
  73. <filtering>false</filtering>
  74. </resource>
  75. </resources>
  76. </configuration>
  77. </execution>
  78. </executions>
  79. </plugin>
  80. <plugin>
  81. <groupId>biz.aQute.bnd</groupId>
  82. <artifactId>bnd-maven-plugin</artifactId>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-jar-plugin</artifactId>
  87. <configuration>
  88. <archive>
  89. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  90. <index>false</index>
  91. <manifest>
  92. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  93. </manifest>
  94. </archive>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-checkstyle-plugin</artifactId>
  100. <executions>
  101. <execution>
  102. <goals>
  103. <goal>checkstyle</goal>
  104. </goals>
  105. <phase>process-sources</phase>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-surefire-plugin</artifactId>
  112. </plugin>
  113. </plugins>
  114. </build>
  115. </project>