Uploaded image for project: 'odlparent'
  1. odlparent
  2. ODLPARENT-198

Do not add JSR305 to default dependencies

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 5.0.0
    • General
    • None

    Description

      The fact that JSR305 is on the classpath always has ill effects on immutables.org when combined with Java EE annotations.

      The annotations clash on package name and both are scope=runtime. immutables.org will needlessly generate JSR305 because it sees them on the classpath - requiring dance around making the package not leak into bundle manifest.

      Remove jsr305 from default dependencies while keeping it in dependencyManagement section. This way downstreams will not have it by default and can opt in if they need them.

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: