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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. <artifactId>vaadin-client-compiler</artifactId>
  11. <name>vaadin-client-compiler</name>
  12. <packaging>jar</packaging>
  13. <url>https://vaadin.com/</url>
  14. <description>Vaadin client compiler</description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>${project.groupId}</groupId>
  18. <artifactId>vaadin-client</artifactId>
  19. <version>${project.version}</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.google.gwt</groupId>
  23. <artifactId>gwt-dev</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.vaadin</groupId>
  27. <artifactId>vaadin-sass-compiler</artifactId>
  28. </dependency>
  29. </dependencies>
  30. <build>
  31. <resources>
  32. <resource>
  33. <directory>src/main/resources</directory>
  34. <filtering>true</filtering>
  35. </resource>
  36. </resources>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-checkstyle-plugin</artifactId>
  41. <executions>
  42. <execution>
  43. <goals>
  44. <goal>checkstyle</goal>
  45. </goals>
  46. <phase>process-sources</phase>
  47. </execution>
  48. </executions>
  49. </plugin>
  50. <plugin>
  51. <artifactId>maven-resources-plugin</artifactId>
  52. <executions>
  53. <!-- Copy .java files to package -->
  54. <execution>
  55. <id>copy-sources</id>
  56. <!-- here the phase you need -->
  57. <phase>process-resources</phase>
  58. <goals>
  59. <goal>copy-resources</goal>
  60. </goals>
  61. <configuration>
  62. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  63. <resources>
  64. <resource>
  65. <directory>src/main/java</directory>
  66. <filtering>false</filtering>
  67. </resource>
  68. </resources>
  69. </configuration>
  70. </execution>
  71. </executions>
  72. </plugin>
  73. <plugin>
  74. <groupId>org.apache.felix</groupId>
  75. <artifactId>maven-bundle-plugin</artifactId>
  76. <extensions>true</extensions>
  77. <configuration>
  78. <instructions>
  79. <Bundle-Version>${osgi.bundle.version}</Bundle-Version>
  80. <Bundle-RequiredExecutionEnvironment>${osgi.execution.environment}</Bundle-RequiredExecutionEnvironment>
  81. <Export-Package>com.vaadin.*;version="${osgi.bundle.version}"</Export-Package>
  82. <!--TODO decide gwt packages version number<Export-Package>com.vaadin.*;version="${project.version}",com.google.gwt.*;version="${vaadin.gwt.version}"</Export-Package> -->
  83. <Import-Package></Import-Package> <!--todo find out what should be in Import-Package -->
  84. </instructions>
  85. </configuration>
  86. <executions>
  87. <execution>
  88. <id>bundle-manifest</id>
  89. <phase>prepare-package</phase>
  90. <goals>
  91. <goal>manifest</goal>
  92. </goals>
  93. </execution>
  94. </executions>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-jar-plugin</artifactId>
  99. <configuration>
  100. <archive>
  101. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  102. <index />
  103. <manifest>
  104. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  105. </manifest>
  106. </archive>
  107. </configuration>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.codehaus.mojo</groupId>
  111. <artifactId>animal-sniffer-maven-plugin</artifactId>
  112. <configuration>
  113. <skip>true</skip>
  114. </configuration>
  115. </plugin>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-surefire-plugin</artifactId>
  119. </plugin>
  120. </plugins>
  121. </build>
  122. </project>