123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <!-- Maven coordinates -->
- <parent>
- <groupId>org.kurento.tutorial</groupId>
- <artifactId>kurento-tutorial</artifactId>
- <version>6.7.1</version>
- </parent>
- <artifactId>kurento-hello-world-recording</artifactId>
- <packaging>jar</packaging>
- <!-- Project-level information -->
- <name>Kurento Java Tutorial - Hello World with Recording</name>
- <description>Hello World (WebRTC in loopback) with Recording</description>
- <!-- Project configuration -->
- <properties>
- <demo.port>8443</demo.port>
- <start-class>org.kurento.tutorial.helloworld.HelloWorldRecApp</start-class>
- </properties>
- <dependencies>
- <!-- Spring -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-websocket</artifactId>
- </dependency>
- <!-- WebJars -->
- <dependency>
- <groupId>org.webjars</groupId>
- <artifactId>webjars-locator</artifactId>
- </dependency>
- <dependency>
- <groupId>org.webjars.bower</groupId>
- <artifactId>jquery</artifactId>
- </dependency>
- <dependency>
- <groupId>org.webjars.bower</groupId>
- <artifactId>bootstrap</artifactId>
- </dependency>
- <dependency>
- <groupId>org.webjars.bower</groupId>
- <artifactId>demo-console</artifactId>
- </dependency>
- <dependency>
- <groupId>org.webjars.bower</groupId>
- <artifactId>ekko-lightbox</artifactId>
- </dependency>
- <dependency>
- <groupId>org.webjars.bower</groupId>
- <artifactId>webrtc-adapter</artifactId>
- </dependency>
- <!-- Kurento -->
- <dependency>
- <groupId>org.kurento</groupId>
- <artifactId>kurento-client</artifactId>
- </dependency>
- <dependency>
- <groupId>org.kurento</groupId>
- <artifactId>kurento-utils-js</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <mainClass>${start-class}</mainClass>
- <layout>ZIP</layout>
- <classifier>exec</classifier>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <configuration>
- <mainClass>${start-class}</mainClass>
- </configuration>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>false</filtering>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- <includes>
- <include>application.properties</include>
- <include>banner.txt</include>
- </includes>
- </resource>
- </resources>
- </build>
- <profiles>
- <profile>
- <id>default</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptor>src/assembly/bin.xml</descriptor>
- <finalName>${project.artifactId}-${project.version}</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- </configuration>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <configuration>
- <tasks>
- <copy
- file="${project.build.directory}/target/${project.artifactId}-${project.version}-bin.zip"
- tofile="${project.build.directory}/target/${project.artifactId}-${project.version}.zip" />
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>no-assembly</id>
- </profile>
- </profiles>
- </project>
|