Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12195

Add annotation to package-info.java file to workaround MCOMPILER-205

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.0.6-alpha
    • 2.8.0, 3.0.0-alpha1
    • None
    • None

    Description

      Maven fails incremental builds when there are source files that do not generate class files. One example of this is package-info.java. This (old) issue is tracked at MCOMPILER-205, where the recommended workaround is adding an annotation to the class.

      After this, with some other related fixes, I was able to do a proper incremental maven build.

      Attachments

        1. hadoop-12195.001.patch
          0.8 kB
          Andrew Wang

        Activity

          People

            andrew.wang Andrew Wang
            andrew.wang Andrew Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: