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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <artifactId>vaadin-osgi-integration</artifactId>
  5. <packaging>jar</packaging>
  6. <url>https://vaadin.com/</url>
  7. <description>OSGi Integration</description>
  8. <parent>
  9. <groupId>com.vaadin</groupId>
  10. <artifactId>vaadin-root</artifactId>
  11. <version>8.0-SNAPSHOT</version>
  12. </parent>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <maven.compiler.source>1.8</maven.compiler.source>
  16. <maven.compiler.target>1.8</maven.compiler.target>
  17. </properties>
  18. <dependencies>
  19. <!-- OSGi Dependencies -->
  20. <dependency>
  21. <groupId>org.osgi</groupId>
  22. <artifactId>osgi.core</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.osgi</groupId>
  26. <artifactId>osgi.annotation</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.osgi</groupId>
  30. <artifactId>osgi.cmpn</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>${project.groupId}</groupId>
  34. <artifactId>vaadin-shared</artifactId>
  35. <version>${project.version}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>${project.groupId}</groupId>
  39. <artifactId>vaadin-server</artifactId>
  40. <version>${project.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>javax.servlet</groupId>
  44. <artifactId>javax.servlet-api</artifactId>
  45. </dependency>
  46. </dependencies>
  47. <build>
  48. <plugins>
  49. <plugin>
  50. <groupId>org.apache.maven.plugins</groupId>
  51. <artifactId>maven-compiler-plugin</artifactId>
  52. <version>3.1</version>
  53. </plugin>
  54. <plugin>
  55. <groupId>org.apache.maven.plugins</groupId>
  56. <artifactId>maven-checkstyle-plugin</artifactId>
  57. <executions>
  58. <execution>
  59. <goals>
  60. <goal>checkstyle</goal>
  61. </goals>
  62. <phase>process-sources</phase>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. <plugin>
  67. <groupId>biz.aQute.bnd</groupId>
  68. <artifactId>bnd-maven-plugin</artifactId>
  69. </plugin>
  70. <!-- This is required to copy the bnd generated MANIFEST.MF to the jar.
  71. https://issues.apache.org/jira/browse/MJAR-193 is supposed to address this
  72. issue, but at the time of writing this the configuration is necessary. Check
  73. https://github.com/bndtools/bnd/tree/master/maven/bnd-maven-plugin -->
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-jar-plugin</artifactId>
  77. <configuration>
  78. <archive>
  79. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  80. <index>false</index>
  81. <manifest>
  82. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  83. </manifest>
  84. </archive>
  85. </configuration>
  86. </plugin>
  87. </plugins>
  88. </build>
  89. </project>