Проблема сборки при подключении новой темы

версия 1.4.2
проект собирается нормально, пока не создаю тему.
После этого выдает ошибку при билде
Сертификаты с Central Repository:, https://nexus.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom,https://global.repo.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom в JAVA_HOME через keytool -import устанавливал
Для чистоты эксперимента создал новый проект - та же самая история.
На другой машине - то же самое

по ссылке https://repo.maven.apache.org/maven2/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom возвращает 404

текст ошибки билда:

* What went wrong:
Execution failed for task ':compileThemes'.
> Could not resolve all dependencies for configuration ':themes'.
   > Could not resolve io.jmix.ui:jmix-ui-themes:1.4.2.
     Required by:
         project :
      > Could not resolve io.jmix.ui:jmix-ui-themes:1.4.2.
         > Could not get resource 'https://repo.maven.apache.org/maven2/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom'.
            > Could not GET 'https://repo.maven.apache.org/maven2/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom'.
               > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.5.1/userguide/build_environment.html#gradle_system_properties
                  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      > Could not resolve io.jmix.ui:jmix-ui-themes:1.4.2.
         > Could not get resource 'https://global.repo.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom'.
            > Could not GET 'https://global.repo.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom'.
               > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.5.1/userguide/build_environment.html#gradle_system_properties
                  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      > Could not resolve io.jmix.ui:jmix-ui-themes:1.4.2.
         > Could not get resource 'https://nexus.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom'.
            > Could not GET 'https://nexus.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom'.
               > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.5.1/userguide/build_environment.html#gradle_system_properties
                  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
   > Could not resolve io.jmix.ui:jmix-ui-themes:1.4.2.
     Required by:
         project : > io.jmix.bom:jmix-bom:1.4.2
      > Could not resolve io.jmix.ui:jmix-ui-themes:1.4.2.
         > Could not get resource 'https://repo.maven.apache.org/maven2/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom'.
            > Could not GET 'https://repo.maven.apache.org/maven2/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom'.
               > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.5.1/userguide/build_environment.html#gradle_system_properties
                  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      > Could not resolve io.jmix.ui:jmix-ui-themes:1.4.2.
         > Could not get resource 'https://global.repo.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom'.
            > Could not GET 'https://global.repo.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom'.
               > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.5.1/userguide/build_environment.html#gradle_system_properties
                  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      > Could not resolve io.jmix.ui:jmix-ui-themes:1.4.2.
         > Could not get resource 'https://nexus.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom'.
            > Could not GET 'https://nexus.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes/1.4.2/jmix-ui-themes-1.4.2.pom'.
               > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.5.1/userguide/build_environment.html#gradle_system_properties
                  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Вы уверены что правильно установили сертификаты?
Для Windows должно быть что-то вроде такого:

cd \Program Files\BellSoft\LibericaJDK-11\lib\security
..\..\bin\keytool -import -trustcacerts -keystore cacerts -storepass changeit -noprompt -alias global-repo-jmix -file D:\Users\me\Documents\global-repo-jmix.cer

Другие артефакты могут не давать ошибку потому что они уже загружены в кэш Gradle.

1 симпатия

В SDK-шную папку тоже ставил.

Проблему решил.
Оказывается, у нас в канал воткнули ещё и юзергейт, сертификатов которого не хватало для построения полной цепочки сертификатов.

Другие артефакты могут не давать ошибку потому что они уже загружены в кэш Gradle.
Да - действительно так.

Спасибо!!!

1 симпатия