CUBA repository access

Hello, is the repo: https://repo.cuba-platform.com/content/groups/premium still active?
I have an old project on Cuba Platform and I need to download the com.haulmont.addon.msg:cuba-msg-global:0.5-SNAPSHOT dependency.

I have an active license.

thanks in advance.

Hi Enrique,

Yes the repository is active and the artifact you mentioned is available in it.
What kind of problem do you have?

Regards,
Konstantin

It seems like there is a permission missing for my license.

this is the error message I get:

A problem occurred configuring project ‘:core’.

Could not resolve all dependencies for configuration ‘:appComponent’.
Could not resolve com.haulmont.addon.msg:cuba-msg-global:0.5-SNAPSHOT.
Required by:
project :
Could not resolve com.haulmont.addon.msg:cuba-msg-global:0.5-SNAPSHOT.
Unable to load Maven meta-data from https://repo.cuba-platform.com/content/groups/premium/com/haulmont/addon/msg/cuba-msg-global/0.5-SNAPSHOT/maven-metadata.xml.
Could not get resource ‘https://repo.cuba-platform.com/content/groups/premium/com/haulmont/addon/msg/cuba-msg-global/0.5-SNAPSHOT/maven-metadata.xml’.
Could not GET ‘https://repo.cuba-platform.com/content/groups/premium/com/haulmont/addon/msg/cuba-msg-global/0.5-SNAPSHOT/maven-metadata.xml’. Received status code 403 from server: Forbidden

I get the same message when I tried to access the repository on: Nexus Repository Manager

Hi Enrique,

Configured the missing add-on permission for your license.

Can you please try assembling project again?

Regards,
Sergey.

I still can’t assemble the project, it just keeps downloading.

Please try to assemble the project on the command line first: Starting Build Tasks - CUBA Platform. Developer’s Manual

Attach the output if it fails.

hello, it does not fail, but it takes a lot of time:
image

Was the build performed on a clean project? Or are the subsequent builds also slow?
Is there a web-toolkit module in the project?

To get more information, I recommend running a build with profiling. Detailed information about the build time can be obtained using the --profile flag.

gradlew assemble --profile

An HTML profiling report will be generated with the duration of build steps and dependency resolution.

Regards,
Sergey.

after I run gradlew assemble --profile
this are what take more time compiling:
image
image
image

All dependencies 7h38m3.67s

It could be network problem with dependency resolution. Enable Gradle Offline Mode and try again.

gradlew assemble --profile --offline

As recommended in the documentation Configure the Proxy Repository - CUBA Platform. Developer’s Manual

Is the jmix enterprise license the correct license to configure this nexus proxy?

Can this license also be assigned to a developer of the enterprise plan?

If I understand correctly, you are setting up a local Nexus repository to store platform artifacts and other dependencies. The instructions for this can be found at the following link: Setting Up a Private Artifact Repository - CUBA Platform. Developer’s Manual.

For authentication to the premium repository and access to premium add-ons, you will need to specify your valid license key as the username and password according to the instructions.

Remote Storage Location: https://repo.cuba-platform.com/content/groups/premium
Enable Authentication, set the first part of your license key (before the dash) in the Username field and the second part of your license key (after the dash) in the Password field.

Can this license also be assigned to a developer of the enterprise plan?

Yes, the valid license key used to connect the proxy can continue to be used by the developer.

1 Like

Hello, is this artefact still available?
image

Unfortunately, this artifact is not present in our repositories.

1 Like