You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2022/02/04 10:00:00 UTC

[jira] [Closed] (MCOMPILER-368) package-info.java always triggers recompilation of module

     [ https://issues.apache.org/jira/browse/MCOMPILER-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet closed MCOMPILER-368.
-------------------------------------
    Resolution: Duplicate

The problem with the {{package-info.java}} source file causing a recompilation is clearly explained in MCOMPILER-205, so closing this bug as a duplicate.

> package-info.java always triggers recompilation of module
> ---------------------------------------------------------
>
>                 Key: MCOMPILER-368
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-368
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.8.0
>         Environment: Microsoft Windows [Version 10.0.17763.194]
> Maven 3.6.0
> maven-compiler-plugin 3.8.0
>            Reporter: Gili
>            Priority: Major
>         Attachments: testcase.zip
>
>
> # Unzip testcase
>  # Run: mvn install
>  # Notice that maven-compiler-plugin always claims package-info.java is stale and forces recompilation of entire module
> When package-info.java is present in large modules build times suffer noticeably.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)