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

installFeature task fails after version bump to 3.3 plugin with gradle 7.3.x/7.4 #643

Closed
corporate-gadfly opened this issue Nov 10, 2021 · 6 comments · Fixed by #666
Closed
Assignees
Labels

Comments

@corporate-gadfly
Copy link

No issues with 3.2.1. After version bump to 3.3:

> Task :installFeature FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':installFeature' (type 'InstallFeatureTask').
  - In plugin 'liberty' type 'io.openliberty.tools.gradle.tasks.InstallFeatureTask' property 'additionalJsonList' is missing an input or output annotation.
    
    Reason: A property without annotation isn't considered during up-to-date checking.
    
    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.
    
    Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - In plugin 'liberty' type 'io.openliberty.tools.gradle.tasks.InstallFeatureTask' property 'newProject' is missing an input or output annotation.
    
    Reason: A property without annotation isn't considered during up-to-date checking.
    
    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.
    
    Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#missing_annotation for more details about this problem.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 11s
8 actionable tasks: 8 executed
@corporate-gadfly
Copy link
Author

Looks like the method needs @Internal notation @jjiwooLim?

@cherylking
Copy link
Member

@corporate-gadfly Thanks for bringing this to our attention.

@corporate-gadfly
Copy link
Author

Not sure why this was closed? Still failing with gradle 7.3/7.4 with liberty-gradle-plugin 3.3.

@corporate-gadfly corporate-gadfly changed the title installFeature task fails after version bump to 3.3 plugin with gradle 7.2 installFeature task fails after version bump to 3.3 plugin with gradle 7.3.x/7.4 Feb 18, 2022
@cherylking
Copy link
Member

@corporate-gadfly It was closed because a fix was merged. When the next release is published, it will include this fix.

@cherylking
Copy link
Member

This fix is in the 3.3.1 release published today @corporate-gadfly

@corporate-gadfly
Copy link
Author

TY, works nicely with gradle 7.4.2.

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

Successfully merging a pull request may close this issue.

3 participants