Maksim Myskov created IGNITE-24225:
--------------------------------------

             Summary: Failing build on Java 21
                 Key: IGNITE-24225
                 URL: https://issues.apache.org/jira/browse/IGNITE-24225
             Project: Ignite
          Issue Type: New Feature
            Reporter: Maksim Myskov
            Assignee: Maksim Myskov


The output:
{code:java}
Could not determine the dependencies of task 
':spring-boot-starter-ignite-client-example:checkstyleMain'.
> Could not resolve all task dependencies for configuration 
> ':spring-boot-starter-ignite-client-example:compileClasspath'.
   > Could not resolve project :spring-boot-starter-ignite-client.
     Required by:
         project :spring-boot-starter-ignite-client-example
      > No matching variant of project :spring-boot-starter-ignite-client was 
found. The consumer was configured to find a library for use during 
compile-time, compatible with Java 17, preferably in the form of class files, 
preferably optimized for standard JVMs, and its dependencies declared 
externally but:
          - Variant 'apiElements' capability 
org.apache.ignite:spring-boot-starter-ignite-client:3.0.0-SNAPSHOT declares a 
library for use during compile-time, packaged as a jar, and its dependencies 
declared externally:
              - Incompatible because this component declares a component, 
compatible with Java 21 and the consumer needed a component, compatible with 
Java 17
              - Other compatible attribute:
                  - Doesn't say anything about its target Java environment 
(preferred optimized for standard JVMs)
          - Variant 'mainSourceElements' capability 
org.apache.ignite:spring-boot-starter-ignite-client:3.0.0-SNAPSHOT declares a 
component, and its dependencies declared externally:
              - Incompatible because this component declares a component of 
category 'verification' and the consumer needed a library
              - Other compatible attributes:
                  - Doesn't say anything about its target Java environment 
(preferred optimized for standard JVMs)
                  - Doesn't say anything about its target Java version 
(required compatibility with Java 17)
                  - Doesn't say anything about its elements (required them 
preferably in the form of class files)
                  - Doesn't say anything about its usage (required compile-time)
          - Variant 'runtimeElements' capability 
org.apache.ignite:spring-boot-starter-ignite-client:3.0.0-SNAPSHOT declares a 
library for use during runtime, packaged as a jar, and its dependencies 
declared externally:
              - Incompatible because this component declares a component, 
compatible with Java 21 and the consumer needed a component, compatible with 
Java 17
              - Other compatible attribute:
                  - Doesn't say anything about its target Java environment 
(preferred optimized for standard JVMs) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to