You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2024/01/03 09:41:00 UTC
[jira] [Resolved] (AVRO-3889) Maven Plugin Always Recompiles IDL Files
[ https://issues.apache.org/jira/browse/AVRO-3889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Tzvetanov Grigorov resolved AVRO-3889.
---------------------------------------------
Fix Version/s: 1.12.0
1.11.4
Assignee: Oscar Westra van Holthe - Kind
Resolution: Fixed
> 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: build, java
> Affects Versions: 1.12.0, 1.11.3, 1.11.4
> Reporter: Brian Cullen
> Assignee: Oscar Westra van Holthe - Kind
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.12.0, 1.11.4
>
> Time Spent: 2h
> 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)