[ https://issues.apache.org/jira/browse/IGNITE-21592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vyacheslav Koptilin updated IGNITE-21592: ----------------------------------------- Labels: ignite-3 (was: ) > module packaging-java-client may produce artifact resolution error under some > environments > ------------------------------------------------------------------------------------------ > > Key: IGNITE-21592 > URL: https://issues.apache.org/jira/browse/IGNITE-21592 > Project: Ignite > Issue Type: Bug > Reporter: Viacheslav Blinov > Assignee: Viacheslav Blinov > Priority: Blocker > Labels: ignite-3 > Fix For: 3.0.0-beta2 > > Time Spent: 20m > Remaining Estimate: 0h > > After merging IGNITE-21432 and running the following build target: > {noformat} > ./gradlew build -x test -x integrationTest --continue{noformat} > The build fails with following symptoms > {noformat} > 2: Task failed with an exception. > ----------- > * What went wrong: > Execution failed for task ':packaging-java-client:distZip'. > > Could not resolve all files for configuration > > ':packaging-java-client:javaClient'. > > Could not resolve com.github.ben-manes.caffeine:caffeine:3.0.4. > Required by: > project :packaging-java-client > project :ignite-client > project > :ignite-marshaller-common > > The consumer was configured to find attribute > 'org.gradle.jvm.environment' with value 'standard-jvm'. However we cannot > choose between the following variants of > com.github.ben-manes.caffeine:caffeine:3.0.4: > - apiElements > - javadocElements > - runtimeElements > - shadowRuntimeElements > - sourcesElements > All of them match the consumer attributes: > - Variant 'apiElements' capability > com.github.ben-manes.caffeine:caffeine:3.0.4: > - Unmatched attributes: > - Provides org.gradle.category 'library' but the consumer > didn't ask for it > - Provides org.gradle.dependency.bundling 'external' but > the consumer didn't ask for it > - Doesn't say anything about org.gradle.jvm.environment > (required 'standard-jvm') > - Provides org.gradle.jvm.version '11' but the consumer > didn't ask for it > - Provides org.gradle.libraryelements 'jar' but the > consumer didn't ask for it > - Provides org.gradle.status 'release' but the consumer > didn't ask for it > - Provides org.gradle.usage 'java-api' but the consumer > didn't ask for it > - Variant 'javadocElements' capability > com.github.ben-manes.caffeine:caffeine:3.0.4: > - Unmatched attributes: > - Provides org.gradle.category 'documentation' but the > consumer didn't ask for it > - Provides org.gradle.dependency.bundling 'external' but > the consumer didn't ask for it > - Provides org.gradle.docstype 'javadoc' but the consumer > didn't ask for it > - Doesn't say anything about org.gradle.jvm.environment > (required 'standard-jvm') > - Provides org.gradle.status 'release' but the consumer > didn't ask for it > - Provides org.gradle.usage 'java-runtime' but the consumer > didn't ask for it > - Variant 'runtimeElements' capability > com.github.ben-manes.caffeine:caffeine:3.0.4: > - Unmatched attributes: > - Provides org.gradle.category 'library' but the consumer > didn't ask for it > - Provides org.gradle.dependency.bundling 'external' but > the consumer didn't ask for it > - Doesn't say anything about org.gradle.jvm.environment > (required 'standard-jvm') > - Provides org.gradle.jvm.version '11' but the consumer > didn't ask for it > - Provides org.gradle.libraryelements 'jar' but the > consumer didn't ask for it > - Provides org.gradle.status 'release' but the consumer > didn't ask for it > - Provides org.gradle.usage 'java-runtime' but the consumer > didn't ask for it > - Variant 'shadowRuntimeElements' capability > com.github.ben-manes.caffeine:caffeine:3.0.4: > - Unmatched attributes: > - Provides org.gradle.category 'library' but the consumer > didn't ask for it > - Provides org.gradle.dependency.bundling 'shadowed' but > the consumer didn't ask for it > - Doesn't say anything about org.gradle.jvm.environment > (required 'standard-jvm') > - Provides org.gradle.libraryelements 'jar' but the > consumer didn't ask for it > - Provides org.gradle.status 'release' but the consumer > didn't ask for it > - Provides org.gradle.usage 'java-runtime' but the consumer > didn't ask for it > - Variant 'sourcesElements' capability > com.github.ben-manes.caffeine:caffeine:3.0.4: > - Unmatched attributes: > - Provides org.gradle.category 'documentation' but the > consumer didn't ask for it > - Provides org.gradle.dependency.bundling 'external' but > the consumer didn't ask for it > - Provides org.gradle.docstype 'sources' but the consumer > didn't ask for it > - Doesn't say anything about org.gradle.jvm.environment > (required 'standard-jvm') > - Provides org.gradle.status 'release' but the consumer > didn't ask for it > - Provides org.gradle.usage 'java-runtime' but the consumer > didn't ask for it > {noformat} > There is ambiguity in artifact resolution strategy. It might be because > packaging-java-client does not use `java` plugin -- This message was sent by Atlassian Jira (v8.20.10#820010)