Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8847

Modules containing package-info.java are always recompiled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.2, 1.4.1, 1.5.0
    • 1.4.3, 1.5.0
    • Build System
    • None

    Description

      All modules that contain a package-info.java file (that do not contain annotations which applies to all instances in Flink) will always be recompiled by the maven-compiler-plugin.

      To detect modified files the compiler compares timestamps of the source and .class file. In the case of package-info.java no .class file is created if it doesn't contain annotations, which the compiler interprets as a missing .class file.

      We can add -Xpkginfo:always to the compiler configuration to force the generation of these files to prevent this from happening.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: