You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/01/09 12:20:00 UTC
[jira] [Updated] (MCOMPILER-381) Refactoring needed for isDependencyChanged / Using fileExtensions (AbstractCompilerMojo)
[ https://issues.apache.org/jira/browse/MCOMPILER-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MCOMPILER-381:
-------------------------------------
Fix Version/s: (was: 3.9.0)
> Refactoring needed for isDependencyChanged / Using fileExtensions (AbstractCompilerMojo)
> ----------------------------------------------------------------------------------------
>
> Key: MCOMPILER-381
> URL: https://issues.apache.org/jira/browse/MCOMPILER-381
> Project: Maven Compiler Plugin
> Issue Type: Improvement
> Affects Versions: 3.8.1
> Reporter: Karl Heinz Marbaise
> Priority: Minor
>
> The code in the class AbstractCompilerMojo has a method {{isDependencyChanged}} which uses the attribute {{fileExtensions}} which is being changed within the {{isDependencyChanged}} method. This attribute is also being used by the method {{hasNewFile}} which is a kind of confusing (a control via a global variable).
> Furthermore a change in {{isDependencyChanged}} where replacing {{".class"}} with {{"class"}} results in a [fail which is described here|MCOMPILER-379].
> It should be investigated how this code can be made more clear and maybe easier to understand.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)