Skip to content

Commit 7514c92

Browse files
committed
Fixed dependency on websocket preventing build; dep is only needed for assembly profile
1 parent bbc0c98 commit 7514c92

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

pom.xml

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@
6262
<red5-io.version>${project.parent.version}</red5-io.version>
6363
<red5-service.version>${project.parent.version}</red5-service.version>
6464
<red5-server-common.version>${project.parent.version}</red5-server-common.version>
65-
<tomcatplugin.version>1.18</tomcatplugin.version>
66-
<websocket.version>1.9</websocket.version>
6765
<cors-filter.version>2.5</cors-filter.version>
6866
</properties>
6967
<repositories>
@@ -282,12 +280,6 @@
282280
</exclusions>
283281
</dependency>
284282
<!-- Runtime plugin deps -->
285-
<dependency>
286-
<groupId>${project.groupId}</groupId>
287-
<artifactId>websocket</artifactId>
288-
<version>${websocket.version}</version>
289-
<scope>provided</scope>
290-
</dependency>
291283
<dependency>
292284
<groupId>${project.groupId}</groupId>
293285
<artifactId>tomcatplugin</artifactId>
@@ -354,6 +346,25 @@
354346
<excludeTransitive>false</excludeTransitive>
355347
</configuration>
356348
</execution>
349+
<execution>
350+
<id>copy-dependency-websocket-plugin</id>
351+
<phase>package</phase>
352+
<goals>
353+
<goal>copy</goal>
354+
</goals>
355+
<configuration>
356+
<artifactItems>
357+
<artifactItem>
358+
<groupId>org.red5</groupId>
359+
<artifactId>websocket</artifactId>
360+
<version>${websocket.version}</version>
361+
<type>jar</type>
362+
<overWrite>true</overWrite>
363+
<outputDirectory>${project.build.directory}/plugins</outputDirectory>
364+
</artifactItem>
365+
</artifactItems>
366+
</configuration>
367+
</execution>
357368
<execution>
358369
<id>unpack-red5-service</id>
359370
<phase>package</phase>

0 commit comments

Comments
 (0)