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

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