On Fri, Jul 5, 2019 at 8:57 AM Niubbo75 <[email protected]> wrote: > Hello all, I am trying to create a .jar from source of TOTP but I get this > error: > > [ERROR] Failed to execute goal on project guacamole-auth-totp: Could not > resolve dependencies for project > org.apache.guacamole:guacamole-auth-totp:jar:1.1.0: Failure to find > org.apache.guacamole:guacamole-ext:jar:1.1.0 in > https://repo.maven.apache.org/maven2 was cached in the local repository, > resolution will not be reattempted until the update interval of central has > elapsed or updates are forced -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal on project guacamole-auth-totp: Could not resolve dependencies for > project org.apache.guacamole:guacamole-auth-totp:jar:1.1.0: Failure to find > org.apache.guacamole:guacamole-ext:jar:1.1.0 in > https://repo.maven.apache.org/maven2 was cached in the local repository, > resolution will not be reattempted until the update interval of central has > elapsed or updates are forced > > Where I'm wrong? What did I miss? I'm totally newbe and I'm trying to > learn, > thanks for your reply. > Alessandro > > A couple of things, here: - It looks like maybe you're trying to build the TOTP module by itself, without building the entire code base? You probably should do this - maybe make sure you're executing the "mvn package" command at the top-level guacamole-client directory so that everything gets built? - You actually should be able to build individual components, normally; however, you're building from the git repo, which means that the dependencies (like guacamole-ext) for that version are not going to exist in the upstream maven repositories. That's one reason you need to build the entire project and not just one component. Once 1.1.0 is actually released this would probably work, but, until then, you'll need to build the whole package. - Also, just a note, if you're trying to just build a single component, make sure you're installing that into the same version of code that you're running your Guacamole install on. If you have version 1.0.0 running, don't try to build TOTP from git (1.1.0) and install that - it likely won't work.
-Nick
