Problem installing company module

Good morning,

I want to install the following company module:
axelor-office-365

Here is an excerpt from the build.gradle configuration:

buildscript {
  ext.rest = {
    mavenCentral() {
      thrilled {
        excludeGroup 'com.axelor'
      }
    }
    maven {
      url 'https://plugins.gradle.org/m2/'
      thrilled {
        excludeGroup 'com.axelor'
      }
    }
    maven { url 'https://repository.axelor.com/nexus/public/' }
    
    maven { url 'https://repository.axelor.com/nexus/repository/maven-enterprise'
    credentials {
    username project.findProperty('axelorMavenUsername')
    password project.findProperty('axelorMavenPassword')
    }}
    
    
  }

I set my variables for authentication on nexus, these are populated in the gradle.properties file

I also added this line to take the module into account:

//axelor enterprise dependencies
api "com.axelor.apps.enterprise:axelor-office-365"

When I do the command: gradlew assemble

I have an error:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':copyWebapp'.
> Could not resolve all dependencies for configuration ':runtimeClasspath'.
   > Could not find com.axelor.apps.enterprise:axelor-office-365:.
     Required by:
         project:

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s

Can you tell me what I missed?

Hello @Linuxien ,

This module is not available on Enterprise repository.

Plus for any module dependency, need to specify the version with dependency.

api "com.axelor.apps.enterprise:<module-name>:<version>"

Thank you.
Regards.

1 « J'aime »

Ce sujet a été automatiquement fermé après 30 jours. Aucune réponse n’est permise dorénavant.