[ 
https://issues.apache.org/jira/browse/MCOMPILER-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722487#comment-16722487
 ] 

Gili commented on MCOMPILER-368:
--------------------------------

You don't need to analyze its contents, just its timestamp (which you
already do). You can just dump a path,  timestamp pair into some metadata
file and use its contents to subtract entries from the "stale file" list.




> 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
(v7.6.3#76005)

Reply via email to