Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3889

Maven Plugin Always Recompiles IDL Files

    XMLWordPrintableJSON

Details

    Description

      Currently both the TestIDLProtocolMojo (in version 1.11.x) and the IDLMojo in master fail to pass the source file into the compiler when calling the compile to destination method. This means that the IDL files are never registered as up to date and are always recompiled when the plugin is executed. The knock on effect of this is that the maven compiler plugin always thinks it needs to recompile the whole project which is not ideal.

      It does appear that this is a simple change to pass the source file into the method so that the up to date check can be preformed. I have made the change locally and to try it out. It appears to work but I don't know if I'm missing something that means this won't work in some cases.

      Attachments

        Activity

          People

            owvhk Oscar Westra van Holthe - Kind
            brian.cullen Brian Cullen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h