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

Fixed some problems with tag lib generation #1

Merged
merged 2 commits into from
Jul 10, 2023

Commits on Jul 10, 2023

  1. Made plugin more robust against different project types.

    When the plugin is executed in a project of type pom it throws an
    exception because it cannot find the source directory. This is now
    suppressed, and no data is generated for this project.
    
    The use case is that there can be multi-module projects defining
    multiple tag libs. Then it makes sense to have a parent project (of
    type pom) which configures the plugin. The plugin is then applied to
    all taglib sub projects. With this patch, this use case is now
    supported.
    oheger authored and basil committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    55eab5b View commit details
    Browse the repository at this point in the history
  2. Fixed a NPE when processing some tag libraries.

    If a tag library contained abstract base classes for tags, the plugin
    failed with a NPE in ReferenceRenderer. In this constellation, the
    XML schema document contained an empty element without attributes.
    
    This has been fixed by checking for an abstract tag before adding an
    element to the library.
    oheger authored and basil committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    4b28882 View commit details
    Browse the repository at this point in the history