rackerlabs / gradle-jaxb-plugin

Gradle plugin to ease projects that use xsds and the ant jaxb task
GNU General Public License v2.0
34 stars 21 forks source link

Gradle 7: JaxbDependencyTree missing input/output annotations #51

Open pbrown-gh opened 3 years ago

pbrown-gh commented 3 years ago

Gradle v7.0.0 gradle-jaxb-plugin v2.5.0

A number of fields in the JaxbDependencyTree class are missing annotations. This breaks builds.

  - Type 'JaxbDependencyTree' property 'dependencyTreeFactory' 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.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'JaxbDependencyTree' property 'docFactory' 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.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'JaxbDependencyTree' property 'externalDependencyResolver' 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.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'JaxbDependencyTree' property 'namespaceResolver' 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.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
liuqu11 commented 2 years ago

How to solve?

seanrl commented 2 years ago

If you are still trying to get this resolved, feel free to use my fork's plugin instead.

https://plugins.gradle.org/plugin/com.github.seanrl.jaxb

I didn't know when or if the maintainers here would have time to merge my PR in, so I had to get my fork published for my projects' use. I don't have any intentions of "taking up the mantle" of this entire project, but unless/until it becomes more active again, I'll be keeping my fork functional and up-to-date with the latest Gradle.

scottrobey commented 2 years ago

There's an open PR for this issue, any chance an admin could verify and merge the PR?