Project fails to build after installation of a licensed maps add-on

Hi,
I had installed the trial version of the maps add-on module in one of my project and I’ve replaced it with a licensed one. Once my subscription was activated, the project failed to build and I’ve noticed several problems: In particular:

  1. When I try to reload all Gradle projects, the process takes about 30 minutes.
  2. When the process in (1) is completed , I get the following error:

Execution failed for task ‘:jbp-web:buildScssThemes’.

Could not resolve all dependencies for configuration ‘:jbp-web:compile’.
Could not resolve org.webjars.npm:domelementtype:[2.2.0,3).
Required by:
project :jbp-web > com.haulmont.addon.grapesjs:grapesjs-web:0.5.3 > org.webjars.npm:github-com-artf-grapesjs-preset-newsletter:0.2.20 > org.webjars.npm:juice:4.3.2 > org.webjars.npm:web-resource-inliner:4.3.4 > org.webjars.npm:htmlparser2:4.1.0 > org.webjars.npm:domutils:2.5.1
project :jbp-web > com.haulmont.addon.grapesjs:grapesjs-web:0.5.3 > org.webjars.npm:github-com-artf-grapesjs-preset-newsletter:0.2.20 > org.webjars.npm:juice:4.3.2 > org.webjars.npm:web-resource-inliner:4.3.4 > org.webjars.npm:htmlparser2:4.1.0 > org.webjars.npm:domhandler:4.1.0
Failed to list versions for org.webjars.npm:domelementtype.
Unable to load Maven meta-data from https://repo.cuba-platform.com/content/groups/premium/org/webjars/npm/domelementtype/maven-metadata.xml.
Could not get resource ‘https://repo.cuba-platform.com/content/groups/premium/org/webjars/npm/domelementtype/maven-metadata.xml’.
Could not GET ‘https://repo.cuba-platform.com/content/groups/premium/org/webjars/npm/domelementtype/maven-metadata.xml’. Received status code 403 from server: Forbidden

I had previously installed the grapejs add-on but I uninstalled it and the error message remains.

In addition to that, I have defined the username & password based on my subscription for premium repository in build.gradle:

maven {
url ‘https://repo.cuba-platform.com/content/groups/premium

        credentials {
            username('XXXXXX')
            password('YYYYYY')
        }
    }

Please advice since I’ve been working on a large project and now it is not working.

Regards,
George

Hi,

I’m facing this error too inside my project. I found they update the jar yesterday.
Trying to include it into my project by manual. Hopefully CUBA nexus can update cache quickly.

image

Regards,
CK

Hi,
We are aware of this problem related to the domelementtype library, and are working to resolve it.

Hi,

we’re seeing the same thing this morning with the grapesjs addon. I’m sure it’s only temporary so we’ve just commented out anything that uses grapesjs until it is working again. A suggestion is as well as commenting out references to grapesjs, to also invalid caches ( file\invalidate caches )
Hope that helps:)

Hi,
The problem with the GrapesJS addon and the domelementtype library has been fixed in the repository.

2 Likes

Thank you!
It’s working properly now.

Regards,
George