Vadim Pakhnushev created IGNITE-18280:
-----------------------------------------

             Summary: 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


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)

Reply via email to