You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Dustin Lang <ds...@gmail.com> on 2022/01/11 21:10:58 UTC

Building an extension module: guacamole-ext 1.4.0 not found

Hi,

I'm trying to update my custom authentication module to use 1.4.0.

In my pom.xml I first tried just changing the 1.3.0 to 1.4.0, that didn't
work, then I re-read the manual (
https://guacamole.apache.org/doc/gug/custom-auth.html), copy-pasting the
suggested pom.xml, and that also fails.  If I edit the 1.4.0 to 1.3.0, it
works.

Below, it looks like maven is looking for "guacamole-client" instead of
"guacamole-ext" ... I have no idea why that would be!  Nothing in my
directory contains the string "guacamole-client"....  I tried removing my
~/.m2 directory, no effect.  I'm new to all this, so apologies if this is
something naive I'm doing wrong.

Thanks,
--dustin


$ mvn -U package
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
com.google.inject.internal.cglib.core.$ReflectUtils$1
(file:/usr/share/maven/lib/guice.jar) to method
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of
com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ---------< com.github.dstndstn.guacamole:guacamole-create-vnc
>---------
[INFO] Building guacamole-create-vnc 1.4.0
[INFO] --------------------------------[ jar
]---------------------------------
Downloading from central:
https://repo.maven.apache.org/maven2/org/apache/guacamole/guacamole-client/1.4.0/guacamole-client-1.4.0.pom
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  0.778 s
[INFO] Finished at: 2022-01-11T15:53:58-05:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project guacamole-create-vnc: Could not
resolve dependencies for project
com.github.dstndstn.guacamole:guacamole-create-vnc:jar:1.4.0: Failed to
collect dependencies at org.apache.guacamole:guacamole-ext:jar:1.4.0:
Failed to read artifact descriptor for
org.apache.guacamole:guacamole-ext:jar:1.4.0: Could not find artifact
org.apache.guacamole:guacamole-client:pom:1.4.0 in central (
https://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Re: Building an extension module: guacamole-ext 1.4.0 not found

Posted by Nick Couchman <vn...@apache.org>.
On Tue, Jan 11, 2022 at 4:26 PM Dustin Lang <ds...@gmail.com> wrote:

> Hi Nick,
> Thanks for your reply.  Glad to hear that it's not just me...  I don't
> need anything specific from 1.4.0, just wanted to test it out before
> sending my extension around for comment.
> cheers,
> --dustin
>
>
I believe we're planning on releasing the missing Maven artifiact pretty
soon, so it should be fixed here in the next day or so.

-Nick

>

Re: Building an extension module: guacamole-ext 1.4.0 not found

Posted by Dustin Lang <ds...@gmail.com>.
Hi Nick,
Thanks for your reply.  Glad to hear that it's not just me...  I don't need
anything specific from 1.4.0, just wanted to test it out before sending my
extension around for comment.
cheers,
--dustin


On Tue, Jan 11, 2022 at 4:22 PM Nick Couchman <vn...@apache.org> wrote:

> On Tue, Jan 11, 2022 at 4:11 PM Dustin Lang <ds...@gmail.com> wrote:
>
>> Hi,
>>
>> I'm trying to update my custom authentication module to use 1.4.0.
>>
>> In my pom.xml I first tried just changing the 1.3.0 to 1.4.0, that didn't
>> work, then I re-read the manual (
>> https://guacamole.apache.org/doc/gug/custom-auth.html), copy-pasting the
>> suggested pom.xml, and that also fails.  If I edit the 1.4.0 to 1.3.0, it
>> works.
>>
>> Below, it looks like maven is looking for "guacamole-client" instead of
>> "guacamole-ext" ... I have no idea why that would be!  Nothing in my
>> directory contains the string "guacamole-client"....  I tried removing my
>> ~/.m2 directory, no effect.  I'm new to all this, so apologies if this is
>> something naive I'm doing wrong.
>>
>>
> I think there's an issue that's been identified with Maven artifacts, and
> the guacamole-client one is missing. You can solve this in one of two ways:
> 1) Just use the 1.3.0 extension with the 1.4.0 Guacamole Client install -
> it should work, unless there's something specific from 1.4.0 that you're
> trying to leverage.
> 2) Build the entire Guacamole Client code on the system where you're
> trying to build that module, which should give you the JAR artifacts you
> need.
>
> -Nick
>

AW: Building an extension module: guacamole-ext 1.4.0 not found

Posted by Joachim Lindenberg <gu...@lindenberg.one>.
Hello Nick, all,

when switching to 1.4 I had to fiddle with permissions of my extensions in the docker containers. I guess the user for the containers changed, but I didnĀ“t really analyze in detail.

Thanks for the good work!

Joachim

 

Von: Nick Couchman <vn...@apache.org> 
Gesendet: Tuesday, 11 January 2022 22:22
An: user@guacamole.apache.org
Betreff: Re: Building an extension module: guacamole-ext 1.4.0 not found

 

On Tue, Jan 11, 2022 at 4:11 PM Dustin Lang <dstndstn@gmail.com <ma...@gmail.com> > wrote:

Hi,

 

I'm trying to update my custom authentication module to use 1.4.0.

 

In my pom.xml I first tried just changing the 1.3.0 to 1.4.0, that didn't work, then I re-read the manual (https://guacamole.apache.org/doc/gug/custom-auth.html), copy-pasting the suggested pom.xml, and that also fails.  If I edit the 1.4.0 to 1.3.0, it works.

 

Below, it looks like maven is looking for "guacamole-client" instead of "guacamole-ext" ... I have no idea why that would be!  Nothing in my directory contains the string "guacamole-client"....  I tried removing my ~/.m2 directory, no effect.  I'm new to all this, so apologies if this is something naive I'm doing wrong.

 

 

I think there's an issue that's been identified with Maven artifacts, and the guacamole-client one is missing. You can solve this in one of two ways:

1) Just use the 1.3.0 extension with the 1.4.0 Guacamole Client install - it should work, unless there's something specific from 1.4.0 that you're trying to leverage.

2) Build the entire Guacamole Client code on the system where you're trying to build that module, which should give you the JAR artifacts you need.

 

-Nick


Re: Building an extension module: guacamole-ext 1.4.0 not found

Posted by Nick Couchman <vn...@apache.org>.
On Tue, Jan 11, 2022 at 4:11 PM Dustin Lang <ds...@gmail.com> wrote:

> Hi,
>
> I'm trying to update my custom authentication module to use 1.4.0.
>
> In my pom.xml I first tried just changing the 1.3.0 to 1.4.0, that didn't
> work, then I re-read the manual (
> https://guacamole.apache.org/doc/gug/custom-auth.html), copy-pasting the
> suggested pom.xml, and that also fails.  If I edit the 1.4.0 to 1.3.0, it
> works.
>
> Below, it looks like maven is looking for "guacamole-client" instead of
> "guacamole-ext" ... I have no idea why that would be!  Nothing in my
> directory contains the string "guacamole-client"....  I tried removing my
> ~/.m2 directory, no effect.  I'm new to all this, so apologies if this is
> something naive I'm doing wrong.
>
>
I think there's an issue that's been identified with Maven artifacts, and
the guacamole-client one is missing. You can solve this in one of two ways:
1) Just use the 1.3.0 extension with the 1.4.0 Guacamole Client install -
it should work, unless there's something specific from 1.4.0 that you're
trying to leverage.
2) Build the entire Guacamole Client code on the system where you're trying
to build that module, which should give you the JAR artifacts you need.

-Nick