Red5 / red5-plugins

Red5 Server Plug-ins
50 stars 77 forks source link

Plugins fail to compile #16

Closed nightstryke closed 6 years ago

nightstryke commented 7 years ago

I've downloaded all the plugins, but they fail to compile, all are still referencing the code.google.com repositories and googlecode.com repositories which are no longer available as google shut down code last year. Would be great if someone fixed the pom.xml to use the current github because without it the plugins fail to compile no matter what I do.

mondain commented 7 years ago

Which plugins? If you would like, you can compare non-working plugins with the tomcat plugin or websocket plugin to determine the newer entries.

MikeMannox commented 7 years ago

Hi,

I am experiencing a similar issue

Would it not be possible to make these available for download under the releases?

MikeMannox commented 7 years ago

Is this project dead?

Could one of the project owners please help/respond?

mondain commented 7 years ago

Plugins built this morning just as expected:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] tomcatplugin ....................................... SUCCESS [  9.060 s]
[INFO] mqttplugin ......................................... SUCCESS [  4.871 s]
[INFO] securityplugin ..................................... SUCCESS [  2.957 s]
[INFO] parent ............................................. SUCCESS [  0.138 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.077 s
[INFO] Finished at: 2017-09-09T14:46:18-07:00
[INFO] Final Memory: 35M/435M
MikeMannox commented 7 years ago

I get the same when building on a Mac, not when building on Ubuntu, but I shall double check. However, I am after, RTSP and it doesn't appear in that list. Nor is there a target directory.

After adding rtspplugin to the <modules> in the root pom.xml

 <modules>
        <module>tomcat</module>
        <module>mqtt</module>
        <module>securityplugin</module>
        <module>rtspplugin</module>
        <!-- 
        <module>undertow</module>
        <module>winstone</module>
         -->
    </modules>

And on compilation I get this:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] tomcatplugin ....................................... SUCCESS [  5.768 s]
[INFO] mqttplugin ......................................... SUCCESS [  3.228 s]
[INFO] securityplugin ..................................... SUCCESS [  1.576 s]
[INFO] Red5 :: authplugin ................................. FAILURE [ 24.121 s]
[INFO] parent ............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.381 s
[INFO] Finished at: 2017-09-13T11:09:09+01:00
[INFO] Final Memory: 33M/411M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project authplugin: Could not resolve dependencies for project org.red5:authplugin:jar:1.0.8-M1: The following artifacts could not be resolved: org.springframework:spring-asm:jar:4.2.6.RELEASE, org.red5:red5-io:jar:1.0.2, org.red5:red5-server:jar:1.0.2-RC3: Could not find artifact org.springframework:spring-asm:jar:4.2.6.RELEASE in Red5 (http://red5.googlecode.com/svn/repository) -> [Help 1]

Would it be possible to make the additional plugins available under releases, please?

nightstryke commented 7 years ago

Yeah those that you listed come pre-packaged with Red5 But aside from the rest in the Red5 Plugins part of github none of these compile!

adminplugin authplugin cluster definst example icyplugin jetty mpeg-ts oflademoplugin policyserver rtspplugin securityplugin undertow winstone

mondain commented 7 years ago

You have to at least have a working build environment first; that javac issue is the first thing to resolve locally. The projects / modules you listed are not in the modules list because they aren't being supported; which doesn't mean that they won't work, just that no-one is working on them. Which module specifically did you want?

mondain commented 7 years ago

The plugins which have been built and deployed are available for download at Maven Central; here is the search url http://mvnrepository.com/search?q=org.red5

MikeMannox commented 7 years ago

For me I am interested in RTSP & RTMP for use with Android / iOS (eventually) clients.

Not sure what the javac issue you are referring to is, possibly @nightstryke issue?

nightstryke commented 7 years ago

I'd personally like the Admin and RTSP plugins updated.

mondain commented 7 years ago

The rtspplugin was never completed, so unfortunately that one would be a problem. The adminplugin is a possibility, but I'd have to take a look.

mondain commented 6 years ago

I don't personally have time to support or finish the development of the extra plugins; I would be glad to process any PR's submitted by interested parties.