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

Guillaume Nodet updated MCOMPILER-483:
--------------------------------------
    Description: 
This happens when the package-info.java only contains some javadoc.  In these 
cases, no class is generated by the compiler and the plugin thus thinks that 
the class file has been deleted or is not uptodate.  This cause the jar to be 
rebuilt and can cause lots of downstream compilation in reactor projects.

A workaround is to exclude those java files from the compilation process, but 
that's really not a good idea.

> Stale files detection wrongly detect package-info.java as stale
> ---------------------------------------------------------------
>
>                 Key: MCOMPILER-483
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-483
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Priority: Major
>
> This happens when the package-info.java only contains some javadoc.  In these 
> cases, no class is generated by the compiler and the plugin thus thinks that 
> the class file has been deleted or is not uptodate.  This cause the jar to be 
> rebuilt and can cause lots of downstream compilation in reactor projects.
> A workaround is to exclude those java files from the compilation process, but 
> that's really not a good idea.



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

Reply via email to