You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ijuma (via GitHub)" <gi...@apache.org> on 2023/02/28 05:20:42 UTC

[GitHub] [kafka] ijuma opened a new pull request, #13316: MINOR: srcJar should depend on processMessages task

ijuma opened a new pull request, #13316:
URL: https://github.com/apache/kafka/pull/13316

   This fixes the following `./gradlew install` issue:
   
   ```text
   * What went wrong:
   A problem was found with the configuration of task ':storage:srcJar' (type 'Jar').
     - Gradle detected a problem with the following location: '/Users/ijuma/src/kafka/storage/src/generated/java'.
   
       Reason: Task ':storage:srcJar' uses this output of task ':storage:processMessages' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
   
       Possible solutions:
         1. Declare task ':storage:processMessages' as an input of ':storage:srcJar'.
         2. Declare an explicit dependency on ':storage:processMessages' from ':storage:srcJar' using Task#dependsOn.
         3. Declare an explicit dependency on ':storage:processMessages' from ':storage:srcJar' using Task#mustRunAfter.
   
       Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
   ```
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [kafka] ijuma merged pull request #13316: MINOR: srcJar should depend on processMessages task

Posted by "ijuma (via GitHub)" <gi...@apache.org>.
ijuma merged PR #13316:
URL: https://github.com/apache/kafka/pull/13316


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [kafka] ijuma commented on pull request #13316: MINOR: srcJar should depend on processMessages task

Posted by "ijuma (via GitHub)" <gi...@apache.org>.
ijuma commented on PR #13316:
URL: https://github.com/apache/kafka/pull/13316#issuecomment-1448363891

   Test failures are unrelated.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org