pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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-crowddetector</artifactId>
  12. <packaging>jar</packaging>
  13. <!-- Project-level information -->
  14. <name>Kurento Java Tutorial - CrowdDetector Filter </name>
  15. <description>
  16. A Crowd Detector Filter using RTSP conexion to the camera.
  17. The video will be recorded.
  18. </description>
  19. <!-- Project configuration -->
  20. <properties>
  21. <demo.port>8443</demo.port>
  22. <start-class>org.kurento.demo.CrowdDetectorApp</start-class>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>com.google.guava</groupId>
  27. <artifactId>guava</artifactId>
  28. </dependency>
  29. <!-- Spring -->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework</groupId>
  36. <artifactId>spring-websocket</artifactId>
  37. </dependency>
  38. <!-- WebJars -->
  39. <dependency>
  40. <groupId>org.webjars</groupId>
  41. <artifactId>webjars-locator</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.webjars.bower</groupId>
  45. <artifactId>jquery</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.webjars.bower</groupId>
  49. <artifactId>bootstrap</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.webjars.bower</groupId>
  53. <artifactId>demo-console</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.webjars.bower</groupId>
  57. <artifactId>ekko-lightbox</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.webjars.bower</groupId>
  61. <artifactId>webrtc-adapter</artifactId>
  62. </dependency>
  63. <!-- Kurento -->
  64. <dependency>
  65. <groupId>org.kurento</groupId>
  66. <artifactId>kurento-client</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.kurento</groupId>
  70. <artifactId>kurento-jsonrpc-server</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.kurento</groupId>
  74. <artifactId>kurento-utils-js</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.kurento.module</groupId>
  78. <artifactId>crowddetector</artifactId>
  79. </dependency>
  80. </dependencies>
  81. <build>
  82. <plugins>
  83. <plugin>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-maven-plugin</artifactId>
  86. <configuration>
  87. <mainClass>${start-class}</mainClass>
  88. <layout>ZIP</layout>
  89. <classifier>exec</classifier>
  90. </configuration>
  91. <executions>
  92. <execution>
  93. <goals>
  94. <goal>repackage</goal>
  95. </goals>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.codehaus.mojo</groupId>
  101. <artifactId>exec-maven-plugin</artifactId>
  102. <configuration>
  103. <mainClass>${start-class}</mainClass>
  104. </configuration>
  105. </plugin>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-assembly-plugin</artifactId>
  109. <configuration>
  110. <descriptor>src/assembly/bin.xml</descriptor>
  111. <finalName>${project.artifactId}-${project.version}</finalName>
  112. <appendAssemblyId>false</appendAssemblyId>
  113. </configuration>
  114. <executions>
  115. <execution>
  116. <phase>package</phase>
  117. <goals>
  118. <goal>single</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-antrun-plugin</artifactId>
  126. <executions>
  127. <execution>
  128. <phase>package</phase>
  129. <configuration>
  130. <tasks>
  131. <copy
  132. file="${project.build.directory}/target/${project.artifactId}-${project.version}-bin.zip"
  133. tofile="${project.build.directory}/target/${project.artifactId}-${project.version}.zip" />
  134. </tasks>
  135. </configuration>
  136. </execution>
  137. </executions>
  138. </plugin>
  139. <plugin>
  140. <artifactId>maven-clean-plugin</artifactId>
  141. <configuration>
  142. <filesets>
  143. <fileset>
  144. <directory>src/main/resources/static/bower_components</directory>
  145. </fileset>
  146. </filesets>
  147. </configuration>
  148. </plugin>
  149. </plugins>
  150. <resources>
  151. <resource>
  152. <directory>src/main/resources</directory>
  153. <filtering>false</filtering>
  154. </resource>
  155. <resource>
  156. <directory>src/main/resources</directory>
  157. <filtering>true</filtering>
  158. <includes>
  159. <include>application.properties</include>
  160. <include>banner.txt</include>
  161. </includes>
  162. </resource>
  163. </resources>
  164. </build>
  165. </project>