pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. 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. <!-- Maven coordinates -->
  6. <parent>
  7. <groupId>org.kurento.tutorial</groupId>
  8. <artifactId>kurento-tutorial</artifactId>
  9. <version>6.7.1</version>
  10. </parent>
  11. <artifactId>kurento-one2one-call-advanced</artifactId>
  12. <packaging>jar</packaging>
  13. <!-- Project-level information -->
  14. <name>Kurento Java Tutorial - One2One Call Advanced</name>
  15. <description>WebRTC one to one video call with recording and filtering</description>
  16. <!-- Project configuration -->
  17. <properties>
  18. <demo.port>8443</demo.port>
  19. <start-class>org.kurento.tutorial.one2onecalladv.One2OneCallAdvApp</start-class>
  20. </properties>
  21. <dependencies>
  22. <!-- Spring -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework</groupId>
  29. <artifactId>spring-websocket</artifactId>
  30. </dependency>
  31. <!-- WebJars -->
  32. <dependency>
  33. <groupId>org.webjars</groupId>
  34. <artifactId>webjars-locator</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.webjars.bower</groupId>
  38. <artifactId>jquery</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.webjars.bower</groupId>
  42. <artifactId>bootstrap</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.webjars.bower</groupId>
  46. <artifactId>demo-console</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.webjars.bower</groupId>
  50. <artifactId>ekko-lightbox</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.webjars.bower</groupId>
  54. <artifactId>webrtc-adapter</artifactId>
  55. </dependency>
  56. <!-- Kurento -->
  57. <dependency>
  58. <groupId>org.kurento</groupId>
  59. <artifactId>kurento-client</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.kurento</groupId>
  63. <artifactId>kurento-utils-js</artifactId>
  64. </dependency>
  65. </dependencies>
  66. <build>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-maven-plugin</artifactId>
  71. <configuration>
  72. <mainClass>${start-class}</mainClass>
  73. <layout>ZIP</layout>
  74. <classifier>exec</classifier>
  75. </configuration>
  76. <executions>
  77. <execution>
  78. <goals>
  79. <goal>repackage</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.codehaus.mojo</groupId>
  86. <artifactId>exec-maven-plugin</artifactId>
  87. <configuration>
  88. <mainClass>${start-class}</mainClass>
  89. </configuration>
  90. </plugin>
  91. </plugins>
  92. <resources>
  93. <resource>
  94. <directory>src/main/resources</directory>
  95. <filtering>false</filtering>
  96. </resource>
  97. <resource>
  98. <directory>src/main/resources</directory>
  99. <filtering>true</filtering>
  100. <includes>
  101. <include>application.properties</include>
  102. <include>banner.txt</include>
  103. </includes>
  104. </resource>
  105. </resources>
  106. </build>
  107. <profiles>
  108. <profile>
  109. <id>default</id>
  110. <activation>
  111. <activeByDefault>true</activeByDefault>
  112. </activation>
  113. <build>
  114. <plugins>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-assembly-plugin</artifactId>
  118. <configuration>
  119. <descriptor>src/assembly/bin.xml</descriptor>
  120. <finalName>${project.artifactId}-${project.version}</finalName>
  121. <appendAssemblyId>false</appendAssemblyId>
  122. </configuration>
  123. <executions>
  124. <execution>
  125. <phase>package</phase>
  126. <goals>
  127. <goal>single</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-antrun-plugin</artifactId>
  135. <executions>
  136. <execution>
  137. <phase>package</phase>
  138. <configuration>
  139. <tasks>
  140. <copy
  141. file="${project.build.directory}/target/${project.artifactId}-${project.version}-bin.zip"
  142. tofile="${project.build.directory}/target/${project.artifactId}-${project.version}.zip" />
  143. </tasks>
  144. </configuration>
  145. </execution>
  146. </executions>
  147. </plugin>
  148. </plugins>
  149. </build>
  150. </profile>
  151. <profile>
  152. <id>no-assembly</id>
  153. </profile>
  154. </profiles>
  155. </project>