You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2024/09/18 11:55:00 UTC

[jira] [Updated] (IGNITE-23228) Build can fail due to mavenLocal repository in Gradle

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

Pavel Tupitsyn updated IGNITE-23228:
------------------------------------
    Description: 
Some developers experience the following weird error while building the project:

{code}
Execution failed for task ':ignite-raft:integrationTest'.
05:11:09     > Could not resolve all files for configuration ':ignite-raft:integrationTestRuntimeClasspath'.
05:11:09        > Could not find netty-transport-native-epoll-4.1.100.Final-linux-x86_64.jar (io.netty:netty-transport-native-epoll:4.1.100.Final).
05:11:09          Searched in the following locations:
05:11:09              file:/root/.m2/repository/io/netty/netty-transport-native-epoll/4.1.100.Final/netty-transport-native-epoll-4.1.100.Final-linux-x86_64.jar
05:11:09        > Could not find netty-transport-native-epoll-4.1.100.Final-linux-aarch_64.jar (io.netty:netty-transport-native-epoll:4.1.100.Final).
05:11:09          Searched in the following locations:
05:11:09              file:/root/.m2/repository/io/netty/netty-transport-native-epoll/4.1.100.Final/netty-transport-native-epoll-4.1.100.Final-linux-aarch_64.jar
{code}

It is caused by Gradle bug: https://github.com/gradle/gradle/issues/30601

A workaround is to remove *mavenLocal()* from repositories.

  was:
Some developers experience the following weird error while building the project:

{code}
Execution failed for task ':ignite-raft:integrationTest'.
05:11:09     > Could not resolve all files for configuration ':ignite-raft:integrationTestRuntimeClasspath'.
05:11:09        > Could not find netty-transport-native-epoll-4.1.100.Final-linux-x86_64.jar (io.netty:netty-transport-native-epoll:4.1.100.Final).
05:11:09          Searched in the following locations:
05:11:09              file:/root/.m2/repository/io/netty/netty-transport-native-epoll/4.1.100.Final/netty-transport-native-epoll-4.1.100.Final-linux-x86_64.jar
05:11:09        > Could not find netty-transport-native-epoll-4.1.100.Final-linux-aarch_64.jar (io.netty:netty-transport-native-epoll:4.1.100.Final).
05:11:09          Searched in the following locations:
05:11:09              file:/root/.m2/repository/io/netty/netty-transport-native-epoll/4.1.100.Final/netty-transport-native-epoll-4.1.100.Final-linux-aarch_64.jar
{code}


> Build can fail due to mavenLocal repository in Gradle
> -----------------------------------------------------
>
>                 Key: IGNITE-23228
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23228
>             Project: Ignite
>          Issue Type: Bug
>          Components: build
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0
>
>
> Some developers experience the following weird error while building the project:
> {code}
> Execution failed for task ':ignite-raft:integrationTest'.
> 05:11:09     > Could not resolve all files for configuration ':ignite-raft:integrationTestRuntimeClasspath'.
> 05:11:09        > Could not find netty-transport-native-epoll-4.1.100.Final-linux-x86_64.jar (io.netty:netty-transport-native-epoll:4.1.100.Final).
> 05:11:09          Searched in the following locations:
> 05:11:09              file:/root/.m2/repository/io/netty/netty-transport-native-epoll/4.1.100.Final/netty-transport-native-epoll-4.1.100.Final-linux-x86_64.jar
> 05:11:09        > Could not find netty-transport-native-epoll-4.1.100.Final-linux-aarch_64.jar (io.netty:netty-transport-native-epoll:4.1.100.Final).
> 05:11:09          Searched in the following locations:
> 05:11:09              file:/root/.m2/repository/io/netty/netty-transport-native-epoll/4.1.100.Final/netty-transport-native-epoll-4.1.100.Final-linux-aarch_64.jar
> {code}
> It is caused by Gradle bug: https://github.com/gradle/gradle/issues/30601
> A workaround is to remove *mavenLocal()* from repositories.



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