Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin fails with Gradle configuration cache enabled #20

Closed
sergeykad opened this issue Jun 16, 2021 · 4 comments
Closed

The plugin fails with Gradle configuration cache enabled #20

sergeykad opened this issue Jun 16, 2021 · 4 comments

Comments

@sergeykad
Copy link

There is a new Gradle feature - configuration caching: https://docs.gradle.org/current/userguide/configuration_cache.html
This plugin is not compatible with it and fails if the caching feature is enabled.

The following error is printed:

* What went wrong:
Some problems were found with the configuration of task ':broker-model:xjc' (type 'XjcTask').
  - Type 'com.github.bjornvester.xjc.XjcTask' property 'xjcBindConfiguration' doesn't have a configured value.
    
    Reason: This property isn't marked as optional and no value has been configured.
    
    Possible solutions:
      1. Assign a value to 'xjcBindConfiguration'.
      2. Mark property 'xjcBindConfiguration' as optional.
    
    Please refer to https://docs.gradle.org/7.1/userguide/validation_problems.html#value_not_set for more details about this problem.
  - Type 'com.github.bjornvester.xjc.XjcTask' property 'xjcConfiguration' doesn't have a configured value.
    
    Reason: This property isn't marked as optional and no value has been configured.
    
    Possible solutions:
      1. Assign a value to 'xjcConfiguration'.
      2. Mark property 'xjcConfiguration' as optional.
    
    Please refer to https://docs.gradle.org/7.1/userguide/validation_problems.html#value_not_set for more details about this problem.
  - Type 'com.github.bjornvester.xjc.XjcTask' property 'xjcPluginsConfiguration' doesn't have a configured value.
    
    Reason: This property isn't marked as optional and no value has been configured.
    
    Possible solutions:
      1. Assign a value to 'xjcPluginsConfiguration'.
      2. Mark property 'xjcPluginsConfiguration' as optional.
    
    Please refer to https://docs.gradle.org/7.1/userguide/validation_problems.html#value_not_set for more details about this problem.
@sergeykad sergeykad changed the title The plugin fails with Gradle cache configuration enabled The plugin fails with Gradle configuration cache enabled Jun 16, 2021
@belovaf
Copy link

belovaf commented Jan 30, 2022

Imade PR which fix this issue.
#22

@davemaul
Copy link

davemaul commented Mar 9, 2023

@bjornvester it'd be great if you could merge the PR. :)

@ChristianCiach
Copy link

ChristianCiach commented Jun 29, 2023

@bjornvester You don't seem to react to any issue or PR in this repo, ever. This is your good right, but I recommend to disable the Issues- and PR tabs in your Github project if you have no interest in interacting with the community. Otherwise people just waste their time.

@sergeykad
Copy link
Author

Closing, since the issue was resolved in v1.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants