[
https://issues.apache.org/jira/browse/MCLEAN-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16225605#comment-16225605
]
Robert Scholte commented on MCLEAN-79:
--------------------------------------
Switching between branches, interesting... although I think that a {{clean}}
makes sense here, I would expect that some issues are already solved.
- Latest maven-compiler-plugin should do a 1:1 check and if there's a
difference, it should clear the target/classes and recompile everything again.
And that should cause the regeneration of the jar.
- I can imagine that resources are not taken into consideration.
- The maven-compiler-plugin should know all previous arguments used to compile.
If one of them is changed (e.g source/target) everything should be recompiled.
> Partial Clean + Configurable Selectors
> --------------------------------------
>
> Key: MCLEAN-79
> URL: https://issues.apache.org/jira/browse/MCLEAN-79
> Project: Maven Clean Plugin
> Issue Type: New Feature
> Affects Versions: 3.0.0
> Reporter: Matthew Ouyang
> Labels: features
> Attachments: clean-partial.patch
>
>
> Partial cleanup would be useful in situations where source files are deleted
> or changing between feature branches (which also can result in deleted source
> files). This would eliminate the need to do a full clean.
> Looking for feedback on provided patch. To enable this, Selectors need to be
> configurable + some POC implementations (IdentitySelector, JavaSelector) have
> between provided. The patch also includes a page that describes the new
> feature in more detail, and Selectors have been placed in a separate package
> (now that there is more than one implementation).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)