[
https://issues.apache.org/jira/browse/AVRO-3889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated AVRO-3889:
---------------------------------
Labels: pull-request-available (was: )
> Maven Plugin Always Recompiles IDL Files
> ----------------------------------------
>
> Key: AVRO-3889
> URL: https://issues.apache.org/jira/browse/AVRO-3889
> Project: Apache Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.12.0, 1.11.3, 1.11.4
> Reporter: Brian Cullen
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)