Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-6619

Unexpected warnings from licenses plugin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • None
    • Build System
    • None

    Description

      When building WildFly Core I realized that the license plugin is logging warnings when there is a mismatch between the license name declared on the dependency and the local license name, e.g:

      [WARNING] Possible license mismatch for com.googlecode.javaewah:JavaEWAH, check that the configuration files are up to date
      Declared licenses: 'Apache 2'
      Local licenses: 'Apache License 2.0'
      

      The above one looks good, even if we do not have control over the declared dependency source code, is a good warning that forces us to check whether the processed license is valid.

      However, I've also found these warnings which do not make sense at all:

      [WARNING] Possible license mismatch for org.jboss:jboss-dmr, check that the configuration files are up to date
      Declared licenses: 'Apache License 2.0'
      Local licenses: 'Apache License 2.0'
      

      In this case, the declared and local licenses match.

      Attachments

        Activity

          People

            mpetrov@redhat.com Michal Petrov
            yborgess1@redhat.com Yeray Borges Santana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: