[
https://issues.apache.org/jira/browse/MSCMPUB-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus closed MSCMPUB-70.
----------------------------------
Fix Version/s: 3.3.1
Resolution: Fixed
Fixed in
https://github.com/apache/maven-scm-publish-plugin/commit/07d07f25e898d0d5b2d11fe4e729985e95d58952.
> Remove include/exclude parameters
> ---------------------------------
>
> Key: MSCMPUB-70
> URL: https://issues.apache.org/jira/browse/MSCMPUB-70
> Project: Maven SCM Publish Plugin
> Issue Type: Improvement
> Affects Versions: 3.3.0
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: 3.3.1
>
>
> The {{publish-scm}} goal has an
> 1. {{includes}}
> (https://github.com/apache/maven-scm-publish-plugin/blob/6e26e03570966a9c65c8cc16d8dc6615777207e2/src/main/java/org/apache/maven/plugins/scmpublish/AbstractScmPublishMojo.java#L152)
> and
> 2. {{excludes}}
> (https://github.com/apache/maven-scm-publish-plugin/blob/6e26e03570966a9c65c8cc16d8dc6615777207e2/src/main/java/org/apache/maven/plugins/scmpublish/AbstractScmPublishMojo.java#L146)
> parameter which are passed as {{FileSet}}
> (https://github.com/apache/maven-scm-publish-plugin/blob/6e26e03570966a9c65c8cc16d8dc6615777207e2/src/main/java/org/apache/maven/plugins/scmpublish/AbstractScmPublishMojo.java#L381)
> to either
> {{ScmProvider.checkout(...)}} or {{ScmProvider.update(...)}}.
> I have quickly checked the implementation of SVN and Git and it seems that
> only the basedir of the {{ScmFileSet}} is ever considered for checkout and
> update.
> For the actual commit (delete, add or update) they are not used at all.
> So to me it seems that those parameters never have any effect and should be
> removed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)