mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: pom update with profile 'dependency'
parent
2a35293e18
commit
a3da25c237
|
@ -50,55 +50,119 @@
|
||||||
<start-class>io.openvidu.server.OpenViduServer</start-class>
|
<start-class>io.openvidu.server.OpenViduServer</start-class>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<profiles>
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources</directory>
|
|
||||||
<filtering>false</filtering>
|
|
||||||
</resource>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources</directory>
|
|
||||||
<filtering>true</filtering>
|
|
||||||
<includes>
|
|
||||||
<include>banner.txt</include>
|
|
||||||
</includes>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
|
|
||||||
<plugins>
|
<profile>
|
||||||
<plugin>
|
<id>exec</id>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<activation>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<activeByDefault>true</activeByDefault>
|
||||||
<version>${version.spring-boot}</version>
|
</activation>
|
||||||
<configuration>
|
<build>
|
||||||
<mainClass>${start-class}</mainClass>
|
<resources>
|
||||||
<layout>ZIP</layout>
|
<resource>
|
||||||
</configuration>
|
<directory>src/main/resources</directory>
|
||||||
<executions>
|
<filtering>false</filtering>
|
||||||
<execution>
|
</resource>
|
||||||
<goals>
|
<resource>
|
||||||
<goal>repackage</goal>
|
<directory>src/main/resources</directory>
|
||||||
</goals>
|
<filtering>true</filtering>
|
||||||
</execution>
|
<includes>
|
||||||
</executions>
|
<include>banner.txt</include>
|
||||||
</plugin>
|
</includes>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
|
||||||
<plugin>
|
<plugins>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<plugin>
|
||||||
<artifactId>exec-maven-plugin</artifactId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<version>1.6.0</version>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
<configuration>
|
<version>${version.spring-boot}</version>
|
||||||
<mainClass>${start-class}</mainClass>
|
<configuration>
|
||||||
</configuration>
|
<mainClass>${start-class}</mainClass>
|
||||||
</plugin>
|
<layout>ZIP</layout>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>repackage</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
<version>${version.enforcer.plugin}</version>
|
<version>1.6.0</version>
|
||||||
</plugin>
|
<configuration>
|
||||||
</plugins>
|
<mainClass>${start-class}</mainClass>
|
||||||
</build>
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
|
<version>${version.enforcer.plugin}</version>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<id>dependency</id>
|
||||||
|
<build>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<filtering>false</filtering>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
<includes>
|
||||||
|
<include>banner.txt</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
<version>${version.spring-boot}</version>
|
||||||
|
<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>
|
||||||
|
<version>1.6.0</version>
|
||||||
|
<configuration>
|
||||||
|
<mainClass>${start-class}</mainClass>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
|
<version>${version.enforcer.plugin}</version>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
Loading…
Reference in New Issue