You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vadim Pakhnushev (Jira)" <ji...@apache.org> on 2022/11/29 13:40:00 UTC

[jira] [Updated] (IGNITE-18280) Declare proper dependencies in the packaging tasks

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

Vadim Pakhnushev updated IGNITE-18280:
--------------------------------------
    Epic Link: IGNITE-17483

> Declare proper dependencies in the packaging tasks
> --------------------------------------------------
>
>                 Key: IGNITE-18280
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18280
>             Project: Ignite
>          Issue Type: Improvement
>          Components: build
>            Reporter: Vadim Pakhnushev
>            Assignee: Vadim Pakhnushev
>            Priority: Major
>              Labels: ignite-3
>
> When running `prepareRelease` task, gradle complains about tasks using output of other tasks without declaring a dependency.
> {code:java}
> > Task :packaging:signAllDistZip
> Execution optimizations have been disabled for task ':packaging:signAllDistZip' to ensure correctness due to the following reasons:
>   - Gradle detected a problem with the following location: 'C:\ignite-3\packaging\build\distributions\ignite3-3.0.0-SNAPSHOT.zip'. Reason: Task ':packaging:signAllDistZip' uses this output of task ':packaging:createChecksums' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
> > Task :packaging:signAllSrcZip
> Execution optimizations have been disabled for task ':packaging:signAllSrcZip' to ensure correctness due to the following reasons:
>   - Gradle detected a problem with the following location: 'C:\ignite-3\packaging\build\distributions\apache-ignite-3.0.0-SNAPSHOT-src.zip'. Reason: Task ':packaging:signAllSrcZip' uses this output of task ':packaging:createChecksums' without declaring an explicit or implicit dependency...
> > Task :packaging-cli:replacePostInstallScriptVars
> Execution optimizations have been disabled for task ':packaging-cli:replacePostInstallScriptVars' to ensure correctness due to the following reasons:
>   - Gradle detected a problem with the following location: 'C:\ignite-3\packaging\cli\build'. Reason: Task ':packaging-cli:distZip' uses this output of task ':packaging-cli:replacePostInstallScriptVars' without declaring an explicit or implicit dependency...
> ...
> {code}



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