Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[che-dev] Che 6.16 dependency upgrade

In Che 6.16 a lot of dependencies have been upgraded with this PR https://github.com/eclipse/che-parent/pull/93 

Most notable change is the removal of Guice Multibinding depenendency, as it has become a part of Guice core library in latest version.
So, "guice-multibindings" artifact has been removed from Che parent and all upstream repositories. 

If you have a build failing because unable to resolve dependency for "guice-multibindings" https://gist.github.com/garagatyi/33e8d0461db254dc26c7e9e3939c27e9
simply remove it from the POM, and use core Guice library instead ("com.google.inject:guice:4.2.2:jar")

There are also possible issues with building specific assemblies, that cannot access classes from "swagger-jaxrs" library, for example:

/che/che/assembly/assembly-wsagent-war/src/main/java/org/eclipse/che/wsagent/server/SwaggerServletModule.java:23: error: package io.swagger.jaxrs.config does not exist
    bind(io.swagger.jaxrs.config.DefaultJaxrsConfig.class).asEagerSingleton();

These issues won't happen if you perform a fresh pull and build of che-parent -> che-lib -> che

--

MYKHAILO KUZNIETSOV

Red Hat 

mkuznets@xxxxxxxxxx   


Back to the top