Здравствуйте!
Пытаюсь собрать проект gradlew assemble -PpremiumRepoUser=NNNNNN -PpremiumRepoPass=********
Получаю:
* What went wrong:
A problem occurred configuring project ':eias3-core'.
> Could not resolve all dependencies for configuration ':appComponent'.
> Could not resolve com.haulmont.reports:reports-global:6.10.7.
Required by:
project :
> Could not resolve com.haulmont.reports:reports-global:6.10.7.
> Could not get resource 'https://repo.cuba-platform.com/content/groups/premium/com/haulmont/reports/reports-global/6.10.7/reports-global-6.10.7.pom'.
> Could not GET 'https://repo.cuba-platform.com/content/groups/premium/com/haulmont/reports/reports-global/6.10.7/reports-global-6.10.7.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.haulmont.bpm:bpm-global:6.10.7.
Required by:
project :
> Could not resolve com.haulmont.bpm:bpm-global:6.10.7.
> Could not get resource 'https://repo.cuba-platform.com/content/groups/premium/com/haulmont/bpm/bpm-global/6.10.7/bpm-global-6.10.7.pom'.
> Could not GET 'https://repo.cuba-platform.com/content/groups/premium/com/haulmont/bpm/bpm-global/6.10.7/bpm-global-6.10.7.pom'. Received status code 403 from server: Forbidden}
build.gradle:
buildscript {
ext.cubaVersion = '6.10.7'
repositories {
mavenLocal()
maven {
url 'https://repo.cuba-platform.com/content/groups/work'
credentials {
username(rootProject.hasProperty('repoUser') ? rootProject['repoUser'] : 'cuba')
password(rootProject.hasProperty('repoPass') ? rootProject['repoPass'] : 'cuba123')
}
}
maven {
url 'https://repo.cuba-platform.com/content/groups/premium'
credentials {
username(rootProject.hasProperty('premiumRepoUser') ? rootProject['premiumRepoUser'] : System.getenv('CUBA_PREMIUM_USER'))
password(rootProject.hasProperty('premiumRepoPass') ? rootProject['premiumRepoPass'] : System.getenv('CUBA_PREMIUM_PASSWORD'))
}
}
}
dependencies {
classpath "com.haulmont.gradle:cuba-plugin:$cubaVersion"
}
}
…