[
https://issues.apache.org/jira/browse/FLINK-8847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler updated FLINK-8847:
------------------------------------
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 {{<arg>-Xpkginfo:always</arg>}} to the compiler configuration to
force the generation of these files to prevent this from happening.
was:
All modules that contain a {{package-info.java}} file (which does 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 {{<arg>-Xpkginfo:always</arg>}} to the compiler configuration to
force the generation of these files to prevent this from happening.
> Modules containing package-info.java are always recompiled
> ----------------------------------------------------------
>
> Key: FLINK-8847
> URL: https://issues.apache.org/jira/browse/FLINK-8847
> Project: Flink
> Issue Type: Bug
> Components: Build System
> Affects Versions: 1.3.2, 1.5.0, 1.4.1
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Minor
> Fix For: 1.5.0, 1.4.3
>
>
> 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 {{<arg>-Xpkginfo:always</arg>}} to the compiler configuration to
> force the generation of these files to prevent this from happening.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)