[ 
https://issues.apache.org/jira/browse/IGNITE-19418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vadim Pakhnushev updated IGNITE-19418:
--------------------------------------
    Description: 
Running {{./gradlew check}} with JAVA_HOME set to JDK 17, build fails with the 
following message:
{noformat}
Could not determine the dependencies of task ':ignite-arch-test:checkstyleTest'.
> Could not resolve all task dependencies for configuration 
> ':ignite-arch-test:testCompileClasspath'.
   > Could not resolve project :packaging.
     Required by:
         project :ignite-arch-test
      > No matching variant of project :packaging was found. The consumer was 
configured to find an API of a library compatible with Java 11, preferably in 
the form of class files, preferably optimized for standard JVMs, and its 
dependencies declared externally but:
          - Variant 'apiElements' capability 
org.apache.ignite:packaging:3.0.0-SNAPSHOT declares an API of a library, 
packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component 
compatible with Java 17 and the consumer needed a component compatible with 
Java 11
{noformat}


  was:
Running {{./gradlew check}} with JAVA_HOME set to JDK 17, build fails with the 
following message:
{code}
Could not determine the dependencies of task ':ignite-arch-test:checkstyleTest'.
> Could not resolve all task dependencies for configuration 
> ':ignite-arch-test:testCompileClasspath'.
   > Could not resolve project :packaging.
     Required by:
         project :ignite-arch-test
      > No matching variant of project :packaging was found. The consumer was 
configured to find an API of a library compatible with Java 11, preferably in 
the form of class files, preferably optimized for standard JVMs, and its 
dependencies declared externally but:
          - Variant 'apiElements' capability 
org.apache.ignite:packaging:3.0.0-SNAPSHOT declares an API of a library, 
packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component 
compatible with Java 17 and the consumer needed a component compatible with 
Java 11
{code}



> Fix gradle build with JDK 17
> ----------------------------
>
>                 Key: IGNITE-19418
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19418
>             Project: Ignite
>          Issue Type: Bug
>          Components: build
>            Reporter: Vadim Pakhnushev
>            Assignee: Vadim Pakhnushev
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Running {{./gradlew check}} with JAVA_HOME set to JDK 17, build fails with 
> the following message:
> {noformat}
> Could not determine the dependencies of task 
> ':ignite-arch-test:checkstyleTest'.
> > Could not resolve all task dependencies for configuration 
> > ':ignite-arch-test:testCompileClasspath'.
>    > Could not resolve project :packaging.
>      Required by:
>          project :ignite-arch-test
>       > No matching variant of project :packaging was found. The consumer was 
> configured to find an API of a library compatible with Java 11, preferably in 
> the form of class files, preferably optimized for standard JVMs, and its 
> dependencies declared externally but:
>           - Variant 'apiElements' capability 
> org.apache.ignite:packaging:3.0.0-SNAPSHOT declares an API of a library, 
> packaged as a jar, and its dependencies declared externally:
>               - Incompatible because this component declares a component 
> compatible with Java 17 and the consumer needed a component compatible with 
> Java 11
> {noformat}



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

Reply via email to