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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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-liferay-integration</artifactId>
  5. <packaging>jar</packaging>
  6. <url>https://vaadin.com/</url>
  7. <description>Liferay 7+ OSGi portlet support</description>
  8. <parent>
  9. <groupId>com.vaadin</groupId>
  10. <artifactId>vaadin-root</artifactId>
  11. <version>8.15-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. <liferay.version>7.0.2-ga3</liferay.version>
  18. </properties>
  19. <dependencies>
  20. <!-- OSGi Dependencies -->
  21. <dependency>
  22. <groupId>org.osgi</groupId>
  23. <artifactId>osgi.core</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.osgi</groupId>
  27. <artifactId>osgi.annotation</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.osgi</groupId>
  31. <artifactId>osgi.cmpn</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>${project.groupId}</groupId>
  35. <artifactId>vaadin-shared</artifactId>
  36. <version>${project.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>${project.groupId}</groupId>
  40. <artifactId>vaadin-server</artifactId>
  41. <version>${project.version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>${project.groupId}</groupId>
  45. <artifactId>vaadin-push</artifactId>
  46. <version>${project.version}</version>
  47. </dependency>
  48. <!-- Liferay dependencies -->
  49. <dependency>
  50. <groupId>javax.portlet</groupId>
  51. <artifactId>portlet-api</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>javax.servlet</groupId>
  55. <artifactId>javax.servlet-api</artifactId>
  56. </dependency>
  57. </dependencies>
  58. <build>
  59. <plugins>
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-compiler-plugin</artifactId>
  63. </plugin>
  64. <plugin>
  65. <groupId>org.apache.maven.plugins</groupId>
  66. <artifactId>maven-checkstyle-plugin</artifactId>
  67. <executions>
  68. <execution>
  69. <goals>
  70. <goal>checkstyle</goal>
  71. </goals>
  72. <phase>process-sources</phase>
  73. </execution>
  74. </executions>
  75. </plugin>
  76. <plugin>
  77. <groupId>biz.aQute.bnd</groupId>
  78. <artifactId>bnd-maven-plugin</artifactId>
  79. </plugin>
  80. <!-- This is required to copy the bnd generated MANIFEST.MF to the jar.
  81. https://issues.apache.org/jira/browse/MJAR-193 is supposed to address this
  82. issue, but at the time of writing this the configuration is necessary. Check
  83. https://github.com/bndtools/bnd/tree/master/maven/bnd-maven-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. </plugins>
  98. </build>
  99. </project>