Uploaded image for project: 'Maven Shade Plugin'
  1. Maven Shade Plugin
  2. MSHADE-434

Strange side-effect on rat-plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.0
    • None
    • None

    Description

      When upgrading the shade-plugin from 3.2.4 to 3.3.0, without changing anything else, the Apache Flink builds are getting failed by the rat-plugin, complaining about a number of files in the root target/ directory.

      These files do exist, but are usually excluded by the plugin.
      For some reason upgrading the shade-plugin is changing this behavior.

      [WARNING] Files with unapproved licenses:
        /home/chesnay/dev/repos/flink/flink/target/rat.txt
        /home/chesnay/dev/repos/flink/flink/target/checkstyle-result.xml
        /home/chesnay/dev/repos/flink/flink/target/checkstyle-cachefile
      

      This is reeeeally strange, and were wondering if you guys have any ideas for what could going on here.

      Interestingly enough explicitly listing these files (e.g., **/rat.txt) results in them being excluded again.

      This happened with Java 8 + Maven 3.2.5 and Java 11 + Maven 3.8.6 and is 100% reproducible.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: